Skip to content

chore: add count distinct group benchmarks#21575

Merged
alamb merged 13 commits intoapache:mainfrom
coderfender:add_group_benchmarks_count_distinct
Apr 19, 2026
Merged

chore: add count distinct group benchmarks#21575
alamb merged 13 commits intoapache:mainfrom
coderfender:add_group_benchmarks_count_distinct

Conversation

@coderfender
Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Add benchmarks for group accumulators to test : #21561
The implementation forks out based on is_groups_accumulator_supported function call. Once this is merged , we should be able to evaluate group accumulators on count distinct expr

  • Closes #.

Rationale for this change

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

@github-actions github-actions Bot added the functions Changes to functions implementation label Apr 12, 2026
@coderfender coderfender force-pushed the add_group_benchmarks_count_distinct branch from 9413a74 to bacee66 Compare April 12, 2026 18:13
@coderfender coderfender force-pushed the add_group_benchmarks_count_distinct branch from 3abdd0d to 45a19b0 Compare April 12, 2026 18:42
@coderfender coderfender marked this pull request as ready for review April 12, 2026 18:51
@coderfender
Copy link
Copy Markdown
Contributor Author

coderfender commented Apr 12, 2026

@Dandandan , I plan to add benches to help better evaluate group accumulators along with direct clickbench / TPCH queries for implementing group accumulators . Please take a look whenever you get a chance

Comment thread datafusion/functions-aggregate/benches/count_distinct.rs
Comment thread datafusion/functions-aggregate/benches/count_distinct.rs Outdated
Comment thread datafusion/functions-aggregate/benches/count_distinct.rs Outdated
Comment thread datafusion/functions-aggregate/benches/count_distinct.rs Outdated
Comment thread datafusion/functions-aggregate/benches/count_distinct.rs Outdated
Comment thread datafusion/functions-aggregate/benches/count_distinct.rs Outdated
@coderfender coderfender force-pushed the add_group_benchmarks_count_distinct branch from a65b849 to 17dd86b Compare April 16, 2026 05:59
Comment thread datafusion/functions-aggregate/benches/count_distinct.rs
Comment thread datafusion/functions-aggregate/benches/count_distinct.rs
Comment thread datafusion/functions-aggregate/benches/count_distinct.rs
Comment thread datafusion/functions-aggregate/benches/count_distinct.rs
@alamb alamb added this pull request to the merge queue Apr 19, 2026
Merged via the queue into apache:main with commit 9c0edcc Apr 19, 2026
31 checks passed
Rich-T-kid pushed a commit to Rich-T-kid/datafusion that referenced this pull request Apr 21, 2026
## Which issue does this PR close?

Add benchmarks for group accumulators to test :
apache#21561
The implementation forks out based on `is_groups_accumulator_supported`
function call. Once this is merged , we should be able to evaluate group
accumulators on count distinct expr

<!--
We generally require a GitHub issue to be filed for all bug fixes and
enhancements and this helps us generate change logs for our releases.
You can link an issue to this PR using the GitHub syntax. For example
`Closes apache#123` indicates that this PR will close issue apache#123.
-->

- Closes #.

## Rationale for this change

<!--
Why are you proposing this change? If this is already explained clearly
in the issue then this section is not needed.
Explaining clearly why changes are proposed helps reviewers understand
your changes and offer better suggestions for fixes.
-->

## What changes are included in this PR?

<!--
There is no need to duplicate the description in the issue here but it
is sometimes worth providing a summary of the individual changes in this
PR.
-->

## Are these changes tested?

<!--
We typically require tests for all PRs in order to:
1. Prevent the code from being accidentally broken by subsequent changes
2. Serve as another way to document the expected behavior of the code

If tests are not included in your PR, please explain why (for example,
are they covered by existing tests)?
-->

## Are there any user-facing changes?

<!--
If there are user-facing changes then we may require documentation to be
updated before approving the PR.
-->

<!--
If there are any breaking changes to public APIs, please add the `api
change` label.
-->
lyne7-sc pushed a commit to lyne7-sc/datafusion that referenced this pull request Apr 22, 2026
…ache#21561)

## Which issue does this PR close?

Evaluate perf with group accumulators for count distinct 

<!--
We generally require a GitHub issue to be filed for all bug fixes and
enhancements and this helps us generate change logs for our releases.
You can link an issue to this PR using the GitHub syntax. For example
`Closes apache#123` indicates that this PR will close issue apache#123.
-->

- Closes #.

Related : apache#21575 benchmark PR

## Rationale for this change

<!--
Why are you proposing this change? If this is already explained clearly
in the issue then this section is not needed.
Explaining clearly why changes are proposed helps reviewers understand
your changes and offer better suggestions for fixes.
-->

## What changes are included in this PR?

<!--
There is no need to duplicate the description in the issue here but it
is sometimes worth providing a summary of the individual changes in this
PR.
-->

## Are these changes tested?

<!--
We typically require tests for all PRs in order to:
1. Prevent the code from being accidentally broken by subsequent changes
2. Serve as another way to document the expected behavior of the code

If tests are not included in your PR, please explain why (for example,
are they covered by existing tests)?
-->

## Are there any user-facing changes?

<!--
If there are user-facing changes then we may require documentation to be
updated before approving the PR.
-->

<!--
If there are any breaking changes to public APIs, please add the `api
change` label.
-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

functions Changes to functions implementation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants