Skip to content

Conversation

@avantgardnerio
Copy link
Contributor

Which issue does this PR close?

Rationale for this change

Solve issue 16837

What changes are included in this PR?

Pass full datatype though to output in PrimitiveHashTable

Are these changes tested?

A unit test was added. It failed, then it didn't.

Are there any user-facing changes?

More queries should work.

@avantgardnerio avantgardnerio self-assigned this Jul 29, 2025
@github-actions github-actions bot added the physical-plan Changes to the physical-plan crate label Jul 29, 2025
@alamb
Copy link
Contributor

alamb commented Jul 30, 2025

@niebayes can you please help review this PR and ensure it solves your issue?

@alamb alamb changed the title Fix 16837 Fix [Bug] Aggregate + TopK fails when asc = false Jul 30, 2025
Copy link
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.

Thank you @avantgardnerio -- this looks good to me

@avantgardnerio avantgardnerio merged commit 5cdb7a2 into apache:main Jul 30, 2025
28 checks passed
@avantgardnerio avantgardnerio deleted the bg_16837 branch July 30, 2025 20:19
@niebayes
Copy link
Contributor

@avantgardnerio @alamb Thank you. I've confirmed this path solved the issue.

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] Aggregate + TopK fails when asc = false

3 participants