Skip to content

refactor: switch BooleanBufferBuilder to NullBufferBuilder in functions-nested functions #14201

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

Merged

Conversation

Chen-Yuan-Lai
Copy link
Contributor

…ns-nested functions

Which issue does this PR close?

Closes #14115 .

Rationale for this change

As mentioned in #14115 , several examples in DataFusion codebase still using BooleanBufferBuilder rather than NullBufferBuilder, they should be replaced with NullBufferBuilder for optimization.

What changes are included in this PR?

Functions replaced with NullBufferBuilder:

  • concat
  • range
  • resize
  • replace

Are these changes tested?

Are there any user-facing changes?

Copy link
Contributor

@jayzhan211 jayzhan211 left a comment

Choose a reason for hiding this comment

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

@jayzhan211 jayzhan211 merged commit 98e8942 into apache:main Jan 20, 2025
25 checks passed
@Chen-Yuan-Lai Chen-Yuan-Lai deleted the use_NullBufferBuilder_functions-nested branch February 5, 2025 07:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use NullBufferBuilder instead of BooleanBufferBuilder for creating Null masks
2 participants