Skip to content

refactor: switch BooleanBufferBuilder to NullBufferBuilder in single_group_by#14360

Merged
alamb merged 2 commits intoapache:mainfrom
Chen-Yuan-Lai:use_NullBufferBuilder_in_single_group_by
Jan 29, 2025
Merged

refactor: switch BooleanBufferBuilder to NullBufferBuilder in single_group_by#14360
alamb merged 2 commits intoapache:mainfrom
Chen-Yuan-Lai:use_NullBufferBuilder_in_single_group_by

Conversation

@Chen-Yuan-Lai
Copy link
Copy Markdown
Contributor

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?

Are these changes tested?

Are there any user-facing changes?

@github-actions github-actions bot added the physical-expr Changes to the physical-expr crates label Jan 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.

Thanks (again) @Chen-Yuan-Lai ❤️

Comment thread datafusion/physical-plan/src/aggregates/group_values/single_group_by/primitive.rs Outdated
@alamb alamb merged commit 60c0fb8 into apache:main Jan 29, 2025
@Chen-Yuan-Lai Chen-Yuan-Lai deleted the use_NullBufferBuilder_in_single_group_by branch February 5, 2025 07:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

physical-expr Changes to the physical-expr crates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use NullBufferBuilder instead of BooleanBufferBuilder for creating Null masks

2 participants