Skip to content

Comments

Clamp early aggregation emit to the sort boundary when using partial group ordering#20446

Open
jackkleeman wants to merge 2 commits intoapache:mainfrom
restatedev:issue-20445
Open

Clamp early aggregation emit to the sort boundary when using partial group ordering#20446
jackkleeman wants to merge 2 commits intoapache:mainfrom
restatedev:issue-20445

Conversation

@jackkleeman
Copy link
Contributor

Which issue does this PR close?

What changes are included in this PR?

Fix a panic on early emit with partial sort aggregations, by clamping our emit point to the sort boundary

Are these changes tested?

Yes

Are there any user-facing changes?

No

@github-actions github-actions bot added the physical-plan Changes to the physical-plan crate label Feb 20, 2026
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.

[Bug] [v52 regression] Panic in GroupOrderingPartial::remove_groups when Partial aggregate with PartiallySorted hits memory pressure

1 participant