Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamGS committed Jan 31, 2025
1 parent 3761ad6 commit 865aa7d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions vortex-array/src/array/struct_/compute/to_arrow.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,12 @@ impl ToArrowFn<StructArray> for StructEncoding {
.names()
.iter()
.zip(field_arrays.iter())
.map(|(name, field_array)| {
.zip(target_fields.iter())
.map(|((name, field_array), target_field)| {
Field::new(
&**name,
field_array.data_type().clone(),
field_array.is_nullable(),
target_field.is_nullable(),
)
})
.map(Arc::new)
Expand Down

0 comments on commit 865aa7d

Please sign in to comment.