Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Make input_sorted_by_group_key tolerate unrelated single value columns outside the group key prefix #171

Merged
merged 3 commits into from
Oct 25, 2024

Conversation

srh
Copy link
Member

@srh srh commented Oct 24, 2024

This is a bugfix in input_sorted_by_group_key. Currently, when considering whether to replace hash aggregation with inplace aggregation, it is the case that if there are single value columns in the sort key that aren't part of the prefix of the sort key that the group key matches, we will fail to use Inplace aggregation.

This also implements a basic output_hints() implementation for SortExec, but (while generally useful) that is for the sake of the test that was written.

@srh srh force-pushed the fix-input_sorted_by_group_key branch from 1d39e45 to a970b91 Compare October 24, 2024 00:40
@srh srh merged commit b3acc9f into cube Oct 25, 2024
13 of 15 checks passed
@srh srh deleted the fix-input_sorted_by_group_key branch October 25, 2024 22:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants