Skip to content

Add append_n method to FixedSizeBinaryDictionaryBuilder#8498

Merged
alamb merged 5 commits into
apache:mainfrom
albertlockett:albert/8497
Sep 30, 2025
Merged

Add append_n method to FixedSizeBinaryDictionaryBuilder#8498
alamb merged 5 commits into
apache:mainfrom
albertlockett:albert/8497

Conversation

@albertlockett
Copy link
Copy Markdown
Contributor

@albertlockett albertlockett commented Sep 29, 2025

Which issue does this PR close?

Rationale for this change

Adds a helpful method for the same value multiple times, which also avoids multiple key lookups which could be a slight performance win.

What changes are included in this PR?

Adds the helpful append_n method to FixedSizeBinaryDictionaryBuilder.

Are these changes tested?

Yes, I added unit tests covering the changes

Are there any user-facing changes?

Yes, the new method is public

@albertlockett albertlockett changed the title Add append_n method to FixedSizeBinaryDictionaryBuilder Add append_n method to `FixedSizeBinaryDictionaryBuilder Sep 29, 2025
@albertlockett albertlockett changed the title Add append_n method to `FixedSizeBinaryDictionaryBuilder Add append_n method to FixedSizeBinaryDictionaryBuilder Sep 29, 2025
Comment thread arrow-array/src/builder/fixed_size_binary_dictionary_builder.rs Outdated
Comment thread arrow-array/src/builder/fixed_size_binary_dictionary_builder.rs
Co-authored-by: Matthijs Brobbel <m1brobbel@gmail.com>
@github-actions github-actions Bot added the arrow Changes to the arrow crate label Sep 29, 2025
Copy link
Copy Markdown
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

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

Thank you @albertlockett and @mbrobbel

@alamb alamb merged commit 19379e1 into apache:main Sep 30, 2025
26 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

Development

Successfully merging this pull request may close these issues.

Add append_n method to FixedSizeBinaryDictionaryBuilder

3 participants