Skip to content
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 and Maps within a Struct #5482

Closed
lasantosr opened this issue Mar 7, 2024 · 1 comment · Fixed by #5483
Closed

Support Creating Non-Nullable Lists and Maps within a Struct #5482

lasantosr opened this issue Mar 7, 2024 · 1 comment · Fixed by #5483
Labels
arrow Changes to the arrow crate enhancement Any new improvement worthy of a entry in the changelog

Comments

@lasantosr
Copy link
Contributor

Describe the bug

When I try to write a Map with non-nullable values into parquet, an error happens. This is similar to #5330.

Also, when I try to write an Struct that contains any List or Map with null able values, the same error happens.

Expected behavior

The data is properly written.

@lasantosr lasantosr added the bug label Mar 7, 2024
@lasantosr lasantosr changed the title Support Creating Non-Nullable Lists with MapBuilder Support Creating Non-Nullable Lists and Maps within a Struct Mar 7, 2024
@tustvold tustvold added enhancement Any new improvement worthy of a entry in the changelog and removed bug labels Mar 7, 2024
tustvold pushed a commit that referenced this issue Mar 8, 2024
…) (#5483)

* Add MapBuilder::with_values_field

* Fix non-nullllable List and Map in StructBuilder
@tustvold tustvold added the arrow Changes to the arrow crate label Mar 15, 2024
@tustvold
Copy link
Contributor

label_issue.py automatically added labels {'arrow'} from #5483

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arrow Changes to the arrow crate enhancement Any new improvement worthy of a entry in the changelog
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants