Skip to content

Fix SELECT * REPLACE/APPLY and positional arguments with group_by_use_nulls - #118476

Open
alexey-milovidov wants to merge 82 commits into
masterfrom
fix-group-by-use-nulls-matchers
Open

alexey-milovidov wants to merge 82 commits into
masterfrom
fix-group-by-use-nulls-matchers

Conversation

@alexey-milovidov

@alexey-milovidov alexey-milovidov commented Sep 6, 2026 •

Copy link
Copy Markdown
Member

With group_by_use_nulls = 1, the analyzer resolves the projection after all other clauses of the query, so that the expressions equal to a GROUP BY key can be wrapped into Nullable. This deferred the matchers (*, COLUMNS(...)) together with the rest of the projection, and everything a matcher does for its sibling clauses stopped working, because those clauses were already resolved by the time the matcher was expanded:

  • SELECT * REPLACE (expr AS c) ... WHERE / GROUP BY / HAVING / ORDER BY / WINDOW w AS (ORDER BY c) kept c bound to the source column instead of expr (the REPLACE rewrite of the other clauses only works on unresolved identifiers), so the setting silently changed query results.
  • a positional argument in GROUP BY referred to the whole unexpanded matcher rather than to the expanded column.
  • the result of APPLY that was itself a GROUP BY key (SELECT * APPLY toTypeName FROM t GROUP BY GROUPING SETS ((1), ())) was not converted to Nullable, and an aggregate function over it in an outer query raised Bad cast from type DB::ColumnNullable to DB::ColumnString (in a hardened build, an assertion inside string_view).
  • SELECT * APPLY x -> grouping(x) failed with GROUPING function argument number is not in GROUP BY keys.

The fix expands the matchers of the projection before the other clauses are resolved, exactly as without the setting, and lets the deferred projection resolution re-resolve the expanded expressions after GROUP BY. This removes the ordering difference between the two modes instead of re-implementing the REPLACE rewrite in a separate pre-pass as #104350 does.

One more thing had to change for this to work: a GROUP BY key resolved inside an aggregate function keeps its type, and such a node must not be remembered in resolved_expressions, because the same node can be shared with an expression outside of aggregate functions (SELECT * APPLY x -> tuple(sum(x), x), SELECT * APPLY sum, *), where it has to become Nullable.

Related: #104350
Related: #91119
Related: #108931

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 SELECT * REPLACE (...), APPLY and positional arguments with group_by_use_nulls = 1: the replaced columns were not visible in WHERE, GROUP BY, HAVING and ORDER BY, and an aggregate function over the result of APPLY used as a GROUP BY key raised a Bad cast exception.


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

…se_nulls`

With `group_by_use_nulls`, the projection is resolved after all other clauses so
that the expressions equal to a `GROUP BY` key become `Nullable`. Matchers were
deferred along with it, so `SELECT * REPLACE (expr AS c)` could no longer rewrite
`c` in `WHERE`, `GROUP BY`, `HAVING` and `ORDER BY` (they were already resolved),
positional arguments pointed at the whole unexpanded matcher, and the result of
`APPLY` used as a `GROUP BY` key was not converted to `Nullable`, which made an
aggregate function over it fail with `Bad cast from type ColumnNullable to
ColumnString`.

Now matchers of the projection are expanded right away, exactly as without the
setting, and the expanded expressions are resolved again after `GROUP BY`.

A `GROUP BY` key resolved inside an aggregate function keeps its type and must not
be remembered in `resolved_expressions`: the same node can be shared with an
expression outside of aggregate functions (`SELECT * APPLY x -> tuple(sum(x), x)`),
where it has to become `Nullable`.

Related: #104350

Co-Authored-By: Claude Fable 5.1 <[email protected]>
@clickhouse-gh clickhouse-gh Bot added the comp-query-analyzer Semantic analysis + logical/physical planning + rewrites (Analyzer and Planner modules). label Sep 6, 2026
@groeneai

groeneai commented Sep 7, 2026

Copy link
Copy Markdown
Collaborator

Posting these at the request in #104350 (comment). I have not built this branch, so all of the below is about test coverage, not a claim about the code here.

05104_group_by_use_nulls_projection_matchers.sql covers the matcher, REPLACE, APPLY and positional-argument shapes. Two groups of cases from #104350 are outside its reach.

1. Correlated subqueries: 04210_91119_correlated_subquery_group_by_use_nulls

This is the shape #91119 itself reports, and no matcher takes part in it: a correlated column reference inside a scalar subquery has to pick up Nullable from the outer scope's post-ROLLUP/CUBE/GROUPING SETS keys. If it stays non-Nullable, the planner builds the aggregate and its CAST wrappers for the original signature and is then handed a ColumnNullable at run time.

The load-bearing assertion is a type pin, not a value check: the values can be right while the declared type is wrong. Measured on master at 319bfd73ff35ccc36305c34f3081f964873e4866 (v26.9.1.1) on 2026-09-06, the correlated key is still declared Int16 instead of Nullable(Int16):

SELECT trim(explain) FROM (EXPLAIN QUERY TREE
    SELECT (SELECT c % 2) FROM (SELECT toInt32(3) AS c) t GROUP BY c % 2 WITH ROLLUP)
WHERE explain ILIKE '%function_name: modulo%result_type%'
SETTINGS group_by_use_nulls = 1;

Each case below was a separate failure mode of that wrong type on master when it was added, depending on which aggregate reads the column:

SET allow_experimental_correlated_subqueries = 1, group_by_use_nulls = 1;

-- Aborted with Bad cast from DB::ColumnNullable to DB::ColumnString (assert_cast, so at least
-- a clean exception). AST fuzzer seed from #108714.
SELECT x FROM (SELECT concat('s', (SELECT toString(number))) AS x
               FROM numbers(5) GROUP BY GROUPING SETS ((number))) ORDER BY x;

-- No exception here: the statistics aggregates read the argument through an unchecked
-- static_cast in AggregateFunctionStatisticsSimple.h, so the same wrong type was a
-- heap-buffer-overflow in AggregateFunctionVarianceSimple::add under ASan, and an
-- out-of-bounds read otherwise. numbers(64) puts the read on a redzone rather than
-- on PODArray SIMD padding.
SELECT k, (SELECT skewSamp(a.k)) FROM (SELECT number AS k FROM numbers(64)) AS a
GROUP BY k WITH CUBE ORDER BY k NULLS LAST FORMAT Null;

-- Raised Unexpected return type from tuple. Expected Tuple(UInt8, UInt64). Got
-- Tuple(UInt8, Nullable(UInt64)) (#106377): the tuple keeps the non-Nullable element type.
SELECT (SELECT (1, number)) FROM numbers(1) GROUP BY number WITH ROLLUP ORDER BY number NULLS LAST;

The file also pins the #109509 shape: under compatibility = '24.3' a correlated key resolves into several ColumnNode instances, dedup by (name, type) let a still non-Nullable duplicate through, and decorrelation then hit Input nodes size mismatch in dag. On the master SHA above that key appears 3 times in the query tree where the test pins 2.

2. Differential matcher cases: 04326_91119_apply_lambda_aggregate_rollup

These run the same query at group_by_use_nulls = 0 and at = 1 and require the two to agree, which is the invariant this PR's description states, on shapes 05104 does not reach.

The five shapes, one line each
-- EXCEPT removes c before REPLACE declares it, so HAVING c > 0 must not become HAVING 0 > 0:
SELECT * EXCEPT c REPLACE (0 AS c) FROM (SELECT number, 1 AS c FROM numbers(3))
GROUP BY number, c WITH ROLLUP HAVING c > 0 ORDER BY number SETTINGS enable_positional_arguments = 0;

-- a qualified matcher must not register a name it does not produce (c exists only in t2):
SELECT count() FROM (SELECT t1.* REPLACE (0 AS c) FROM (SELECT number AS a FROM numbers(3)) t1,
    (SELECT number AS c FROM numbers(3)) t2 GROUP BY t1.a, t2.c WITH ROLLUP HAVING c > 0);

-- m is MATERIALIZED and hidden from *, so both settings must reject with NOT_AN_AGGREGATE
-- (CREATE TABLE t (a UInt64, m UInt64 MATERIALIZED a + 100) ENGINE = MergeTree ORDER BY a):
SELECT count() FROM (SELECT * REPLACE (0 AS m) FROM t GROUP BY a WITH ROLLUP HAVING m > 0);

-- the rewrite must reach a SortNode's sort expression but not its WITH FILL bounds
-- (both settings: serverError INVALID_WITH_FILL_EXPRESSION):
SELECT * REPLACE (5 AS c) FROM (SELECT number, 1 AS c FROM numbers(2))
GROUP BY GROUPING SETS ((number), ()) ORDER BY number WITH FILL FROM 0 TO c
SETTINGS enable_positional_arguments = 0;

-- a REPLACE name colliding with a lambda argument, and with a subquery-local column:
SELECT * REPLACE (1 AS c) FROM (SELECT number AS c FROM numbers(1))
WHERE arrayMap(c -> c + 1, [1]) = [2] GROUP BY GROUPING SETS ((), (c)) ORDER BY c NULLS LAST;
SELECT * REPLACE (1 AS c) FROM (SELECT number AS c FROM numbers(1))
WHERE (SELECT max(c) FROM (SELECT number + 50 AS c FROM numbers(3))) = 52
GROUP BY GROUPING SETS ((), (c)) ORDER BY c NULLS LAST;

Both are new files in #104350, so git checkout 05e2e8054156d0c3 -- tests/queries/0_stateless/04210_91119_* tests/queries/0_stateless/04326_91119_* brings them over without touching anything else. One caveat: the EXPLAIN QUERY TREE pins and the .reference rows were produced against #104350's analyzer change and would need regenerating against a different fix; the exception and serverError cases are shape-independent. If one small file with just the cases above is more useful than the two full ones, say so and I will put it together.

nickitat and others added 2 commits September 7, 2026 18:54
…lls-matchers

# Conflicts:
#	src/Analyzer/Resolve/QueryAnalyzer.cpp
`05104_group_by_use_nulls_projection_matchers` pins the matcher, `REPLACE`,
`APPLY` and positional-argument shapes this branch fixes, but not the
differential ones: running the same query at `group_by_use_nulls = 0` and at
`= 1` and requiring the two to agree, on `EXCEPT` before `REPLACE`, a qualified
`t1.*`, a `MATERIALIZED` column hidden from `*`, `WITH FILL` bounds, and a
`REPLACE` name colliding with a lambda argument or a subquery-local column.

Measured against a `master` binary built from this branch's merge base with only
`QueryAnalyzer.cpp` reverted, 21 of the file's 44 output sections differ. On
`master` five `* APPLY x -> grouping(x)` shapes raise `GROUPING function
argument number is not in GROUP BY keys`, `SELECT minOrNull(*) FROM (SELECT *
APPLY toTypeName FROM (SELECT 1 AS c) GROUP BY GROUPING SETS ((), (1)))` aborts
the server on a libc++ hardening assertion in `SingleValueData` reached through
`AggregateFunctionOrFill::addBatchSinglePlace`, and the rest return wrong
results with no error: a `REPLACE` reference in `WHERE`, `HAVING`, `ORDER BY` or
a named `WINDOW` is not rewritten, a `REPLACE` reference in a `GROUP BY` key
duplicates rows, and an `APPLY`-result grouping key stays non-`Nullable`. All 44
sections match on this branch.

The queries and the reference are taken unchanged from
#104350, which proposes a different
fix for the same issue; only the header comment is rewritten so that it
describes the invariants rather than that pull request's implementation. The
reference needed no regeneration, so the file also serves as a cross-check
between the two fixes.

Related: #104350
Related: #118476
Related: #91119

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01DXyzRWEoUWDezR4ioysQdd
@clickhouse-gh

clickhouse-gh Bot commented Sep 7, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [99d4632]

Summary: ❌

job_name test_name status info comment
Finish Workflow FAIL
python3 ./ci/jobs/scripts/workflow_hooks/can_be_merged.py --review-threads FAIL

AI Review

⚠️ Review sessions stopped as a cybersecurity risk

The model provider stopped these review sessions as a possible cybersecurity risk:

  • attempt 1: gpt-6.1-sol

This summary comes from a session with gpt-5.4. A session is typically stopped when it reaches a memory-safety finding, and the finding is lost with it, so this review can miss a real defect. Please review the change in detail, and run the review internally with a model that has cyber access.

Summary

This PR substantially improves the group_by_use_nulls = 1 matcher pre-pass and closes many earlier review gaps, but I still see two unresolved blockers and one unresolved major on currently reachable query shapes, plus one previously dismissed alias-carrier gap that is still real and still untracked. I am not counting the separate lambda-alias / SQL-UDF crash from the earlier discussion against this verdict because that one is already tracked in #125852.

Missing context / blind spots
  • ⚠️ There is no local clickhouse binary or build directory in this workspace, so I could not re-run the SQL repros on the synthetic merge checkout pull/118476/merge. A targeted rerun of the three queries called out below on the current head would close that last runtime-validation gap.
Findings
  • ❌ Blockers
    • [src/Analyzer/Resolve/QueryAnalyzer.cpp:8529] The alias/snapshot rebinding still keys off structural equality between the scope alias definition and the original projection item, so equivalent-but-different definitions such as WITH count(t.c) OVER w AS cnt plus SELECT count(t.*) OVER w AS cnt never get rebound to the projection copy that carries the named-window snapshot. Later clauses (QUALIFY, ORDER BY, LIMIT BY) can therefore read a different OVER w than the selected column and silently return wrong rows under group_by_use_nulls = 1.
      Suggested fix: match same-named WITH / duplicated-alias definitions against the projection item after matcher expansion instead of requiring pre-expansion isEqual, then copy the projection item's named-window snapshots onto whichever alias definition wins later-clause lookup. Add a focused stateless regression for WITH count(t.c) OVER w AS cnt SELECT count(t.*) OVER w AS cnt ... QUALIFY cnt = 2.
    • [src/Analyzer/Resolve/QueryAnalyzer.cpp:3404] A scalar APPLY transformer resolved before a later aggregate still bakes post-GROUP BY nullability into its intermediate, and resolveExpressionNode then caches that resolved intermediate at src/Analyzer/Resolve/QueryAnalyzer.cpp:5192. Queries such as SELECT * APPLY toInt64 APPLY sum ... GROUP BY number WITH ROLLUP SETTINGS group_by_use_nulls = 1 and ... APPLY abs APPLY sum ... therefore still hit the same pre-aggregation type mismatch / crash surface the PR is trying to eliminate.
      Suggested fix: once any later transformer in the chain is aggregate / grouping, resolve the full transformer chain in its final aggregate context (or at least suppress caching / reuse of pre-aggregate intermediates produced earlier in the chain). Add a focused stateless regression for the chained scalar-then-aggregate shape.
  • ⚠️ Majors
    • [src/Analyzer/Resolve/QueryAnalyzer.cpp:400] replaceMatchersQualifiedByIdentifier still replaces the whole qualified matcher subtree (x.*) with a bare identifier, so a deferred transformer chain drops independent descendants under that subtree as well. In the remaining open shape x -> tuple(x.* APPLY (y -> max(COLUMNS('c') REPLACE (100 - c AS c)))), the inner COLUMNS('c') mapping never reaches HAVING before sibling clauses resolve, so group_by_use_nulls = 1 still changes results.
      Suggested fix: rewrite only the qualifier-dependent matcher node itself, or preserve and recurse into its transformer bodies instead of discarding the entire subtree. Add a stateless differential regression for the nested x.* APPLY case.
    • [dismissed by author -- https://github.com/Fix SELECT * REPLACE/APPLY and positional arguments with group_by_use_nulls #118476#discussion_r4265803000] [src/Analyzer/Resolve/QueryAnalyzer.cpp:3924] Matchers reached through projection aliases, called lambdas, or SQL UDF bodies are still outside the restore-and-second-expansion path, so their REPLACE mappings can bind after WHERE / HAVING even though the PR text says the ordering difference for matcher carriers is removed. This may be pre-existing, but it is still a real reachable defect on a path this PR exercises, and unlike the lambda-call crash it is not linked to a tracking issue in the PR discussion.
      Suggested fix: either add the missing alias-map / callable restore-and-re-expand path here, or link a dedicated follow-up issue and scope the unsupported carrier explicitly out of this PR.
Tests
  • ⚠️ Add a stateless regression for the mixed WITH / projection alias case (WITH count(t.c) OVER w AS cnt + SELECT count(t.*) OVER w AS cnt ... QUALIFY cnt = 2). 05458 and 05460 stop just short of this carrier.
  • ⚠️ Add a stateless regression for SELECT * APPLY toInt64 APPLY sum ... GROUP BY number WITH ROLLUP SETTINGS group_by_use_nulls = 1. 04067_group_by_use_nulls_apply_aggregate covers direct aggregate APPLY, but not a scalar transformer feeding a later aggregate.
  • ⚠️ Add a stateless regression for the nested x.* APPLY (y -> max(COLUMNS('c') REPLACE ...)) shape. 05828_group_by_use_nulls_matchers_mixed_deferred_apply_body covers the one-level case, but not the remaining replaceMatchersQualifiedByIdentifier truncation.
Final Verdict

Status: ❌ Block

  • Fix the two blockers above (WITH / projection alias snapshot mismatch, and chained scalar APPLY before aggregate) before merge.
  • Fix the nested x.* APPLY deferral gap and add the three focused regressions above.
  • If the alias / callable-carrier matcher gap stays out of scope, link a dedicated follow-up issue in the PR discussion so the remaining reachable defect is explicitly tracked.

@clickhouse-gh clickhouse-gh Bot added the pr-bugfix Pull request with bugfix, not backported by default label Sep 7, 2026
@nickitat

nickitat commented Sep 7, 2026

Copy link
Copy Markdown
Member

Alexey, sorry for intervening. feel free to remove my commits if they're not wanted.

Comment thread src/Analyzer/Resolve/QueryAnalyzer.cpp Resolved
alexey-milovidov and others added 2 commits September 11, 2026 09:16
…p_by_use_nulls`

A matcher does not have to be the root of a projection item: `untuple((* REPLACE (-c AS c),))`
consumes its output as a tuple. Resolving a matcher is what registers its `REPLACE` mappings in the
sibling clauses of the query, so with `group_by_use_nulls`, where the projection is resolved after
them, such a nested matcher has to be expanded in advance as well - otherwise the mappings never
reach GROUP BY, HAVING, WHERE and ORDER BY, and the query returns a different result than the same
query without the setting:

```
SELECT untuple((* REPLACE (100 - c AS c),)) FROM (SELECT number AS c FROM numbers(3))
GROUP BY c WITH ROLLUP HAVING c > 98 ORDER BY c NULLS LAST;
```

returned `99`, `100` with `group_by_use_nulls = 0` and nothing with `group_by_use_nulls = 1`,
because GROUP BY and HAVING kept referring to the source column `c` instead of `100 - c`.

Only the arguments of ordinary functions are visited: matchers of lambdas and of subqueries belong
to a different scope, and `count` drops an unqualified matcher instead of expanding it. That
condition is extracted from `resolveFunction` into `functionDropsUnqualifiedMatcherArgument` and
shared by both places, so the two cannot diverge.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
@alexey-milovidov

Copy link
Copy Markdown
Member Author

🕵 Pushed 1e06736: merged master and addressed the AI review blocker about nested matcher carriers.

@nickitat, thank you - your commits stay, the 04326_91119_apply_lambda_aggregate_rollup coverage is kept as is.

The blocker was real: SELECT untuple((* REPLACE (100 - c AS c),)) ... GROUP BY c WITH ROLLUP HAVING c > 98 returned 99, 100 with group_by_use_nulls = 0 and nothing with group_by_use_nulls = 1, because the matcher nested inside untuple was expanded only in the final projection pass, so its REPLACE mappings never reached GROUP BY/HAVING. The pre-pass now descends into the arguments of projection expressions; count(*) keeps dropping the asterisk (the condition is shared with resolveFunction through functionDropsUnqualifiedMatcherArgument). New differential test: 05182_group_by_use_nulls_nested_matchers.

The only CI red on the previous commit was Build profile diff, which failed on a CI logs cluster query (RuntimeError: CI logs cluster query failed), unrelated to this change and addressed on master by #118618 and #118685 - both are now merged in.

Comment thread src/Analyzer/Resolve/QueryAnalyzer.cpp Resolved
Comment thread src/Analyzer/Resolve/QueryAnalyzer.cpp Resolved
@clickhouse-gh

clickhouse-gh Bot commented Sep 11, 2026 •

Copy link
Copy Markdown
Contributor

Build profile diff (arm_release)

Commit 99d46321d91df736a057bd3fa3b2a083e95002d5 was not compared: the CI logs cluster did not answer (the endpoint never became ready: the readiness probe timed out: HTTPSConnectionPool(host='t6h0zvqlg…).

See the job log for details.

alexey-milovidov and others added 2 commits September 18, 2026 14:19
…use_nulls`

Address the AI review of the previous commit.

`count` and `countState` (with combinators) drop only an *unqualified* matcher argument in
`resolveFunction`, so the pre-pass must skip exactly those arguments instead of the whole function:
a qualified matcher such as `count(t.COLUMNS('^c$') REPLACE (100 - c AS c))` stays a real argument
and has to be expanded early, otherwise its `REPLACE` mappings never reach `GROUP BY`/`HAVING`.

The pre-pass also descends into a window definition written in place now
(`count() OVER (PARTITION BY max(* REPLACE (100 - c AS c)))`), whose `PARTITION BY` and `ORDER BY` are
resolved in the scope of the query, exactly as the projection expression carrying them.

New differential test `05229_group_by_use_nulls_matcher_carriers`.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
@alexey-milovidov

Copy link
Copy Markdown
Member Author

🕵 Pushed a55fb5828dfc: merged master (3973 commits behind, clean merge) and addressed both AI review blockers.

  1. count shortcut too wide - resolveFunction drops only the arguments for which MatcherNode::isUnqualified holds, so a qualified matcher stays a real argument. The pre-pass now skips exactly those unqualified matcher arguments of the count/countState family and expands everything else. SELECT count(t.COLUMNS('^c$') REPLACE (100 - c AS c)) ... GROUP BY c WITH ROLLUP HAVING c > 98 returned rows at group_by_use_nulls = 0 and nothing at = 1; now both agree.

  2. Window definitions written in place - the pre-pass descends into PARTITION BY and the sort expressions of OVER (...) as well. The exact query of the finding cannot be made to agree, though: any window function referencing a grouping key throws NOT_AN_AGGREGATE at group_by_use_nulls = 1 with ROLLUP/CUBE/GROUPING SETS already on master (SELECT sum(c) OVER () ... GROUP BY GROUPING SETS ((c), ()), no matcher involved), which is a separate gap. The recursion does fix the legal shape where the matcher sits under an aggregate: SELECT count() OVER (PARTITION BY max(* REPLACE (100 - c AS c))) ... GROUP BY GROUPING SETS ((c)) HAVING c > 98 returned nothing at = 1 and two rows at = 0.

New differential test 05229_group_by_use_nulls_matcher_carriers. Locally, the four matcher tests and 28 of 31 group_by_use_nulls family tests pass (the 3 others need a cluster or test.hits), and a 650-test window/matcher/asterisk/columns/rollup/cube/grouping_sets sweep has no non-environmental failure.

Known divergence left for a follow-up, documented in the thread: a projection item written before a nested matcher picks up the REPLACE mapping at group_by_use_nulls = 1 (the whole projection is resolved after the pre-pass), which the = 0 path does not do. It affects every nested carrier equally, not just windows.

Comment thread src/Analyzer/Resolve/QueryAnalyzer.cpp Resolved
alexey-milovidov and others added 2 commits September 25, 2026 01:30
…nulls`

A named window (`OVER w`, `OVER (w ORDER BY ...)`) is resolved from a copy of
its definition in the `WINDOW` clause while the projection is resolved, so
without `group_by_use_nulls` the `REPLACE` mappings of a matcher in that
definition reach `HAVING`. The pre-pass under `group_by_use_nulls` now expands
the matchers of the referenced definition as well.

Addresses review: #118476 (comment)

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@alexey-milovidov

Copy link
Copy Markdown
Member Author

🕵 Merged master and addressed the named-WINDOW review thread (6fc0305). The two reds on the previous head are unrelated to this PR:

alexey-milovidov and others added 2 commits October 2, 2026 17:34
…ulls`

The early expansion of the projection matchers resolves the expressions produced
by the `APPLY` and `REPLACE` transformers before the GROUP BY keys are registered
as Nullable, and functions folded into constants on resolution (`toTypeName`,
`isNull`) are not re-resolved later: `SELECT * APPLY isNull ... GROUP BY k WITH ROLLUP`
returned `0` for the total row, and `05076_window_function_group_by_use_nulls_not_an_aggregate`
failed in Fast test with `String` instead of `Nullable(String)`.

Keep the unexpanded projection and, right after GROUP BY, expand its matchers
for the second time. The other clauses, already rewritten by `REPLACE` in the
first expansion, are not rewritten again. The matchers nested inside an aggregate
or `grouping` function are expanded with the function on the expression stack,
and `grouping` in an `APPLY` expression keeps the matched keys in their original
type, as an aggregate function does.

https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?PR=118476&sha=6fc030523f0597573565ee3727a838a1f27a8275&name_0=PR&name_1=Fast%20test
#118476

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@alexey-milovidov

Copy link
Copy Markdown
Member Author

🕵 Pushed a9e86e9: merged master and fixed the Fast test failure in 05076_window_function_group_by_use_nulls_not_an_aggregate (report).

Cause: the early matcher expansion under group_by_use_nulls resolved the expressions produced by APPLY/REPLACE before the GROUP BY keys were registered as Nullable, and constant-folded functions were never re-resolved: * APPLY (x -> toTypeName(x)) gave String, and * APPLY isNull gave 0 for the ROLLUP total row.

Fix: keep the unexpanded projection and expand its matchers a second time right after GROUP BY. In this second pass REPLACE rewrites only the projection, because the other clauses were already rewritten. Matchers nested in aggregate or grouping arguments are now expanded with the function on the expression stack. Without that, count(t.* REPLACE (100 - c AS c)) got a Nullable argument and segfaulted at execution. grouping in an APPLY lambda keeps the matched keys non-Nullable. The new test 05317_group_by_use_nulls_matcher_transformers_after_group_by covers these cases.

I ran it locally against a server: all 66 group_by_use_nulls stateless tests pass except 00173 (needs the test.hits dataset). Of 355 APPLY/REPLACE/COLUMNS tests, every failure is environmental (no Keeper, S3 or extra cluster config).

Comment thread src/Analyzer/Resolve/QueryAnalyzer.cpp Resolved
alexey-milovidov and others added 2 commits October 4, 2026 14:31
…pansion

With `group_by_use_nulls`, the first expansion of the projection matchers also
expands the matchers of the named windows referenced by the projection, in place
in the `WINDOW` clause. Their `APPLY` / `REPLACE` outputs were resolved before the
GROUP BY keys became Nullable, so `WINDOW w AS (PARTITION BY * APPLY isNull)` was
folded into `PARTITION BY 0`. Snapshot the `WINDOW` clause together with the
projection, restore both after GROUP BY (rebuilding the name-to-window mapping),
and let the `REPLACE` rewrite of the second expansion apply to the restored
`WINDOW` clause as well.

#118476

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@groeneai

groeneai commented Nov 4, 2026

Copy link
Copy Markdown
Collaborator

The fix for the second cause (DDLWorker::shutdown joining a DDL task whose OPTIMIZE or SYSTEM SYNC REPLICA waits in StorageReplicatedMergeTree::waitForProcessingQueue and ignores the query kill) is #129283.

alexey-milovidov and others added 3 commits November 5, 2026 17:48
…ee hash

A lookup in `nullable_group_by_keys` computes the tree hash of the node,
which also covers the sources of its columns, so for a column of a wide
subquery every lookup hashed the whole subquery. The shallow hash only
rejected the nodes that are not keys; the aggregate arguments that are
equal to a key, as in `sumIf(t.k + 1, t.flag = 0) ... GROUP BY t.k + 1`,
still paid for the full hash in the new aggregate-context lookup.

`IdentifierResolveScope::findNullableGroupByKey` now groups the key shapes
by the shallow hash and compares the candidates with `isEqual`, which does
not go into a column source that is the same node on both sides. All
lookups use it. The performance test gets the actual-key shape.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…nder `group_by_use_nulls`

`expandMatchersInsideProjectionExpression` does not go into lambdas, so a
lambda passed to an ordinary function, as in
`arrayMap(x -> COLUMNS('c') REPLACE (1 AS c), [1])`, is resolved with the
rest of the projection, after `GROUP BY`, and its `REPLACE` cannot turn a
`GROUP BY` key into a positional argument. The dependency walk still
counted it, which disabled the deferral of an unrelated `APPLY`, and
`t.* APPLY (x -> getSubcolumn(x, 'null'))` failed with `ILLEGAL_COLUMN`.
Lambdas inside the transformers of a matcher are still visited, because
they are resolved when the matcher is expanded.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@groeneai

groeneai commented Nov 6, 2026

Copy link
Copy Markdown
Collaborator

One more cause, from La Casa Del Dolor (amd_debug) on #110069 (report, gdb.log). It is the only one of the 51 Server shutdown dumps since 2026-11-02 where the drop task waits for blob removal (the KeeperMap drop is #129440), and none of the fixes above covers it.

The main thread waits in DatabaseCatalog::shutdownImpl for the drop task (drop_task->deactivate()). The task is in MergeTreeData::dropAllData for a table on an azure (Azurite) disk with local metadata and cannot schedule the next part: all 128 parts-cleaning threads are in DiskObjectStorageTransaction::waitBlobRemoval, waiting for blob cleanup round 296 (295 finished since startup), which waits for 6 batch deletes to Azurite. No cleanup round failed (no BlobKillerThread error in the server error log), so #120166 does not apply: the drop was progressing at Azurite's pace, and the shutdown waits for all of it.

Stopping the drop at the next part when the server shuts down, as in-flight merges are cancelled now, would leave the remaining parts to the drop after the restart. It would not bound this run by itself: the shutdown still waits for the round in flight (its Azure requests had 22-30 s left on their receive timeout), and BlobKillerThread::shutdown still removes the queued blobs.

@alexey-milovidov, which do you prefer: (1) I send a PR that stops a background table drop at the next part on shutdown, or (2) leave it as expected with a slow Azurite?

alexey-milovidov and others added 2 commits November 7, 2026 09:18
…former bodies under `group_by_use_nulls`

When the columns a matcher produces are known (an asterisk or a `COLUMNS` regexp,
unqualified or qualified by a table expression of the query, without `ARRAY JOIN`),
simulate `resolveMatcher` for each column: every `APPLY` is executed, and an `EXCEPT`
or a `REPLACE` is ignored after a transformer was used for the column. Only the
expressions of the executed transformers are visited for matchers whose `REPLACE`
may rewrite `GROUP BY`, so a matcher inside a discarded body, as in
`* EXCEPT (c) REPLACE (identity(COLUMNS('c') REPLACE (1 AS c)) AS c)`, no longer
disables deferring the transformers of the other matchers.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…nder `group_by_use_nulls`

Matching the duplicated aliases with projection nodes hashed every aliased
projection node, and the hash of a column includes its source query, so many
matcher-expanded aliased expressions over a wide subquery took quadratic time.
Only the nodes whose subtree carries a snapshot of a named window are looked up
now, because the snapshots are the only thing copied from them.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@alexey-milovidov

Copy link
Copy Markdown
Member Author

🕵 @groeneai, thanks for the analysis. The DatabaseCatalog::shutdownImpl wait on a background drop over a slow Azurite disk has nothing to do with this PR, so the choice between (1) and (2) is left to a human. Please open an issue with this analysis so it is tracked outside this PR.

@groeneai

groeneai commented Nov 7, 2026

Copy link
Copy Markdown
Collaborator

Opened #129908 with this analysis and the open question.

alexey-milovidov and others added 2 commits November 8, 2026 22:43
# Conflicts:
#	src/Analyzer/Resolve/QueryAnalyzer.cpp
…e_cte_retry` after merging master

The `ROLLUP` total row evaluates the correlated scalar subquery `(SELECT getSubcolumn(t.c, 'null'))`
for a NULL outer value. Since 8e44937 ("Fix correlated scalar and EXISTS subqueries ignoring the
rows produced for a NULL outer value") on master, it returns `1` instead of `NULL`, which is correct.
The test is about the CTE being found on the retry after `GROUP BY`, which still holds.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@alexey-milovidov

Copy link
Copy Markdown
Member Author

🕵 Thanks, @groeneai, for opening #129908. Merged master into this PR (one conflict in resolveLambda in QueryAnalyzer.cpp, kept the PR side). Also updated the reference of 05459_group_by_use_nulls_matchers_speculative_cte_retry: after 8e44937 on master, the correlated scalar subquery gives 1 instead of NULL for the ROLLUP total row, which is correct.

alexey-milovidov and others added 3 commits November 10, 2026 02:44
…n collecting `REPLACE` targets under `group_by_use_nulls`

The census of the columns an unqualified matcher produces included every table
expression of the query, while `resolveUnqualifiedMatcher` skips the side of a
SEMI/ANTI JOIN hidden by `semi_join_include_columns_from_both_sides = 0` or
`anti_join_include_columns_from_both_sides = 0`. A `REPLACE` target present only
on the hidden side was then counted as a possible positional `GROUP BY` key and
disabled the deferral of unrelated `APPLY` transformers, which raised
`ILLEGAL_COLUMN`. Use `IdentifierResolver::isTableExpressionHiddenBySemiAntiJoin`,
which the identifier resolution uses for the same purpose.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@alexey-milovidov

Copy link
Copy Markdown
Member Author

🕵 Status of the red checks at 322ead4f8b72:

  • Performance Comparison (arm_release, master_head, 3/6): group_by_use_nulls_matchers_window_snapshots (added by this PR) is +18% (0.110 s -> 0.130 s). It is a synthetic query whose cost is analysis only: 2000 max(COLUMNS(t.c0)) AS c items over a 2000-column subquery, with a named window. I compared local perf profiles of the same binary with group_by_use_nulls = 0 and = 1 (0.121 s vs 0.140 s per query). The extra time is spread over the second matcher expansion this PR introduces: cloneAndReplace of the unexpanded projection, getNullableGroupByKeyShallowHash, tree hashes and the hash maps for the bookkeeping. There is no single hotspot, and nothing grows quadratically, which is what the test guards against. Whether a constant overhead of this size on the group_by_use_nulls analysis path is acceptable is a call for a human reviewer.
  • Build profile diff: an infrastructure failure. Reads from the CI log cluster timed out repeatedly (LogCluster connection failed ... Read timed out). It is unrelated to this PR.

Also merged master and fixed the latest review comment (hidden SEMI/ANTI JOIN side).

Comment on lines +3292 to +3293
if (defer_transformer_expressions)
continue;

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.

[Major] Preserve nested matcher registration when deferring APPLY

This skips the entire APPLY expression, including nested matchers whose REPLACE mappings must reach sibling clauses before they resolve. The deferred REPLACE path visits its nested matchers in a discarded copy, but this carrier has no corresponding registration pass. Its mappings first run in the second expansion, where query_with_replaced_clauses suppresses the sibling rewrites.

SELECT * APPLY (x -> max(COLUMNS('c') REPLACE (100 - c AS c)))
FROM (SELECT number AS c FROM numbers(3)) AS t
GROUP BY GROUPING SETS ((t.c))
HAVING c > 98
ORDER BY ALL
SETTINGS group_by_use_nulls = 1;

The current head's Fast test binary returns no rows; changing only the setting to 0 returns 99, 100. Function-form APPLY parameters have the same gap: replacing the projection with * APPLY quantile(toFloat64(COLUMNS('c') REPLACE (0.5 AS c))) and the predicate with HAVING c = 0.5 returns no rows at 1, versus 0, 1, 2 at 0. Both differences also exist in the exact base 4faf44db0e68, so these supported APPLY carriers remain outside the promised matcher fix.

Preserve nested matchers' binding effects for all executed transformer expressions while deferring their type-dependent validation, including APPLY lambda bodies and function parameters. Please cover both carriers with focused differential tests.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

🕵 Fixed in 01d6562. A deferred APPLY now expands the matchers inside its expression in a discarded copy, as a deferred REPLACE already does. For a lambda, that is the body, resolved in a lambda scope with the argument bound to the matched column. For a function, it is the parameters and arguments. Their REPLACE mappings therefore rewrite the other clauses before the second expansion. With group_by_use_nulls = 1, * APPLY (x -> max(COLUMNS('c') REPLACE (100 - c AS c))) ... HAVING c > 98 returns 99, 100, and * APPLY quantile(toFloat64(COLUMNS('c') REPLACE (0.5 AS c))) ... HAVING c = 0.5 returns 0, 1, 2. Both match group_by_use_nulls = 0 and are covered in 05617_group_by_use_nulls_matchers_nonconstant_replace_and_deferred_apply.

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.

The nested-matcher registration issue still occurs at 01d6562cc9f9 when the lambda body is itself a matcher:

SELECT * APPLY (x -> COLUMNS('c') REPLACE (100 - c AS c))
FROM (SELECT number AS c FROM numbers(3)) AS t
GROUP BY GROUPING SETS ((t.c))
HAVING c > 98
ORDER BY ALL
SETTINGS group_by_use_nulls = 1;

The current Fast test binary returns no rows; changing only the setting to 0 returns 99, 100. This mismatch also exists on the exact base, so this is a remaining gap in the claimed fix.

At src/Analyzer/Resolve/QueryAnalyzer.cpp:3310, the lambda body is passed to expandMatchersInsideProjectionExpression, but lines 3883–3885 return immediately for its root MatcherNode. Its replacement mapping therefore still reaches HAVING only in the second expansion, where sibling rewrites are suppressed. Handle a matcher at the lambda-body root as well as matchers inside function arguments, with a focused differential test.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

🕵 Fixed in e5b83ed. When the body of a deferred APPLY lambda is a matcher at its root, it is now resolved in the lambda scope, in the discarded copy, instead of being passed to expandMatchersInsideProjectionExpression. Its REPLACE mappings therefore reach HAVING before the second expansion. * APPLY (x -> COLUMNS('c') REPLACE (100 - c AS c)) ... HAVING c > 98 now returns 99, 100 with group_by_use_nulls = 1, the same as with 0. Covered in 05618_group_by_use_nulls_matchers_simultaneous_replace_and_deferred_chains.

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.

[Major] The root-body example is fixed, but nested replacement registration is still skipped at src/Analyzer/Resolve/QueryAnalyzer.cpp:3342–3343 when a later transformer uses both its argument and an independent matcher:

SELECT * APPLY (x -> tuple(x))
         APPLY (x -> tuple(x, max(COLUMNS('c') REPLACE (100 - c AS c))))
FROM (SELECT number AS c FROM numbers(3)) AS t
GROUP BY GROUPING SETS ((t.c))
HAVING c > 98
ORDER BY ALL
SETTINGS group_by_use_nulls = 1;

On the exact e5b83edd3136 Fast test binary this returns no rows; changing only the setting to 0 returns ((0),100) and ((1),99). The new guard skips the entire lambda body after the first deferred transformer, including the independent COLUMNS('c') replacement. That matcher first expands after HAVING has bound c, with sibling rewrites suppressed. Please retain the independent nested matcher's registration while deferring the parts that need the transformed argument, and cover this mixed body in the regression test.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

🕵 Fixed in 7639f21. When a preceding transformer of the chain is deferred, the body of the following APPLY lambda is no longer skipped as a whole. Only the matchers qualified by the argument (x.*) are left out of the discarded copy, since they depend on the unknown result of the preceding transformer. Independent matchers such as max(COLUMNS('c') REPLACE (100 - c AS c)) are now expanded, so their mappings reach HAVING. Your query now returns ((0),100), ((1),99) with group_by_use_nulls = 1, the same as with 0. The same holds for the x.* form tuple(x.*, max(COLUMNS('c') REPLACE (100 - c AS c))). Both are covered in 05828_group_by_use_nulls_matchers_mixed_deferred_apply_body.

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.

[Major] The nested-registration issue remains at 99d46321d91d when the independent matcher is inside a transformer of x.*. At src/Analyzer/Resolve/QueryAnalyzer.cpp:406–407, replaceMatchersQualifiedByIdentifier discards the entire qualified matcher, including that independent transformer body:

SELECT * APPLY (x -> tuple(x))
         APPLY (x -> tuple(x.* APPLY
             (y -> max(COLUMNS('c') REPLACE (100 - c AS c)))))
FROM (SELECT number AS c FROM numbers(3)) AS t
GROUP BY GROUPING SETS ((t.c))
HAVING c > 98
ORDER BY ALL
SETTINGS group_by_use_nulls = 1;

The current Fast test binary returns no rows; changing only group_by_use_nulls to 0 returns (99), (100). A nested REPLACE on x.* reproduces the same gap. The independent mapping first runs after HAVING has resolved, when sibling rewrites are suppressed. Preserve independent transformer descendants when postponing the argument-dependent selector, with a differential regression.

…eys and register nested matchers of deferred `APPLY` under `group_by_use_nulls`

An identifier key of `GROUP BY` that a `REPLACE` transformer rewrites becomes a positional argument
only if the replacement is an integer literal (possibly through another replaced identifier).
Previously any replaced key disabled the deferral of all transformer expressions, so
`SELECT t.c, t.* APPLY (x -> getSubcolumn(x, 'null')), * REPLACE (t.c AS c) ... GROUP BY c WITH ROLLUP`
threw `ILLEGAL_COLUMN`. Now a literal replacement contributes its own position, as a written
positional argument does, and other replacements do not refer to any projection item.

A deferred `APPLY` transformer now expands the matchers inside its expression (the body of a lambda,
with its argument bound to the matched column, or the parameters and arguments of a function) in a
discarded copy, like a deferred `REPLACE`, so that their `REPLACE` mappings rewrite the other clauses,
as `HAVING c` in `SELECT * APPLY (x -> max(COLUMNS('c') REPLACE (100 - c AS c))) ... HAVING c > 98`.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Comment thread src/Analyzer/Resolve/QueryAnalyzer.cpp Resolved
… track deferred chains under `group_by_use_nulls`

- A matcher replaces a GROUP BY identifier at most once (see `replaceIdentifiersWithTransformerMappings`),
  so the chain of replacements that may turn a key into a positional argument continues only through
  the replacements of another matcher. `* REPLACE (d AS c, 1 AS d) ... GROUP BY c` no longer makes `c`
  positional, and an unrelated `APPLY` stays deferred.
- A deferred `APPLY` lambda whose body is itself a matcher, as `x -> COLUMNS('c') REPLACE (100 - c AS c)`,
  now expands that matcher in advance, so its `REPLACE` mappings rewrite the other clauses.
- After a deferred transformer of a chain, the input of a following `APPLY` lambda is unknown; a body that
  refers to the lambda argument (`x -> tuple(x.*)`) is not expanded in advance then, instead of being
  expanded against the original column.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Comment thread src/Analyzer/Resolve/QueryAnalyzer.cpp Resolved
alexey-milovidov and others added 4 commits November 18, 2026 04:48
…Y` and keep the replacement walk linear

- When a preceding transformer of the chain is deferred, the body of a following `APPLY` lambda
  is no longer skipped as a whole if it refers to the argument. Only the matchers qualified by the
  argument (as `x.*`) are left out; the other matchers, as `COLUMNS('c') REPLACE (100 - c AS c)`,
  are expanded in the discarded copy, so their `REPLACE` mappings reach `HAVING` as without
  `group_by_use_nulls`.
- The walk over the `REPLACE` chains that looks for positional arguments of `GROUP BY` follows the
  replacements of each name at most twice, instead of once per producing matcher. With 4000
  matchers `* REPLACE (c AS c)` it was quadratic in time and memory.
- Pass the context to `QueryExpressionsAliasVisitor`, whose constructor changed on master.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
`modernize-use-nodiscard` is enabled on master now, and the `arm_tidy` build
failed on three declarations this PR adds or makes const:
`MatcherNode::isMatchingColumn`, `IdentifierResolveScope::findNullableGroupByKey`
and `IdentifierResolveScope::hasFunctionAlias`.

https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?PR=118476&sha=7639f21316530c21fbd09ed5ec855f2058e12bb0&name_0=PR&name_1=Build%20%28arm_tidy%2C%201%2F4%29
#118476

Co-Authored-By: Claude Fable 5.2 <[email protected]>
@alexey-milovidov

Copy link
Copy Markdown
Member Author

🕵 Pushed 99d4632: merged master (clean merge) and fixed the only red check, Build (arm_tidy, 1-4/4). modernize-use-nodiscard is enabled on master now, and it flagged three declarations of this PR: MatcherNode::isMatchingColumn, IdentifierResolveScope::findNullableGroupByKey and IdentifierResolveScope::hasFunctionAlias; they are marked [[nodiscard]]. All 35 stateless .sql tests of this PR match their references on the merged build.

The remaining open review thread (matchers inside an in-place OVER (...) definition) was handled in a55fb5828dfc — expandMatchersInsideWindowDefinition and the test 05229_group_by_use_nulls_matcher_carriers are still in place after the merge — so it is resolved now.

@@ -4464,7 +5189,8 @@ ProjectionNames QueryAnalyzer::resolveExpressionNode(
}
}

resolved_expressions.emplace(node, result_projection_names);
if (!is_nullable_group_by_key_in_aggregate_function)

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.

[Blocker] Preserve pre-aggregation types across a chain of APPLY transformers

The aggregate-context protection still misses a scalar transformer whose output is consumed by a later aggregate. resolveMatcher resolves the first transformer outside the aggregate at QueryAnalyzer.cpp:3393–3407, so toInt64(number) already contains a nullable grouping key when it becomes the argument of sum. Excluding only a grouping key resolved inside an aggregate from resolved_expressions cannot recover that already-resolved intermediate.

SELECT * APPLY toInt64 APPLY sum
FROM numbers(3)
GROUP BY number WITH ROLLUP
SETTINGS group_by_use_nulls = 1;

Both the current Fast test binary and exact base 521c4bcb7b94 terminate with SIGSEGV in AggregateFunctionNullUnary::addBatchWithNonNullPlaces. The same query with group_by_use_nulls = 0, and the equivalent explicit SELECT sum(toInt64(number)), succeed. APPLY abs APPLY sum reproduces it too. This is pre-existing, but directly exercises the transformer/context invariant being fixed here; it requires no lambda aliases or SQL UDFs, unlike #125852.

Resolve the composed transformer chain in its final aggregate context and add a focused stateless regression, or link a dedicated tracking issue if this pre-existing case is deliberately deferred.

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

comp-query-analyzer Semantic analysis + logical/physical planning + rewrites (Analyzer and Planner modules). pr-bugfix Pull request with bugfix, not backported by default

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants