You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support Creating Non-Nullable Lists with ListBuilder #5330
This is actually a known limitation of ListBuilder, where it can only produce nullable lists. I think there is already an issue about this, but I can't find it.
You will need to use the ListArray constructors, potentially with the components produced by ListBuilder
Edit: the feature is actually pretty straightforward so bashed it out in #5331
changed the title [-]Cannot write parquet file with list of non-nullable item[/-][+]Support Creating Non-Nullable Lists with ListBuilder[/+]on Jan 24, 2024
Activity
tustvold commentedon Jan 24, 2024
This is actually a known limitation of ListBuilder, where it can only produce nullable lists. I think there is already an issue about this, but I can't find it.
You will need to use the ListArray constructors, potentially with the components produced by ListBuilder
Edit: the feature is actually pretty straightforward so bashed it out in #5331
[-]Cannot write parquet file with list of non-nullable item[/-][+]Support Creating Non-Nullable Lists with ListBuilder[/+]Add ListBuilder::with_field (apache#5330)
dvic commentedon Jan 25, 2024
Thanks! I actually just wanted to propose something like this :) (I saw the todo line at https://docs.rs/arrow-array/50.0.0/src/arrow_array/builder/generic_list_builder.rs.html#313)
Add ListBuilder::with_field to support non nullable list fields (#5330)…
tustvold commentedon Mar 1, 2024
label_issue.pyautomatically added labels {'arrow'} from #5331