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 a validity slice access for boolean array builders #4536

Merged

Conversation

ChristianBeilschmidt
Copy link
Contributor

Which issue does this PR close?

Closes #4535.

Rationale for this change

PrimitiveBuilder and GenericByteBuilder provide access to the null buffer bits by offering the method validity_slice.
However, BooleanBuilder lacks this method.

What changes are included in this PR?

I've added the validity_slice method by copying it.

Are there any user-facing changes?

validity_slice of BooleanBuilder is now part of the public API

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.

Makes sense to me

@tustvold tustvold merged commit be8bd13 into apache:master Jul 18, 2023
25 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.

BooleanBuilder: Add validity_slice method for accessing validity bits
3 participants