Skip to content

Backport #116446 to 26.7: Do not use the distributed-plan Shuffle aggregation when bucket order is promised - #120641

Merged
clickhouse-gh[bot] merged 2 commits into
26.7from
backport/26.7/116446
Sep 17, 2026
Merged

clickhouse-gh[bot] merged 2 commits into
26.7from
backport/26.7/116446

Conversation

@robot-ch-test-poll2

@robot-ch-test-poll2 robot-ch-test-poll2 commented Sep 17, 2026 •

Copy link
Copy Markdown
Contributor

Original pull-request #116446
Cherry-pick pull-request #120638

This pull-request is a last step of an automated backporting.
Treat it as a standard pull-request: look at the checks and resolve conflicts.
Merge it only if you intend to backport changes to the target branch, otherwise just close it.

The PR source

The PR is created in the CI job

Version info

  • Merged into: 26.7.11.14

@robot-ch-test-poll2 robot-ch-test-poll2 added pr-backport Changes, backported to release branch. Do not use manually - automated use only! pr-bugfix Pull request with bugfix, not backported by default labels Sep 17, 2026
@clickhouse-gh

clickhouse-gh Bot commented Sep 17, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [BackportPR], commit [4711577]

Summary: ✅

`Mode: memory-efficient` is printed by `MergingAggregatedStep::describeActions` only from 26.8 on, so
the arming row and the closing boundary row that match `%memory-efficient%` read 0 on this branch and
cannot be satisfied there. Both are dropped along with their two reference lines. The guard's own
coverage is untouched: the rows asserting that `by hash(` is absent under the bucket-order promise and
present without it all pass here.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
@clickhouse-gh
clickhouse-gh Bot merged commit 79343f0 into 26.7 Sep 17, 2026
40 of 41 checks passed
@clickhouse-gh
clickhouse-gh Bot deleted the backport/26.7/116446 branch September 17, 2026 23:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-backport Changes, backported to release branch. Do not use manually - automated use only! pr-bugfix Pull request with bugfix, not backported by default

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants