-
I’m trying to build ListArrays with various combinations of null ability for the outer and inner items, but it seems that the builder functions hardcode the assumption that it’s nullable (eg here ). It seems like I’ll have to drop down to the buffer level, but that’s complicated. Is there an easier way? |
Beta Was this translation helpful? Give feedback.
Answered by
Jefffrey
Feb 9, 2025
Replies: 1 comment
-
This is now possible, can use arrow-rs/arrow-array/src/builder/generic_list_builder.rs Lines 298 to 301 in c245a45 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Jefffrey
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is now possible, can use
GenericListBuilder::with_field()
to override the default field (which sets nullability to true):arrow-rs/arrow-array/src/builder/generic_list_builder.rs
Lines 298 to 301 in c245a45