Skip to content

Fix LOGICAL_ERROR planning a materialized CTE referenced multiple times over a Distributed table - #108924

Merged
alexey-milovidov merged 4 commits into
ClickHouse:masterfrom
groeneai:groeneai/fix-materialized-cte-distributed-shard-plan
Aug 1, 2026
Merged

alexey-milovidov merged 4 commits into
ClickHouse:masterfrom
groeneai:groeneai/fix-materialized-cte-distributed-shard-plan

Conversation

@groeneai

@groeneai groeneai commented Jun 30, 2026 •

Copy link
Copy Markdown
Collaborator

No related open issue found (surfaced by the AST fuzzer).

Changelog category (leave one):

  • Bug Fix (user-visible misbehavior in an official stable release)

Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):

Fix a LOGICAL_ERROR (CTE '...' does not have query tree, but was not planned yet) when a MATERIALIZED CTE is referenced from more than one join-tree position (for example two joined subqueries, or a joined subquery plus a scalar subquery in WHERE) in a query over a Distributed table. The query now executes instead of raising the exception (it aborted the server in debug/sanitizer builds).

Description

Found by the AST fuzzer: STID 0250-35b7, check AST fuzzer (amd_debug).
Report: https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=102866&sha=f405a561e225d69a9533751eb4f099372847da83&name_0=PR&name_1=AST%20fuzzer%20%28amd_debug%29
(The fuzzer surfaced this on an unrelated PR's run; the bug is pre-existing on master.)

Reproducer (2-shard cluster):

SET enable_analyzer = 1, enable_materialized_cte = 1;
CREATE TABLE local_t (x UInt64) ENGINE = MergeTree ORDER BY x;
CREATE TABLE dist_t AS local_t ENGINE = Distributed(test_cluster_two_shards, currentDatabase(), local_t);
INSERT INTO local_t SELECT number FROM numbers(100);

WITH t AS MATERIALIZED (SELECT number AS c FROM numbers(50))
SELECT count() FROM dist_t
JOIN (SELECT c FROM t) AS a2 ON dist_t.x = a2.c
WHERE x = (SELECT min(c) FROM t);

Root cause is in collectMaterializedCTEs. On a per-shard local plan (createLocalPlan, to_stage = WithMergeableState) the CTE references resolve by name to the CTE's temporary StorageMemory, so the TableNode carries the shared MaterializedCTE (picked up via extractCTE) but has no subquery child (isMaterializedCTE() == false). The initiator materializes the CTE once and ships the temporary table to the shard as an external table; the shard reads it directly.

These subquery-less references were still collected, and addBuildSubqueriesForMaterializedCTEsIfNeeded then either threw (no subquery to build the materialization from) or wrapped the read in a materialization step that materializes nothing.

Fix: collectMaterializedCTEs no longer collects a reference that has no subquery and is not plan-backed. References that still carry a subquery, or whose CTE already has a plan (the forceMaterializeCTE path for IN-set subqueries), are collected and gated exactly as before, so CTE ordering and the materialization gate are unchanged. The LOGICAL_ERROR guard in the consumer is kept and now only fires on a genuinely invalid state.

Regression cases added to 04036_materialized_cte_distributed_race.

@groeneai

Copy link
Copy Markdown
Collaborator Author
Pre-PR validation gate (click to expand)
# Question Answer
a Deterministic repro? Yes. On a 2-shard cluster, WITH t AS MATERIALIZED (SELECT number AS c FROM numbers(50)) SELECT count() FROM dist_t JOIN (SELECT c FROM t) AS a2 ON dist_t.x=a2.c WHERE x=(SELECT min(c) FROM t) aborts every time with the target LOGICAL_ERROR.
b Root cause explained? Yes. On the per-shard local plan (createLocalPlan -> InterpreterSelectQueryAnalyzer -> Planner::buildPlanForQueryNode), collectMaterializedCTEs selects a CTE reference resolved to the temp StorageMemory by name with no subquery (isMaterializedCTE()==false). addBuildSubqueriesForMaterializedCTEsIfNeeded then tries to build a materialization plan from a subquery that does not exist and throws. The CTE is already materialized by the initiator; the shard only reads it by name.
c Fix matches root cause? Yes. The subquery-less read-by-name reference is skipped (not built) on the shard plan, and collectMaterializedCTEs prefers a subquery-bearing representative when both forms exist. This directly targets the mechanism in (b), not a symptom.
d Test intent preserved / new tests added? Yes. Added three regression cases to 04036_materialized_cte_distributed_race covering the distinct multi-reference shapes (two JOIN subqueries; JOIN subquery + scalar subquery in WHERE x2). The existing cases in that test are unchanged and still pass.
e Both directions demonstrated? Yes. Without the fix the updated test fails at the first new query with LOGICAL_ERROR ... does not have query tree (debug binary built from the same tree); with the fix it passes (100 100 100 2 100 98).
f Fix is general across code paths? Yes. The fix is at the single consumer (addBuildSubqueriesForMaterializedCTEsIfNeeded) plus the single collector (collectMaterializedCTEs) that every materialized-CTE plan path goes through; both the local-shard and remote-shard dispatch paths and the build_logical_plan serialize path were exercised. Not a point patch of one query shape.
g Fix generalizes across inputs (params/datatypes/wrappers)? Yes. Verified across reference shapes (two joins; comma/CROSS/INNER join; scalar subquery in WHERE; the original fuzzer query with INTERSECT/PASTE JOIN/nested scalar subqueries) and across prefer_localhost_replica 0/1 and serialize_query_plan 0/1. The fix keys on "reference carries no subquery", which is datatype-independent.
h Backward compatible? (maintainer-approved exception only) Yes. No setting default, on-disk/wire format, or validation change. A query that previously aborted now executes and returns the correct result; nothing that previously succeeded changes behavior.
i Invariants and contracts preserved? Yes. The materialization-gating contract is upheld: skipping a read-by-name reference relies on the ancestor/initiator plan having materialized the CTE, and ReadFromMemoryStorageStep's is_built fail-fast still aborts loudly if a read is ever genuinely ungated. Correctness validated by value-exact comparison (DISTINCT/min/max/uniqExact) of distributed vs equivalent local-table results.

Session id: cron:clickhouse-worker-slot-8:20260630-101200

@groeneai

Copy link
Copy Markdown
Collaborator Author

cc @novikd @KochetovNicolai — could you review this? On a per-shard local plan, a materialized-CTE reference can resolve to the temp StorageMemory by name with no subquery; addBuildSubqueriesForMaterializedCTEsIfNeeded then threw LOGICAL_ERROR ... does not have query tree. The fix skips such read-by-name references (the CTE is materialized by the initiator and read by name on shards) and makes collectMaterializedCTEs prefer a subquery-bearing representative.

@alexey-milovidov alexey-milovidov added the can be tested Allows running workflows for external contributors label Jun 30, 2026
@clickhouse-gh

clickhouse-gh Bot commented Jun 30, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [d5b213b]

Summary: ✅


AI Review

Summary

This PR narrows collectMaterializedCTEs so shard-local TableNodes that resolve a materialized CTE by temporary StorageMemory name are no longer treated as local materialization sites. After tracing that change through TableNode/MaterializedCTE ownership, the delayed materialization steps, and the distributed external-table send path, I did not find a remaining correctness, safety, or contract issue in the current patch.

Final Verdict
  • Status: ✅ Approve

@clickhouse-gh clickhouse-gh Bot added the pr-bugfix Pull request with bugfix, not backported by default label Jun 30, 2026
@novikd novikd self-assigned this Jun 30, 2026
Comment thread src/Planner/CollectMaterializedCTE.cpp Outdated
/// directly to the temp storage by name (e.g. on a per-shard local plan) carries the
/// `MaterializedCTE` but no subquery. Prefer a subquery-bearing node as the representative
/// so `addBuildSubqueriesForMaterializedCTEsIfNeeded` can build the plan.
if (!inserted && !it->second.table_node->as<TableNode>()->isMaterializedCTE() && table_node->isMaterializedCTE())

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

!it->second.table_node->as<TableNode>() is always false

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right, removed. Within one query tree every reference to a CTE resolves to a node that carries the subquery, so the swap could never fire. The new condition keys on "no subquery and no plan" to skip the read-by-name shard reference instead.

Comment thread src/Planner/Planner.cpp
{
auto cte_subquery = cte_table_node->getMaterializedCTESubquery();
if (!cte_subquery)
throw Exception(ErrorCodes::LOGICAL_ERROR,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@groeneai you just removed exception and did not fix anything

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are right, that was a band-aid. Reverted the continue; the LOGICAL_ERROR guard is back.

The real bug is in collectMaterializedCTEs. On a per-shard local plan (createLocalPlan, to_stage = WithMergeableState) the CTE reference resolves by name to the temp StorageMemory, so the TableNode carries the MaterializedCTE (via extractCTE) but has no subquery. The initiator materializes the CTE once and ships the temp table to the shard as an external table, so the shard must read it directly, not materialize it. Collecting that reference is what produced the unbuildable state the guard caught (and, when it did not throw, an empty materializing step around a read with no plan).

Fix: collectMaterializedCTEs skips a reference that has no subquery and is not plan-backed. Subquery-bearing references, and references whose CTE already has a plan (the forceMaterializeCTE IN-set path), are collected and gated as before, so ordering and the gate are unchanged. The guard stays and now only fires on a genuinely invalid state.

Verified: the reproducers no longer abort and return correct results (distributed == 2x local on 2 shards) across prefer_localhost_replica 0/1 and serialize_query_plan 0/1; non-distributed materialized CTEs are unaffected.

…es over a Distributed table

When a MATERIALIZED CTE is referenced from more than one join-tree
position over a Distributed table, planning raised
"CTE '...' does not have query tree, but was not planned yet"
(a LOGICAL_ERROR; aborts the server in debug/sanitizer builds).

Root cause is in collectMaterializedCTEs. On a per-shard local plan
(createLocalPlan, to_stage = WithMergeableState) the CTE references
resolve by name to the CTE's temporary StorageMemory, so the TableNode
carries the shared MaterializedCTE (TableNode picks it up via
extractCTE) but has no subquery child (isMaterializedCTE() == false).
The initiator materializes the CTE once and ships the temporary table
to the shard as an external table, so the shard must read it directly.

collectMaterializedCTEs collected these subquery-less references and
addBuildSubqueriesForMaterializedCTEsIfNeeded then either threw (no
subquery to build a materialization plan from) or, worse, wrapped the
read in an empty materialization step that materializes nothing - the
read only happened to work because the initiator had already populated
the table on a single node.

Fix: collectMaterializedCTEs no longer collects a reference that has no
subquery and is not plan-backed. Such a reference is a read-by-name of a
temp table the initiator owns; it has nothing to materialize and is read
directly. References that still carry a subquery, or whose CTE already
has a plan (e.g. the forceMaterializeCTE path for IN-set subqueries), are
collected and gated as before, so multi-level CTE ordering and the
materialization gate are unchanged. The LOGICAL_ERROR guard in
addBuildSubqueriesForMaterializedCTEsIfNeeded is kept: it now only fires
on a genuinely invalid state.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@groeneai
groeneai force-pushed the groeneai/fix-materialized-cte-distributed-shard-plan branch from 19b3721 to 30adf5a Compare June 30, 2026 16:01
@groeneai

Copy link
Copy Markdown
Collaborator Author

Updated after reworking the fix (root cause in collectMaterializedCTEs, not the consumer).

Pre-PR validation gate (click to expand)
# Question Answer
a Deterministic repro? Yes. On a 2-shard cluster, WITH t AS MATERIALIZED (SELECT number AS c FROM numbers(50)) SELECT count() FROM dist_t JOIN (SELECT c FROM t) AS a2 ON dist_t.x=a2.c WHERE x=(SELECT min(c) FROM t) aborts every time on a debug build (LOGICAL_ERROR -> SIGABRT).
b Root cause explained? Yes. On a per-shard local plan (createLocalPlan, to_stage=WithMergeableState) the CTE resolves by name to the temp StorageMemory: the TableNode carries the MaterializedCTE (via extractCTE) but has no subquery. The initiator materializes once and ships the temp table to the shard as an external table. collectMaterializedCTEs still collected that read-by-name reference, and addBuildSubqueriesForMaterializedCTEsIfNeeded had no subquery to build from -> threw.
c Fix matches root cause? Yes. collectMaterializedCTEs no longer collects a reference that has no subquery and is not plan-backed (a read-by-name of the initiator-owned temp table). This removes the bad input at the source rather than silencing the guard, which is restored.
d Test intent preserved / new tests added? Yes. Three regression cases added to 04036_materialized_cte_distributed_race (two JOIN subqueries; JOIN subquery + scalar subquery in WHERE x2). Existing cases unchanged and still pass. No assertion weakened.
e Both directions demonstrated? Yes. Without the fix the new cases abort the server with the LOGICAL_ERROR; with the fix they return 100 100 100 2 100 98 (matches .reference) and the server stays alive.
f Fix is general across code paths? Yes. The change is in the single collector that every materialized-CTE plan path goes through. Local-shard and remote-shard (serialize_query_plan) dispatch and the forceMaterializeCTE IN-set path were all exercised. The EXPLAIN no longer contains an empty materializing step on the shard branches.
g Fix generalizes across inputs? Yes. Verified across reference shapes (two joins; scalar subquery in WHERE; the original fuzzer query) and across prefer_localhost_replica 0/1 and serialize_query_plan 0/1. The condition keys on "no subquery and no plan", which is datatype-independent.
h Backward compatible? Yes. No setting, on-disk/wire format, or validation change. A query that previously aborted now executes correctly; nothing that previously succeeded changes.
i Invariants and contracts preserved? Yes. CTE level/dependency ordering is preserved (the same predicate gates both enter and leave traversals). Subquery-bearing and already-planned references are collected and gated exactly as before, so the MaterializingCTEsStep gate and the is_built fail-fast in ReadFromMemoryStorageStep are unchanged. The consumer LOGICAL_ERROR guard is kept and now only fires on a genuinely invalid state.

Session id: cron:clickhouse-worker-slot-0:20260630-150400

@groeneai

Copy link
Copy Markdown
Collaborator Author

CI finish ledger — 30adf5a

Every failure below has an owner: a fixing PR (ours or external), or a full-effort fix task whose fixing-PR link will be posted here when it opens. Only CH Inc sync is exempt.

Check / test Reason Owner / fixing PR
Unit tests (tsan, function_prop_fuzzer) / FunctionsStress reinterpret(a, DateTime64(6)) function-property fuzzer (reinterpret to DateTime64 with different scale) #108878 (ours, open)
Stress test (amd_tsan) / Logical error "Thread is already attached to a group" (STID 4298-42a4) trunk thread-group LOGICAL_ERROR #108887 (ours, open)
Stress test (amd_asan_ubsan) / Hung check failed, possible deadlock found deadlock (chronic hung-check family) #108212 (ours, merged) / #105905 (ours, open)
Integration tests (arm_binary, distributed plan, 2/4) / test_modify_column_comment_only_on_cluster flaky (6 unrelated PRs / 0 master / 30d; DDL-worker propagation timing) a fix task is created (investigating at full effort — fixing PR link to follow here)

None of these are caused by this PR (a focused CollectMaterializedCTE.cpp planner fix + stateless regression test for the materialized-CTE-over-Distributed LOGICAL_ERROR). CI fully finished (Finish Workflow + Mergeable Check complete, no checks pending).

Session id: cron:our-pr-ci-monitor:20260630-183000

@groeneai

Copy link
Copy Markdown
Collaborator Author

Fixing PR for the test_modify_column_comment_only_on_cluster flaky (surfaced on this PR's Integration tests (arm_binary, distributed plan) run) created: #108983. It is a test-only DDL-propagation convergence fix, unrelated to this PR's materialized-CTE change.

@groeneai

Copy link
Copy Markdown
Collaborator Author

CI finish ledger — 30adf5a

Every failure below has an owner: a fixing PR (ours or external), or the private sync check. No PR-caused failures (this PR's diff is src/Planner/CollectMaterializedCTE.cpp + src/Planner/Planner.cpp + a stateless test for the materialized-CTE-over-Distributed LOGICAL_ERROR fix).

Check / test Reason Owner / fixing PR
Unit tests (tsan, function_prop_fuzzer) / FunctionsStress.stress reinterpret(a, 'DateTime64(6)') returns DateTime64 instead of DateTime64(6) (Code 117 INCORRECT_DATA) — exactly the reinterpret-to-DateTime64-with-different-scale bug #108878 (ours, open)
Integration tests (arm_binary, distributed plan, 2/4) / test_modify_column_comment_only_on_cluster flaky DDL-worker metadata-propagation race (SHOW CREATE read before ON CLUSTER ALTER applied; 0 master, recurring across unrelated PRs) #108983 (ours, open)
Stress test (amd_tsan) / Logical error 'Thread is already attached to a group' (STID 4298-42a4) double-attach in ~CallbackRunnerTask when scheduling fails on a group-owning thread (chronic, not PR-caused) #108887 (ours, open)
Stress test (amd_asan_ubsan) / Hung check failed, possible deadlock found deadlock (chronic, not PR-caused) #108212 (ours, merged) / #105905 (ours, open)
Finish Workflow / Mergeable Check aggregator rollups of the reds above (no independent failure)
CH Inc sync - CH Inc sync (private, not actionable)

A materialized-CTE planner fix cannot cause a reinterpret-scale function bug, a DDL-propagation race, a thread-group double-attach, or a TSan stress-shutdown deadlock; all are pre-existing trunk signatures with owning fix PRs.

Session id: cron:our-pr-ci-monitor:20260630-203000

@groeneai

Copy link
Copy Markdown
Collaborator Author

CI finish ledger — f54e395

Every failure below has an owner: a fixing PR (ours or external), or a full-effort fix task
whose fixing-PR link will be posted here when it opens. Only CH Inc sync is exempt.

Check / test Reason Owner / fixing PR
Stateless tests (amd_llvm_coverage, ParallelReplicas, s3 storage, parallel) / 01666_merge_tree_max_query_limit flaky, trunk — under parallel replicas one statement becomes several reads of the same table on this server, each with a different query id, so the long-running holder query competes against itself for the single max_concurrent_queries slot and is rejected instead of holding it #112385 (ours, open)

The earlier partial fix #111528 (pin max_threads = 1 on the holder query) does not cover the
parallel-replicas route, so #112385 disables parallel replicas for this test outright.

Session id: cron:our-pr-ci-monitor:20260729-103000

@clickhouse-gh

clickhouse-gh Bot commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Dear @novikd, you haven't been active on this PR for 30 days. You will be unassigned. Will you continue working on it? If so, please feel free to reassign yourself.

@alexey-milovidov alexey-milovidov left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@alexey-milovidov alexey-milovidov self-assigned this Jul 31, 2026
@alexey-milovidov

Copy link
Copy Markdown
Member

@groeneai, we have fixed 01666_merge_tree_max_query_limit, please update the branch.

…/fix-materialized-cte-distributed-shard-plan
@groeneai

Copy link
Copy Markdown
Collaborator Author

Merged master into the branch. New head is 0f7fe635a9a7a8.

I checked that #112385 was really what this branch was missing rather than assuming it: its fix
commit 5fcce5de34a3 was not an ancestor of the previous head f54e3950, and after the merge
01666_merge_tree_max_query_limit.sh here is byte-identical to master's fixed version. It passes
5 runs out of 5, so the only failure the last CI ledger owned is gone.

I rebuilt as well, because the merge brings in the TableNode to ITableExpressionNode
base-class change that this fix touches. The build is clean and
04036_materialized_cte_distributed_race returns the expected 100 100 100 2 100 98, 50 runs
out of 50 with settings randomization on. The diff against master is unchanged at three files,
+38/-3.

@groeneai

groeneai commented Aug 1, 2026

Copy link
Copy Markdown
Collaborator Author

CI finish ledger - 0f7fe63

Every failure below has an owner: a fixing PR (ours or external), or a full-effort fix task
whose fixing-PR link will be posted here when it opens. Only CH Inc sync is exempt.

Check / test Reason Owner / fixing PR
Stateless tests (arm_binary, parallel) / 04611_join_runtime_filters_index_analysis_skip_index flaky under settings randomization; the runner reproduced it 115/115 with the same randomized settings and 0/156 without fixing PR #111691 (external, merged 2026-07-31T20:56Z). This build predates it: the join_runtime_filter_min_probe_rows pin is absent from the test file at this commit and present on master.
Fast test (arm_darwin) the job is killed mid-step at ~32 min, so the Run step never completes and no test row reaches CIDB a fix task is moved to pending (investigating at full effort - fixing-PR link to follow here)

Notes. Neither failure is caused by this PR, whose diff is one planner file plus its own stateless
regression test. I have deliberately not merged master to pick up #111691: it is an external
test-only settings pin for a failure already shown not to be PR-caused, so a merge would buy no
signal on this diff while re-running all 174 checks on an already approved PR. The branch will pick
it up at its next legitimate push. The arm_darwin job at this commit already contains #112267, so
that fix is not linked as the owner here.

Session id: cron:our-pr-ci-monitor:20260801-093000

@clickhouse-gh

clickhouse-gh Bot commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

LLVM Coverage Report

Metric Baseline Current Δ
Lines 86.50% 86.50% +0.00%
Functions 91.90% 91.90% +0.00%
Branches 78.70% 78.70% +0.00%

Changed lines: Changed C/C++ lines covered: 11/11 (100.00%) · Uncovered code

Full report · Diff report

@alexey-milovidov
alexey-milovidov added this pull request to the merge queue Aug 1, 2026
Merged via the queue into ClickHouse:master with commit 48792e4 Aug 1, 2026
178 checks passed
@robot-clickhouse-ci-1 robot-clickhouse-ci-1 added the pr-synced-to-cloud The PR is synced to the cloud repo label Aug 1, 2026
groeneai added a commit to groeneai/ClickHouse that referenced this pull request Aug 19, 2026
An IN-set pipeline built during index analysis runs standalone under its own
CompletedPipelineExecutor, so no DelayedPortsProcessor from any other plan can gate
its readers. When such a plan reads a materialized CTE that nothing in it
materializes, MemorySource::generate observes is_built == false and throws
"Reading from materialized CTE '<name>' before its materialization completed -
DelayedPortsProcessor gate is missing in the query plan".

The reference is left ungated for a correct reason. A materialized CTE reading a
Distributed or remote() table plans a shard-local plan, and the deeper CTE is
resolved there by name, so TableNode::isMaterializedCTE() is false; the CTE is also
not yet plan-backed, so collectMaterializedCTE declines to gate it - the arm ClickHouse#108924
added deliberately for a read-by-name of a temp table the initiator owns. That plan
is later executed as a standalone in-place set pipeline, where the outer gate does
not reach.

Push a DelayedMaterializingCTEsStep onto the plan before an in-place build runs it,
covering every CTE the plan's node tree reads while no step in that tree
materializes it, reusing the existing gate machinery. The step becomes the root, so
it dominates every reader; is_materialization_planned keeps the attachment
idempotent when another plan already claimed the CTE. Both entry points are covered
(buildSetInplace and buildOrderedSetInplace, the latter on both its clone and
destructive branches).

Measured on the rebased tree, fresh server per arm, build id and fixture row count
asserted before each arm:

  arm                                          base    fixed
  remote() + IN over deeper CTE, reused        gate    9
  Distributed engine, same shape               gate    9
  Distributed, non-primary-key column          gate    9
  remote() + PREWHERE                          gate    9
  buildSetInplace route (ordered build off)    gate    9
  plain MergeTree control                      9       9
  force_primary_key control (03928 shape)      4       4
  EXPLAIN indexes=1 sees the set condition     1       1
  same, use_index_for_in_with_subqueries=0     0       0

The last two are an oracle and its negative control: the index path is still taken.
An empty source stays 0 on both. 04712 fails on the pre-fix binary through the test
runner and passes after, 50 of 50 randomized runs; the materialized-CTE family is
green on both binaries except 04041, whose output is byte-identical on each.

Closes: ClickHouse#113184
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

can be tested Allows running workflows for external contributors pr-bugfix Pull request with bugfix, not backported by default pr-synced-to-cloud The PR is synced to the cloud repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants