-
Notifications
You must be signed in to change notification settings - Fork 794
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Creating Non-Nullable Lists with ListBuilder #5330
Comments
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 |
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) |
|
Describe the bug
When I try to write a
non-null List<non-null i32>
to a parquet file, I get an error. Might be related to #385.To Reproduce
Expected behavior
I expect no errors, but instead I get:
The text was updated successfully, but these errors were encountered: