Execute ClickHouse joins in the shared query DAG - #569
Merged
Merged
Conversation
zzylol
force-pushed
the
feat/unified-clickhouse-temporal-bindings
branch
from
September 10, 2026 14:13
0b30c85 to
de4b712
Compare
zzylol
force-pushed
the
feat/unified-clickhouse-relational-join
branch
2 times, most recently
from
September 10, 2026 14:13
8a176f5 to
d87bfbb
Compare
zzylol
force-pushed
the
feat/unified-clickhouse-temporal-bindings
branch
from
September 10, 2026 14:16
de4b712 to
c24a40f
Compare
zzylol
force-pushed
the
feat/unified-clickhouse-relational-join
branch
from
September 10, 2026 14:16
d87bfbb to
74fa720
Compare
zzylol
force-pushed
the
feat/unified-clickhouse-temporal-bindings
branch
from
September 10, 2026 14:29
c24a40f to
6ca2965
Compare
zzylol
force-pushed
the
feat/unified-clickhouse-relational-join
branch
from
September 10, 2026 14:29
74fa720 to
3b15697
Compare
zzylol
force-pushed
the
feat/unified-clickhouse-temporal-bindings
branch
from
September 10, 2026 14:30
6ca2965 to
63ada7b
Compare
zzylol
force-pushed
the
feat/unified-clickhouse-relational-join
branch
2 times, most recently
from
September 10, 2026 14:35
1582453 to
0642263
Compare
zzylol
force-pushed
the
feat/unified-clickhouse-temporal-bindings
branch
from
September 10, 2026 14:35
63ada7b to
744cee3
Compare
zzylol
changed the base branch from
feat/unified-clickhouse-temporal-bindings
to
feat/unified-clickhouse-query-plan
September 10, 2026 14:36
zzylol
force-pushed
the
feat/unified-clickhouse-temporal-bindings
branch
from
September 10, 2026 14:36
744cee3 to
b70791f
Compare
zzylol
force-pushed
the
feat/unified-clickhouse-relational-join
branch
from
September 10, 2026 14:36
0642263 to
ef763e0
Compare
zzylol
force-pushed
the
feat/unified-clickhouse-query-plan
branch
from
September 10, 2026 14:44
b70791f to
213a3c1
Compare
zzylol
force-pushed
the
feat/unified-clickhouse-relational-join
branch
2 times, most recently
from
September 10, 2026 14:47
bdd39bd to
bf1ba25
Compare
zzylol
force-pushed
the
feat/unified-clickhouse-query-plan
branch
2 times, most recently
from
September 10, 2026 14:51
453c7cc to
35bf3ed
Compare
zzylol
force-pushed
the
feat/unified-clickhouse-relational-join
branch
3 times, most recently
from
September 10, 2026 15:00
168195a to
300d7f0
Compare
zzylol
force-pushed
the
feat/unified-clickhouse-query-plan
branch
from
September 10, 2026 16:17
35bf3ed to
cb8a0f4
Compare
zzylol
force-pushed
the
feat/unified-clickhouse-relational-join
branch
from
September 10, 2026 16:17
300d7f0 to
c752ab4
Compare
zzylol
force-pushed
the
feat/unified-clickhouse-query-plan
branch
from
September 10, 2026 17:09
cb8a0f4 to
353f497
Compare
zzylol
changed the base branch from
feat/unified-clickhouse-query-plan
to
main
September 10, 2026 17:15
zzylol
force-pushed
the
feat/unified-clickhouse-relational-join
branch
from
September 10, 2026 17:18
c752ab4 to
fec0c51
Compare
zzylol
added a commit
that referenced
this pull request
Sep 10, 2026
* Add costed sliding-window materialization layouts (#580) * Execute selected sliding window layouts in workers (#583) * Execute ClickHouse joins in the shared query DAG (#569) * feat(clickhouse): execute SQL joins in the shared query DAG * fix: consume canonical planner lifecycle contract * fix(clickhouse): validate each join input coverage * chore: pin merged planner join contract
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.
ClickHouse ratios and equi-joins whose inputs have selected summaries now execute as an ordinary
RelationalJoinnode in the shared, language-neutralQueryPlanDAG. Both branches referenceSummaryDefinitionIdentries in the authoritative catalog; the runtime reads each summary subtree and combines typed relations before projection.The Planner dependency advances to the current relational IR stack. Unsupported join shapes retain external exact fallback. No ClickHouse plan catalog, sidecar, or
ExecutableQueryPlanis introduced.Validation:
CARGO_INCREMENTAL=0 cargo check -p data_plane --lib -j 1CARGO_INCREMENTAL=0 cargo test -p data_plane --lib asap_clickhouse_query_engine --no-fail-fast -j 1(11 passed)