Skip to content

Commit

Permalink
Update arrow-cast/src/cast.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
tustvold authored Dec 19, 2023
1 parent 5a473e8 commit 07a62e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arrow-cast/src/cast.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1145,7 +1145,7 @@ pub fn cast_with_options(
}
}
(Struct(_), Struct(to_fields)) => {
let array = array.as_any().downcast_ref::<StructArray>().unwrap();
let array = array.as_struct();
let fields = array
.columns()
.iter()
Expand Down

0 comments on commit 07a62e5

Please sign in to comment.