Skip to content

Conversation

@hareshkh
Copy link
Contributor

Which issue does this PR close?

  • Closes #.

Rationale for this change

If we always set the probe to locked, we let go of the ability to skip partial aggregation during processing a future record batch when the ratio does meet the required threshold to skip.

What changes are included in this PR?

Lock the aggregation probe only if we are skipping not when just the number of rows threshold is met.

Are these changes tested?

This change should be covered by existing aggregate tests.

Are there any user-facing changes?

No

@github-actions github-actions bot added the physical-plan Changes to the physical-plan crate label Nov 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

physical-plan Changes to the physical-plan crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant