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

Add MapBuilder::with_values_field to support non-nullable values (#5482) #5483

Merged
merged 2 commits into from
Mar 8, 2024

Conversation

lasantosr
Copy link
Contributor

@lasantosr lasantosr commented Mar 7, 2024

Which issue does this PR close?

Closes #2119 and closes #5482.

Rationale for this change

This change lets users override the Field used by values of MapBuilder, allowing overriding the nullability, name, and other metadata. In a similar way than #5331 with lists.

The StructBuilder was also updated to properly set the nullability of List and Map values.

What changes are included in this PR?

Are there any user-facing changes?

@github-actions github-actions bot added the arrow Changes to the arrow crate label Mar 7, 2024
@tustvold tustvold merged commit 82fc0df into apache:master Mar 8, 2024
27 checks passed
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
Projects
None yet
2 participants