Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
andygrove committed Nov 11, 2024
1 parent 77e5f03 commit f867c04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion native/spark-expr/src/cast.rs
Original file line number Diff line number Diff line change
Expand Up @@ -830,7 +830,7 @@ fn cast_struct_to_struct(
allow_incompat: bool,
) -> DataFusionResult<ArrayRef> {
match (from_type, to_type) {
(DataType::Struct(from_fields), DataType::Struct(to_fields)) => {
(DataType::Struct(_), DataType::Struct(to_fields)) => {
let mut cast_fields: Vec<(Arc<Field>, ArrayRef)> = Vec::with_capacity(to_fields.len());
for i in 0..to_fields.len() {
let cast_field = cast_array(
Expand Down

0 comments on commit f867c04

Please sign in to comment.