Multi-stage distributed queries - #106020
Merged
Merged
Conversation
This was referenced Jun 12, 2026
1 task
This was referenced Jun 13, 2026
huldarchen
pushed a commit
to huldarchen/ClickHouse
that referenced
this pull request
Jun 15, 2026
… fixes ASan heap corruption on master"
huldarchen
pushed a commit
to huldarchen/ClickHouse
that referenced
this pull request
Jun 15, 2026
…vert-106020-multistage-distributed Revert "Revert "Multistage distributed queries" (ClickHouse#106020) — fixes ASan heap corruption on master"
This was referenced Jun 15, 2026
groeneai
added a commit
to groeneai/ClickHouse
that referenced
this pull request
Jun 17, 2026
…ted queries) and ClickHouse#107056 The prior CI run executed on a merge-base ~980 commits behind these fixes, so it inherited the master-wide ASan heap corruption from ClickHouse#106020 (segfaults during String serialization in DistributedSink / MergeTask / MergeMutate, STIDs 1288-3bd5, 2046-50c3, 0988-1d81) plus the known-flaky 02865_tcp_proxy_query_packet_validation. Both are fixed on current master. No conflicts; CREATE OR REPLACE size-check changes are unaffected. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
28 tasks
1 task
zvonand
added a commit
to Altinity/ClickHouse
that referenced
this pull request
Jul 21, 2026
Backport of ClickHouse#106020: Multi-stage distributed queries
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Multi-stage distributed query execution: the planner splits the query plan into stages connected by scatter / broadcast / gather / shuffle exchanges and dispatches the plan fragments to worker nodes. The data between stages is streamed via TCP or passed via temporary files in shared object storage, the path supports distributed shuffle and broadcast hash joins, shuffle aggregation, and distributed sort. The feature is experimental and is disabled by default.
Version info
26.6.1.571