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

fix: use the values builder capacity for the hash map in PrimitiveDictionaryBuilder::new_from_builders #7012

Conversation

rluvaton
Copy link
Contributor

@rluvaton rluvaton commented Jan 23, 2025

Which issue does this PR close?

Closes #7011

Rationale for this change

See issue

Are there any user-facing changes?

Not really

@github-actions github-actions bot added the arrow Changes to the arrow crate label Jan 23, 2025
@tustvold
Copy link
Contributor

As mentioned on the ticket, I think we should just fix the from builder constructors. I don't think we should be looking to plumb all the PrimitiveBuilder options through

@rluvaton rluvaton changed the title feat: allow setting custom value data type in PrimitiveDictionaryBuilder fix: use the values builder capacity for the hash map in PrimitiveDictionaryBuilder::new_from_builders Jan 23, 2025
@rluvaton
Copy link
Contributor Author

@tustvold fixed

Copy link
Contributor

@tustvold tustvold left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Short and sweet ❤️

@tustvold tustvold merged commit f59b94f into apache:main Jan 25, 2025
26 checks passed
@rluvaton rluvaton deleted the allow-creating-dictionary-with-specific-value-data-type branch January 25, 2025 16:27
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
Development

Successfully merging this pull request may close these issues.

PrimitiveDictionaryBuilder with specific value data type and capacity
2 participants