Skip to content

Do not distribute a read of input() to parallel replicas with a custom key - #121414

Open
groeneai wants to merge 2 commits into
ClickHouse:masterfrom
groeneai:pr-custom-key-input-decline
Open

groeneai wants to merge 2 commits into
ClickHouse:masterfrom
groeneai:pr-custom-key-input-decline

Conversation

@groeneai

@groeneai groeneai commented Sep 21, 2026 •

Copy link
Copy Markdown
Collaborator

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):

Fixed INVALID_USAGE_OF_INPUT ("Input stream is not initialized") for an INSERT ... SELECT reading the input() table function when parallel_replicas_mode is custom_key_sampling or custom_key_range: such a query is no longer distributed, since input() is a one-shot client stream that only exists on the initiator.

Description

Related: #71028 (comment) (class 7 mechanism (2)/(3); mechanism (1) is #121283)

On 26.3, 26.6 and 26.9, INSERT INTO dst SELECT * FROM t WHERE k IN (SELECT n FROM input('n UInt64')) is rejected with INVALID_USAGE_OF_INPUT and leaves dst empty when parallel_replicas_mode = 'custom_key_sampling', although enable_parallel_replicas = 1 is documented to disable parallel replicas silently rather than fail. (Measured on 26.10; the path is present on all three.)

Custom-key parallel replicas replace the local read with a cluster read of the whole query tree and materialize nothing on the initiator, so the input() subquery ships verbatim and ReadFromInput throws on a replica that has no pipe. A follower's log shows:

SELECT `__table1`.`k`, `__table1`.`v` FROM t AS `__table1`
WHERE and((`__table1`.`k` IN (SELECT `n` FROM input('n UInt64'))), `k` < 6148914691236517205)

No replica can satisfy that, and splitting a one-shot stream would fragment each replica's IN set, so the planner declines custom-key parallel replicas for such a query, alongside the four declines already in Planner::buildPlanForQueryNode.

It is the only one of the five that stays silent at enable_parallel_replicas = 2, and the reason is measured rather than stylistic: its trigger reads settings only, so throwing here also rejects INSERT INTO t SELECT n FROM input('n UInt64'), which works today. An earlier revision of this PR did exactly that. Throwing only for the eligible case means moving the refusal to each custom-key dispatch site; say the word and I will.

Measured before and after on both custom-key modes, both transports, GLOBAL IN, a Distributed source and serialize_query_plan. A query without input() keeps its custom-key split, asserted in the test, as does a reused MATERIALIZED CTE, which ships as an external table.


Workflow [PR]
Sync PR [sync-upstream/pr/121414]

…m key

An INSERT SELECT whose filter reads input() failed with INVALID_USAGE_OF_INPUT
("Input stream is not initialized") when parallel_replicas_mode was
custom_key_sampling or custom_key_range, and the destination table stayed empty.

input() is a one-shot stream from the client, so StorageInput only has a pipe on
the server the client is talking to. The custom-key arm of the planner
(PlannerJoinTree.cpp) throws away the local MergeTree plan and calls
ClusterProxy::executeQueryWithParallelReplicasCustomKey, which, unlike the
task-based route, does not call buildQueryTreeForShard: it only clones the tree
and runs createUniqueAliasesIfNecessary, so nothing is materialized on the
initiator and the whole query, IN (SELECT n FROM input(...)) included, is shipped
to every replica. The replica then sees a plain SELECT rather than an
INSERT SELECT, so executeQuery takes the else arm and calls resetInputCallbacks(),
StorageInput::readImpl leaves the source pipe empty, and
ReadFromInput::initializePipeline throws on !was_pipe_initialized. A follower's
own log records what it received:

  SELECT `__table1`.`k`, `__table1`.`v` FROM t AS `__table1`
  WHERE and((`__table1`.`k` IN (SELECT `n` FROM input('n UInt64'))),
            `k` < 6148914691236517205)

the custom-key range predicate appended and the input() subquery intact. That
query cannot be satisfied anywhere but on the initiator: the client stream is
never sent over the inter-server connection, and because it is one-shot it cannot
be consumed by three replicas. Splitting it would make each replica's IN set a
fragment, i.e. wrong results instead of an error. So the only correct outcome is
not to ship such a query.

Decline custom-key parallel replicas in Planner::buildPlanForQueryNode when the
query tree reads input(), as a third sibling of the two declines already there
for parallel_replicas_allow_in_with_subquery and additional_table_filters
(prior art 30f689a). Clearing
allow_experimental_parallel_reading_from_replicas on the planner's mutable query
context covers the plain-MergeTree, Distributed and view-over-Distributed
custom-key entry points at once, because all of them re-read the same context
flag. The decline is silent at every enable_parallel_replicas level, the forced 2
included. Unlike the three other declines in this function, its trigger says
nothing about whether custom key would have been used:
canUseParallelReplicasCustomKey() reads settings only (Context.cpp:9003-9013),
while the custom-key read additionally requires parallelReplicasEnabledForStorage
(PlannerJoinTree.cpp:2607, false for every non-MergeTree storage), so a throw
there would also reject INSERT INTO t SELECT n FROM input('n UInt64'), which has
nothing to distribute and works today. The test pins both.

The predicate is tested on query_info.query_tree, which is exactly the object
ClusterProxy::executeQuery ships, so for this route it is neither over- nor
under-inclusive. The walk is explicit rather than `traverseQueryTree` or one of
the single-purpose helpers (`hasFunctionNode`, `hasAggregateFunctionNodes`): the
helpers refuse QUERY and UNION children, which would make the predicate always
false and ship nothing, and `traverseQueryTree` skips a table function's
unresolved arguments (`traverseQueryTree.h:58-70`) without routing that skip
through its `should_visit` predicate.
`TableFunctionView::skipAnalysisForArguments` marks the query `view()` takes
unresolved, so `IN (SELECT n FROM view(SELECT n FROM input(...)))` keeps an
`input()` node whose `getStorage()` is null; matching the table function name as
well as the storage catches it, and the test pins that shape.
parallel_replicas_mode = sampling_key is not covered, being excluded from
canUseParallelReplicasCustomKey(), and is measured unchanged.

Measured before and after on one debug server with three loopback replicas: both
custom-key modes, HTTP and native transports, IN on a key and on a non-key
column, GLOBAL IN and a Distributed source all go from 477 to the exact expected
rows; a GLOBAL JOIN and sampling_key mode are unchanged; serialize_query_plan no
longer reaches its NOT_IMPLEMENTED throw. A query that does not read input()
keeps its custom-key split, which the new test asserts so it cannot pass
vacuously.

The walk skips one child deliberately: a reused MATERIALIZED CTE's defining
subquery. Such a CTE is evaluated on the initiator and registered as an
external table, and TableNode::toASTImpl emits only its temporary table name,
so its input() is never part of what a replica receives. A CTE referenced once
is inlined instead (and with enable_materialized_cte off the MATERIALIZED
keyword is ignored altogether), so that shape still reaches the input() node
and is still declined. Without the skip the reused shape kept correct rows but
lost its custom-key split, 3 remote sub-queries to 0.
Compress the analyzer-resolution note to one bare invariant line, and state the reused-materialized-CTE property without citing TableNode::toASTImpl internals. The three domain-property comments (what input() is, what an unresolved table function node lacks, what custom-key mode sends) are kept.
@groeneai groeneai added can be tested Allows running workflows for external contributors groeneai-origin-follow-up PR origin: groeneai's own out-of-scope finding during its PR work labels Sep 21, 2026
@groeneai

Copy link
Copy Markdown
Collaborator Author
Internal second-model review: adjudication log (click to expand)

Pre-publication review by an independent model (engine: codex; 6 findings over 7 gate runs, plus my
own cold review of every head; 1 full pass + 5 fix rounds with a delta recheck each, final head re-gated clean).

# Sev Finding Verdict Evidence / action
1 ❌ The first version threw SUPPORT_IS_DISABLED at enable_parallel_replicas = 2 for any query reading input(), so INSERT INTO t SELECT n FROM input('n UInt64') stopped working AGREE, fixed before publication canUseParallelReplicasCustomKey() reads settings only (Context.cpp:9003), so the guard fired before eligibility was known; measured HTTP 500 and nothing inserted. The throw is gone, the decline is silent at every level, and the test pins both inserts
2 ❌ The predicate missed an input() the analyzer never resolves, so IN (SELECT n FROM view(SELECT n FROM input('n UInt64'))) still failed with 477 on a follower AGREE, fixed before publication traverseQueryTree does not descend into a table function's unresolved arguments (traverseQueryTree.h:58-70) and view()'s query is unresolved unconditionally, so the node's getStorage() is null. The predicate now matches the name as well as the storage, and the test pins the wrapper shape
3 ⚠️ The test asserted result rows but not the two new outcomes: the forced path, and running before the serialized-plan rejection AGREE, fixed before publication Both cases added with exact rows; without the src/ change the first throws 477 and the second NOT_IMPLEMENTED, so both are red
4 ⚠️ With the throw removed, an otherwise custom-key-eligible query falls back silently at enable_parallel_replicas = 2, where the setting asks to fail instead. Raised twice, the second time asking for the refusal to move to the site that knows the storage is eligible DISAGREE on the remedy, and the call is yours This is the only one of the five declines in Planner::buildPlanForQueryNode that stays silent, which the PR body states rather than glosses. The remedy was implemented first and regressed a query that is green on master (finding 1); a throw only for the eligible case needs the storage, cluster and distributed_depth, known only at the dispatch arms (PlannerJoinTree.cpp:2618, :2018, :2381, StorageDistributed.cpp:484), and one planner-level clear covers all of them. Nothing that works today degrades: the forced query is 477 on master. Say the word and I will move the refusal to each dispatch site
5 ⚠️ Finding 3 also asked for unique query ids on the affected inserts plus an assertion of zero non-initial executions DISAGREE That pins the mechanism, not the contract: a decline that stops firing ships the query, the follower throws INVALID_USAGE_OF_INPUT, and the existing row oracle reddens (measured empty rows in both modes on the base binary). The direction that can silently break, over-firing, is asserted instead
6 💡 canUseParallelReplicasCustomKey() is not initiator-scoped, so the decline also fires on a follower, where clearing the setting drops the follower's own custom-key slice filter (PlannerJoinTree.cpp:2018) DISAGREE No reachable consequence in a single version: an input() node a follower actually reads throws INVALID_USAGE_OF_INPUT either way, so this needs a mixed-version cluster plus a node present and never read. Noted so the call is yours
7 💡 Why a third decline in the planner rather than widening the two INSERT-side declines DISAGREE with the alternative Both (InterpreterInsertQuery.cpp:370 and :752) are gated on canUseParallelReplicasOnInitiator(), which requires parallel_replicas_mode = read_tasks, so neither is reachable under custom key; widening them would also take custom-key parallelism away from every INSERT ... SELECT
8 💡 The predicate hand-rolled a tree walk instead of the in-tree traverseQueryTree AGREE then reverted, deliberately The swap was made, then undone by finding 2: traverseQueryTree cannot be made to descend into arguments the analyzer skipped, which is exactly where the missed input() lives
9 ⚠️ The first version also cost a shape that worked: a reused MATERIALIZED CTE reading input() kept correct rows but stopped being split by custom key (0 remote sub-queries against 3 on master), mismeasured as unchanged for three rounds AGREE, fixed before publication The CTE's defining subquery is a child of its TableNode (TableNode.h:136) but reaches a replica only as a named external table, so the walk was finding an input() no replica receives; it now skips that child. A CTE referenced once, and any CTE with enable_materialized_cte off, still reaches the node and is still declined. The test pins exact rows and that custom key stays engaged

Severity: ❌ blocker / ⚠️ major / 💡 nit. DISAGREE verdicts carry recorded evidence and are
terminal per finding. Findings on hunks unchanged by a fix round are auto-dropped.

Session id: cron:clickhouse-review-slot-10:20260921-172400

@groeneai

Copy link
Copy Markdown
Collaborator Author
Pre-PR validation gate (click to expand)
# Question Answer
a Deterministic repro? Yes, 100%: INSERT INTO dst SELECT k, v FROM t WHERE k IN (SELECT n FROM input('n UInt64')) over HTTP with parallel_replicas_mode=custom_key_sampling, parallel_replicas_custom_key=k, max_parallel_replicas=3 against a 3-replica cluster gives Code: 477 ... Input stream is not initialized and an empty destination table.
b Root cause explained? Yes: the custom-key arm ships the whole query tree and only renumbers __tableN aliases, so the input() subquery travels verbatim, the replica's executeQuery calls resetInputCallbacks() and ReadFromInput::initializePipeline throws on the empty pipe; the follower's own log line shows the shipped query, custom-key predicate included.
c Fix matches root cause? Yes: an optimization that ships a query which cannot execute where it is sent now declines, at the planner site that owns the decision. No guard at the throw site, no widened bound, no tag, no reduced dataset, and StorageInput is untouched.
d Test intent preserved / new tests added? No existing test modified; the new 05238_parallel_replicas_custom_key_input.sh pins the exact inserted rows over both transports for both custom-key modes plus an engagement control, then at enable_parallel_replicas = 2 both an IN-subquery and an input()-only insert, serialize_query_plan = 1, an IN (SELECT n FROM view(SELECT n FROM input('n UInt64'))) insert, and a reused MATERIALIZED CTE keeping both its exact rows and its custom-key split.
e Both directions demonstrated? Yes, on four Build-ID-verified binaries with SELECT lower(buildId()) asserted live before each run: without the change both modes give Code: 477 with empty oracles (force mode rows: [], wrapped input rows: [], serialize_query_plan rows: []), with it every line is [ OK ] with exact rows, and the materialized-CTE arm reddens on a rebuild with only that skip reverted (materialized cte engaged remote replicas > 1: 0 against the expected 1).
f Fix is general across code paths? One predicate on one planner decision covers the plain-MergeTree, Distributed and view-over-Distributed custom-key entry points, which all re-read canUseParallelReplicasCustomKey() from the same context (the Distributed route confirmed empirically); sampling_key mode is excluded by that predicate and measured unchanged, and the old-analyzer sites are unreachable with enable_analyzer frozen at 1 since v26.9.
g Fix generalizes across inputs (params/datatypes/wrappers)? The predicate matches a TableFunctionNode whose storage is a StorageInput or whose name is input, anywhere in the tree, so it is insensitive to types and to wrappers, including view(), whose query argument the analyzer never resolves and which a storage-only check could not see; measured for IN on a key and a non-key column, GLOBAL IN, a GLOBAL JOIN, a reused MATERIALIZED CTE, a Distributed source, view()-wrapped, both modes, both transports, force mode and serialize_query_plan, and no query that works on master loses parallelism.
h Backward compatible? (maintainer-approved exception only) Yes, with no new rejection surface: no query that succeeds on master fails after this PR at any enable_parallel_replicas level, and there is no new setting, changed default, SettingsChangesHistory.cpp entry, protocol or serialized-plan change. The decline is deliberately silent even at the forced 2 because its trigger reads settings only, so throwing there would also reject INSERT INTO t SELECT n FROM input('n UInt64'), which works today; the test pins both force shapes.
i Invariants and contracts preserved? Yes: the branch only clears a setting on the planner's mutable query context before buildJoinTreeQueryPlan, exactly as the two existing declines do. It never rewrites the query, changes plan shape or touches data, and the read-only tree walk runs only after canUseParallelReplicasCustomKey() short-circuits.

Session id: cron:clickhouse-impl-slot-41:20260921-035800, cron:clickhouse-impl-slot-4:20260921-055200, cron:clickhouse-impl-slot-7:20260921-071000, cron:clickhouse-impl-slot-7:20260921-094000, cron:clickhouse-impl-slot-7:20260921-161400

@clickhouse-gh

clickhouse-gh Bot commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [b9d0d0c]

Summary: ✅


AI Review

Summary

This PR fixes the follower-side input() exception for custom-key parallel replicas by disabling that distribution mode when the planner sees input() in the query tree. The core direction is right, but the new guard is broader than the actual unsafe surface and it also weakens the documented enable_parallel_replicas = 2 contract, so I would not merge it as-is.

Findings

⚠️ Majors

  • [src/Planner/Planner.cpp:2326] The new readsInputTableFunction walk treats every input() anywhere in the analyzed tree as unsafe, but GLOBAL IN subqueries are already collected as prepared sets and shipped to replicas as external tables. In that shape the remote query does not execute input() on followers anymore, so disabling custom-key parallel replicas here turns a safe parallel case into an unnecessary local fallback.
    Suggested fix: distinguish initiator-materialized set paths (at least GLOBAL IN) from plain shipped subqueries, for example by consulting the prepared-set metadata produced by collectSets.

  • [src/Planner/Planner.cpp:2752] Clearing allow_experimental_parallel_reading_from_replicas unconditionally here changes enable_parallel_replicas = 2 from “throw if parallel replicas cannot be used” to a silent local fallback for queries that really do have a custom-key-eligible read plus an unsafe input() subquery. That is inconsistent with the setting documentation and with the other decline sites in this function, which all preserve the hard-fail behavior at >= 2.
    Suggested fix: keep the planner-level silent path only for queries whose only source is input(), and move the hard refusal for eligible custom-key reads to the dispatch sites that know a real parallel read would have happened.

Final Verdict

Status: ⚠️ Request changes

Minimum required actions:

  • Preserve custom-key parallel replicas for GLOBAL IN cases where input() is already materialized on the initiator and shipped as an external table.
  • Restore enable_parallel_replicas = 2 semantics for queries that would otherwise take a real custom-key parallel read path.

LLVM Coverage Report

⚠️ No coverage measurement for commit b9d0d0c: incomplete coverage measurement: 1 of 21 shard profiles are missing: LLVM_COVERAGE_FILE_it_7.profdata.

@clickhouse-gh clickhouse-gh Bot added the pr-bugfix Pull request with bugfix, not backported by default label Sep 21, 2026
Comment thread src/Planner/Planner.cpp
/// `input()` is a one-shot stream from the client: the data arrives on the connection that carries
/// the query, so the storage is only readable on the server the client is talking to.
/// An unresolved table function node, such as one inside the query `view()` takes, has no storage, so only its name identifies it.
bool readsInputTableFunction(const QueryTreeNodePtr & root)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This helper only looks at the raw query tree, so it also matches GLOBAL IN subqueries that the analyzer path will materialize on the initiator and ship as an external table. In that shape the remote query is already globalIn(..., ?) and no replica executes input(), but the caller still disables custom-key parallel replicas because the original subquery remains in the tree here. Can we drive this from the prepared-set metadata produced by collectSets() instead of treating every input() occurrence as unsafe?

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.

I measured this before touching anything, because it turns on whether GLOBAL IN really is materialized on this route. It is not.

Custom-key dispatch goes through ClusterProxy::executeQueryWithParallelReplicasCustomKey (src/Interpreters/ClusterProxy/executeQuery.cpp:1288-1316), which renumbers __tableN aliases and does nothing else. Materializing a GLOBAL IN subquery into a temporary external table happens in buildQueryTreeForShard (src/Storages/buildQueryTreeForShard.cpp:615, create_for_global_subquery at :657-662), and this path never calls it. What a follower actually received on master (3-replica cluster, parallel_replicas_mode = 'custom_key_sampling'):

(in query: SELECT `__table1`.`k` AS `k`, `__table1`.`v` AS `v` FROM `c7min_e_s14base`.`t_pr_input` AS `__table1` WHERE and((`__table1`.`v` GLOBAL IN (SELECT `__table1`.`n` AS `n` FROM input('n UInt64') AS `__table1`)), positiveModulo(`k`, 3) = 1))

GLOBAL IN and its subquery verbatim, with the custom-key predicate appended. The globalIn(v, __set_...) form does appear in that log, but under the same three query ids as the three Code: 477 errors, so it is each replica's own prepared set for the subquery it was handed, not a set the initiator built and shipped.

Outcome on the same rig, build id asserted before every run:

INSERT INTO dst SELECT k, v FROM t WHERE v GLOBAL IN (SELECT n FROM input('n UInt64')) master ce4d387d this PR
inserted rows Code: 477 from 127.0.0.2, destination empty (7,14),(19,38)
remote sub-queries 3 0 (declined)
control query without input() 3 3

So a replica does read input() in that shape and the decline is what fixes it, rather than an over-fire.

For the construct where your reasoning does hold the helper already exempts it: a reused MATERIALIZED CTE is evaluated on the initiator and sent as an external table, so its defining subquery is skipped, and the test pins that such a query keeps its split. collectSets() runs just before this site, so its metadata is available, but what it records is that a set will be prepared, not whether the subquery reaches a replica.

Comment thread src/Planner/Planner.cpp
if (query_context->canUseParallelReplicasCustomKey() && readsInputTableFunction(query_tree))
{
auto & mutable_context = planner_context->getMutableQueryContext();
mutable_context->setSetting("allow_experimental_parallel_reading_from_replicas", Field(0));

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This unconditional setSetting(..., 0) changes enable_parallel_replicas = 2 from “throw if parallel replicas cannot be used” to a silent local fallback for queries that really do have a custom-key-eligible read, for example INSERT INTO dst SELECT ... FROM t WHERE k IN (SELECT n FROM input(...)). The setting docs and the other decline sites in this function both treat >= 2 as a hard failure. If we want to keep INSERT ... SELECT n FROM input(...) working, the refusal needs to move to the custom-key dispatch sites that know whether a real parallel read would have happened instead of clearing the setting here in the planner.

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.

Conceded on the fact: at enable_parallel_replicas = 2 this site clears the setting instead of throwing, and it is the only one of the five declines in this function that stays silent. The PR body says so.

The throw is what I shipped first, and it broke a query that works on master. Same rig, build id asserted before every run, enable_parallel_replicas = 2, custom_key_sampling, 3 replicas:

insert master ce4d387d this PR
... SELECT k, v FROM t WHERE k IN (SELECT n FROM input('n UInt64')) Code: 477, destination empty (7,14),(19,38),(123,246)
... SELECT n FROM input('n UInt64') 7,19,123 7,19,123
control without input() 3 remote sub-queries 3

Row 1 is your eligible example. It already fails on master at level 2, with INVALID_USAGE_OF_INPUT rather than SUPPORT_IS_DISABLED, so no query that works today changes behaviour. Row 2 is master itself staying silent at level 2 when there is nothing to distribute, and a throw at this site is what turns it into SUPPORT_IS_DISABLED.

Moving the refusal to the dispatch sites is not an increment on top of this either. Storage eligibility is not known in the planner: parallelReplicasEnabledForStorage is defined in PlannerJoinTree.cpp:1538 with no header declaration, and the storages are resolved in collectTableExpressionData, which runs after this block. One clear here covers PlannerJoinTree.cpp:2018, :2026, :2381, :2618, StorageDistributed.cpp:484 and ClusterProxy/executeQuery.cpp:469-505 at once, so throwing at :2618 alone restores the 477 for a Distributed source.

If a maintainer wants level 2 to fail for custom-key-eligible reads, say the word and I will move the refusal to every dispatch arm in this PR.

@clickhouse-gh

clickhouse-gh Bot commented Sep 21, 2026

Copy link
Copy Markdown
Contributor

Build profile diff (arm_release)

Comparing b9d0d0c69 with master c4aba0e37 (stripped binary size, per-symbol sizes and ThinLTO time; compile times per translation unit against the most recent warmup build that recompiled it).

✅ No significant changes.

Binary sizes

programs/clickhouse-stripped: smaller than the master baseline by the known offset between the two builds, so the difference is not shown. A delta that differs from the offset by more than 50% of it is shown, in either direction.

The official master build is compiled with -g and a pull request build is not, and XRay counts debug instructions towards its instrumentation threshold, so master instruments thousands of functions more and its binary is ~0.4% larger no matter what the pull request does.

Compile time of recompiled translation units

75 translation units recompiled, 133 s compile time in total, 75 of them have a recent master baseline.

Median compile-time ratio to the baselines is ×1.05 (machine-speed difference or a change affecting every TU); per-TU deltas below are relative to that ratio.
The matched translation units cost +6.5 s (+5%) in total before that adjustment.

Job report

@clickhouse-gh clickhouse-gh Bot added the comp-query-analyzer Semantic analysis + logical/physical planning + rewrites (Analyzer and Planner modules). label Sep 22, 2026
@clickhouse-gh clickhouse-gh Bot added comp-parallel-replicas Parallel reading from replicas for query speed (not data replication consistency). and removed comp-query-analyzer Semantic analysis + logical/physical planning + rewrites (Analyzer and Planner modules). labels Nov 19, 2026

This branch has not been deployed

No deployments
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 comp-parallel-replicas Parallel reading from replicas for query speed (not data replication consistency). groeneai-origin-follow-up PR origin: groeneai's own out-of-scope finding during its PR work pr-bugfix Pull request with bugfix, not backported by default

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant