Skip to content

Conversation

@feiniaofeiafei
Copy link
Contributor

This pull request adds a session variable agg_shuffle_key_opt_threshold to control the choose_one_shuffle_key optimization. Its default value is 5, meaning the optimization is only applied when the number of GROUP BY keys exceeds 5.

@hello-stephen
Copy link
Contributor

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.

Please clearly describe your PR:

  1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
  2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
  3. What features were added. Why was this function added?
  4. Which code was refactored and why was this part of the code refactored?
  5. Which functions were optimized and what is the difference before and after the optimization?

@feiniaofeiafei feiniaofeiafei changed the title make_agg_shuffle_one_key_configurable make agg shuffle one key configurable Jan 22, 2026
@zclllyybb zclllyybb merged commit 76b5e1d into apache:tpc_preview4 Jan 23, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants