Skip to content

Resolve an unqualified matcher inside a lambda from the query scope in PREWHERE - #112898

Open
groeneai wants to merge 8 commits into
ClickHouse:masterfrom
groeneai:fix-matcher-in-lambda-join-using-supertype
Open

groeneai wants to merge 8 commits into
ClickHouse:masterfrom
groeneai:fix-matcher-in-lambda-join-using-supertype

Conversation

@groeneai

@groeneai groeneai commented Aug 1, 2026 •

Copy link
Copy Markdown
Collaborator

Related: #111993

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

Fixes a LOGICAL_ERROR (Unexpected return type from tuple or Cannot capture column) when an unqualified matcher such as * or * EXCEPT c appears inside a lambda body in PREWHERE over a JOIN ... USING (k) whose merged key type differs from the left table's own k, or is the input of another lambda. Such a matcher now expands like the same matcher written directly in PREWHERE, and a lambda in PREWHERE that reads a column of another table is rejected with ILLEGAL_PREWHERE.

Description

On 26.8, SELECT w, a, v FROM r1 INNER JOIN r2 USING (a) PREWHERE ((arrayMap(z -> tuple(* EXCEPT w), [1])[1]).2) != 0 fails with Unexpected return type from tuple when r1.a is UInt32 and r2.a is UInt64. Found by AST fuzzer (amd_debug, targeted, old_compatibility), STID 3262-472c, on #111993 (CI report).

The flag that keeps PREWHERE from rewriting a matched column to the merged USING key is set on the query scope, and a lambda body resolves in a fresh child scope that did not see it. The flag is now read, and the retype's undo entry registered, on the join-owning scope. ReplaceColumnsVisitor binds a lambda's parameters again from the rolled-back arguments of its function before visiting the body (PREWHERE arrayMap(t -> t.2, [tuple(* EXCEPT w)])[1] != 0 failed with Cannot capture column on 26.8).

CollectPrewhereTableExpressionVisitor skipped lambda bodies, so with CROSS JOIN, JOIN ... ON or PASTE JOIN a lambda matcher put the right table's columns in PREWHERE unchecked, failing with NOT_FOUND_COLUMN_IN_BLOCK or Cannot capture column (STID 3293-46fa). It now checks lambda bodies and skips lambda parameters, and getPrewhereTableExpression (sharded GLOBAL JOIN) does the same. A lambda reading only a right-side column now puts PREWHERE on that side, like PREWHERE r2.w != 0.

04647 (#111993) section 12e compared the lambda matcher with explicit columns of the merged key, which agreed only because of this bug; its oracle is now the direct matcher.

On a debug build of master with this branch merged, 04683, 04647 and 05194 pass and fail on master, removing the visitor change or the parameter rebinding reddens the new cells, and 67 other PREWHERE tests with lambdas give identical output.

🤖 Generated with Claude Code


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

…n PREWHERE

An unqualified matcher (`*`, `* EXCEPT c`) inside a lambda body in PREWHERE over
`JOIN ... USING (k)` expanded to the merged USING key instead of each table's own
columns, so the header declared the merged supertype while the read supplied the
table's own column and `columnMatchesType` aborted the server with
`Unexpected return type from tuple`.

The flag that means "you are inside PREWHERE, do not rewrite to the merged key" is
set on the query scope only, and `IdentifierResolveScope`'s constructor does not
propagate it, so a lambda body resolved in a fresh child scope saw its default.
Both rewrite sites reached from `resolveUnqualifiedMatcher` therefore fired:
the merged-key substitution and the matched column's retype. Read the flag and
register the retype's undo entry on the join-owning scope instead, which is where
every other join-state access in that helper already reads from.

Registering the undo entry is only effective if something applies it, and the
PREWHERE rollback did not descend into a lambda body, so `ReplaceColumnsVisitor`
now visits `LAMBDA` and refreshes the lambda's cached result type after its body
is rewritten, mirroring `convertNestedGroupByKeysToNullable`.

The defect is not wrapper-specific: plain `UInt32` against `UInt64` aborts the
same way, and with `String` against `Nullable(String)` the mismatch is inverted.
The condition is that the USING supertype differs from the left column's own type.

Co-Authored-By: Claude Fable 5 <[email protected]>
@groeneai

groeneai commented Aug 1, 2026

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

Two independent reviews of this change before publication: a cold read of the resulting code by a
reviewer who did not write it, and a separate second-model gate over the same diff. The gate
returned no findings. The cold review raised five, adjudicated below. Nothing in the source or
tests changed as a result; all three accepted findings were about what the description claims.

# Finding Verdict
❌ No CI provenance for a fuzzer-found abort. The description named neither the check, the STID, nor the report URL. Accepted. The description now names AST fuzzer (amd_debug, targeted, old_compatibility), STID 3262-472c, and the full canonical report URL.
❌ The description said the LOGICAL_ERROR "aborts the server", unqualified, under a stable-release Bug Fix category. Exception.cpp:108 aborts only when debug_or_sanitizer_build || abort_on_logical_error; in a release build the exception is handled and the server keeps running, so the release-build symptom is a failed query. Accepted. Both the changelog entry and the description now say the query fails and the server aborts in debug and sanitizer builds.
⚠️ A sibling shape survives this change and was not disclosed: LEFT JOIN ... ON with join_use_nulls = 1 and the same matcher-in-a-lambda in PREWHERE still reports Cannot capture column, byte-identically before and after. Its promotion happens at a third site, resolveMatcher's join_use_nulls loop, which registers its undo entry on the lambda scope via convertJoinedColumnTypeToNullIfNeeded. Accepted as a disclosure, not as scope. The description now states that the ON sibling is promoted at a third site and is not fixed here. The change was deliberately not widened: this PR's contract is JOIN ... USING, and #111993 addresses the ON / join_use_nulls channel by suppressing the promotion outright.
💡 ReplaceColumnsVisitor refreshes the lambda's return type but not its argument types, so a rollback that retyped a mapped array argument would leave LambdaArgumentsNode::types stale. Not accepted. Pre-existing and unchanged: LAMBDA_ARGS is absent from needChildVisit both before and after, and the array argument was already reachable as a direct COLUMN child. Outside this change's contract, which is a return-type property.
💡 Moving the undo-entry registration to the query scope also makes it visible to the other reader of that map, resolvedIdenfiersFromJoinAreEquals, which decides AMBIGUOUS_IDENTIFIER. Not accepted. The entry maps a matched column at the USING supertype back to the left key, which is the mapping IdentifierResolver.cpp:1393 already establishes on the query scope for the same situation, so no new equality is reported. The three-table CROSS JOIN-beside-USING shapes are byte-identical across arms, and 04329_qualified_asterisk_join_using_nullable_key, whose PREWHERE assertions target exactly this reader, is inside the regression sweep with no change.

Session id: cron:clickhouse-review-slot-9:20260801-104300

@groeneai

groeneai commented Aug 1, 2026

Copy link
Copy Markdown
Collaborator Author
Pre-PR validation gate (click to expand)
# Question Answer
a Deterministic repro? Yes. One clickhouse local invocation on a pristine master debug build aborts with RC=134 and Logical error: 'Unexpected return type from tuple. Expected Tuple(UInt64, Int16). Got Tuple(UInt32, Int16)'. No randomization, no fuzzer, no server needed. The pristine build is the nightly master snapshot verified at exactly this PR's base commit with all six carrier files md5-identical to git show HEAD:.
b Root cause explained? Yes. allow_resolve_from_using means "you are inside PREWHERE, do not rewrite a matched column to the merged USING key". resolveQuery sets it false on the query scope, and IdentifierResolveScope's constructor does not propagate it, so a lambda body resolved in a fresh child scope saw the default true. Both rewrite sites reached from resolveUnqualifiedMatcher therefore fired: the merged-key substitution and the matched column's retype. The physical read still supplies the table's own column, so the folded tuple carries UInt32 where the node declares UInt64 and columnMatchesType aborts in applyPrewhereActions.
c Fix matches root cause? Yes. The flag and the retype's undo entry are read and written on the join-owning scope, which is where every other join-state access in that helper already reads from, and the PREWHERE rollback that consumes the undo entry is completed so it reaches a lambda body. Not the abort site: #109747 patches that site and was measured not to fix this. Not a LowCardinality reconciliation: the carrier has no wrapper. Not a suppression of the retype: suppressing it was measured to break the non-lambda matcher in PREWHERE with Code: 182 ILLEGAL_PREWHERE.
d Test intent preserved / new tests added? Yes. New 04683_matcher_in_lambda_join_using_supertype.{sql,reference} with 41 assertion groups. No existing test was modified, no reference regenerated, no assertion bound widened, no no-random-* tag added. A 219-test sweep over USING, PREWHERE, higher-order-function and join_use_nulls tests shows every one of them keeping its exact behaviour.
e Both directions demonstrated? Yes. A 62-case matrix run as one process per case: 16 aborts before the change, 0 after, with 15 cases going 134 to 0 and 43 byte-identical. The committed test itself aborts the pre-fix build at its first assertion and passes on the fixed build. Both arms had the served buildId() asserted equal to readelf -n.
f Fix is general across code paths? Yes. One shared lambda resolution path carries every higher-order function, so arrayMap, arrayFilter, arrayExists, arraySort and nested lambdas are all covered and asserted. The symmetric read in IdentifierResolver was examined and deliberately left alone: it refuses to resolve from a join tree unless the scope node is a query node, so it never sees a lambda scope. The qualified-matcher branch is byte-identical. All three writers of the replacement map are exercised, and the Cannot capture column sibling shape is asserted.
g Fix generalizes across inputs (params/datatypes/wrappers)? Yes. Wrapper-free UInt32 against UInt64 (the most important carrier, since the defect is not wrapper-specific), LowCardinality(String), LowCardinality(Nullable(String)), and String against Nullable(String) where the mismatch is inverted; INNER, LEFT, RIGHT, FULL and NATURAL joins; single-key, multi-key and USING (a AS a); *, * EXCEPT c, COLUMNS(...) and APPLY; join_use_nulls on and off; no join at all and CROSS JOIN; a lambda referencing its own argument; and a subquery inside a lambda.
h Backward compatible? (maintainer-approved exception only) Yes. No setting is added or defaulted differently, and there is no serialization, format or protocol change, so no SettingsChangesHistory.cpp entry and no experimental gate apply. A query that aborted now succeeds; every query that succeeds today keeps its exact result and type, which is what the 43 byte-identical matrix cases and the zero-regression sweep establish.
i Invariants and contracts preserved? Yes. The invariant restored is the documented PREWHERE one already stated in resolveQuery: an expression in PREWHERE over a join must not change its type to the supertype of the joined columns. The new LOGICAL_ERROR in the visitor mirrors the in-tree precedent 40 lines away in the same file and is unreachable for a well-formed resolved tree: all 41 assertion groups pass, and each of the four mutation arms fails on the target assertion rather than on that throw. No lock, allocation, lifetime or concurrency surface is touched; this is single-threaded analysis-time query-tree code.

Session id: cron:clickhouse-impl-slot-41:20260801-092400

@groeneai

groeneai commented Aug 1, 2026

Copy link
Copy Markdown
Collaborator Author

cc @novikd @yakov-olkhovskiy, could you review this? allow_resolve_from_using (the "you are inside PREWHERE, do not rewrite a matched column to the merged USING key" flag) is set on the query scope and is not propagated by IdentifierResolveScope's constructor, so a matcher inside a lambda body resolves through a fresh child scope, sees the default true, and takes the merged key while the physical read still supplies the table's own column. This reads the flag and registers the retype's undo entry on the join-owning scope, and completes the PREWHERE rollback so it descends into a lambda body.

@PedroTadim PedroTadim added the can be tested Allows running workflows for external contributors label Aug 1, 2026
@clickhouse-gh

clickhouse-gh Bot commented Aug 1, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [1f2486e]

Summary: ❌

job_name test_name status info comment
Stateless tests (arm_binary, AsyncInsert, s3 storage, parallel) FAIL
05386_webterminal_close_during_query FAIL cidb
Some queries hung FAIL cidb

AI Review

Summary

This PR makes unqualified matchers inside lambdas honor the query scope's PREWHERE rules, rebinds lambda parameters after column-type rollback, and includes lambda bodies when identifying the table filtered by PREWHERE. Review of commit 1f2486e6d027e62dc190134ecf79513dc445a4f7 found no unresolved actionable issues. The earlier review concerns are addressed in the current code. Tests 04683, 04647, and 05194 match their references on the current head's CI fast-test binary; additional probes cover tuple destructuring, multiple arrays, arrayFold, map functions, nested lambdas, and alias isolation.

Final Verdict

Status: ✅ Approve

@clickhouse-gh clickhouse-gh Bot added the pr-bugfix Pull request with bugfix, not backported by default label Aug 1, 2026
The two join_use_nulls cells read only preserved-side columns, so neither could
observe a nullable rewrite. Under LEFT JOIN both `a` and `v` come from the
preserved left table and stay non-Nullable, and the ON case read `v` from the
left side too, so it produced the same row count on either side of the fix.

Add RIGHT and FULL shapes, where the left table's `v` is the non-preserved
column and the replacement map really carries a `Nullable(Int16)` entry for it,
and assert the resolved type through `EXPLAIN QUERY TREE` rather than only a row
count. The lambda body must converge on the direct form's `Int16` after the
rollback, so the direct form rides along as the oracle.

The pre-existing USING cell is kept: it does redden, on the supertype carrier
rather than on nullability, which is the only thing a preserved-side shape can
assert.

Co-Authored-By: Claude Fable 5 <[email protected]>
@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: 18/20 (90.00%) · Uncovered code

Full report · Diff report

@groeneai

groeneai commented Aug 1, 2026

Copy link
Copy Markdown
Collaborator Author

CI finish ledger - 08cba22

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
Stress test (amd_debug) / Logical error: Cannot capture column 2 because it has incompatible type: got Tuple(UInt32, Int16, UInt32), but Tuple(UInt32, Int16, UInt64) is expected (STID 3293-46fa) pre-existing trunk defect, not caused by this PR: the same signature has 11 hits across 9 unrelated PRs in 30 days including a master hit (Stress test (arm_tsan), 2026-07-28), and the fix for it is not on this branch. #111993 (ours, open)

Not caused by this PR: #111993 is the fixing PR for that FunctionCapture capture-type
mismatch, and its head is not an ancestor of this commit (the two branches are diverged), so
this build predates the fix. The remaining 155 completed check-runs are green and 18 are
skipped by configuration; Config Workflow and Finish Workflow both succeeded. Every other
Stress test (*) and AST fuzzer (*) flavour passed on this commit.

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

@groeneai

groeneai commented Aug 1, 2026

Copy link
Copy Markdown
Collaborator Author

CI finish ledger - 08cba22

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.

CI is terminal on this head (174 check-runs, 0 queued or in progress, Config Workflow and Finish Workflow green). One failure:

Check / test Reason Owner / fixing PR
Stress test (amd_debug) / Logical error: Cannot capture column ... incompatible type (STID 3293-46fa), here got Tuple(UInt32, Int16, UInt32), but Tuple(UInt32, Int16, UInt64) is expected pre-existing trunk bug, not caused by this PR: 12 hits across 9 distinct carriers in 30 days, including two on master (d31e1648c286 2026-08-01 18:54Z and a54c063745 2026-07-28), and it fired on #111993 itself before this branch existed #111993 (ours, open)

On the overlap with this PR's own scope: this PR's description already records that the ON-join sibling reporting Cannot capture column is promoted at a third site and is not addressed here, so the row above is not a regression introduced by this change and its owner is the family PR rather than this one.

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

@groeneai groeneai added the groeneai-origin-ci-master PR origin: master/nightly CI monitoring finding label Aug 19, 2026
@clickhouse-gh clickhouse-gh Bot added the comp-query-analyzer Semantic analysis + logical/physical planning + rewrites (Analyzer and Planner modules). label Sep 4, 2026
@serxa serxa assigned serxa and unassigned serxa Sep 21, 2026

@Ergus Ergus 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.

With this PR, a lambda matcher there honours the flag, which is the intended behaviour. No test covers it.

-- join actually widens: under LEFT JOIN both `a` and `v` come from the preserved left table and stay
-- non-Nullable, which is why the supertype carrier below is the only thing a LEFT shape can assert.
SELECT 'join_use_nulls with USING';
SELECT count() FROM r1 LEFT JOIN r2 USING (a)

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.

The new test seeds the fuzzer into a sibling abort. The PREWHERE single-table check skips lambda bodies.

  • CollectPrewhereTableExpressionVisitor::needChildVisit excludes LAMBDA.
  • The fuzzer turns USING (a) into ON`` or CROSS/PASTE joins. The lambda matcher then expands to r2.a in PREWHERE`, and the right-table column passes the check unseen.
  • The direct form is rejected correctly. Checked with the local master clickhouse local:
  • ... r1 CROSS JOIN r2 PREWHERE ((tuple(* EXCEPT w)).2) != 0 gives ILLEGAL_PREWHERE: Invalid column __table2.a in PREWHERE.
  • ... PREWHERE ((arrayMap(z -> tuple(* EXCEPT w), [1])[1]).2) != 0 gives NOT_FOUND_COLUMN_IN_BLOCK ... tuple(__table1.a, __table1.v, __table2.a).
  • Fuzzer variants of the lambda form escalate to Cannot capture column (STID 3293-46fa).
  • The defect is pre-existing: Fix wrong result and LOGICAL_ERROR for a matcher inside a lambda with join_use_nulls / group_by_use_nulls #111993's own fuzzer run hit it on 2026-07-27 with a PASTE JOIN shape. This PR's test makes it reachable in every Stress and AST fuzzer run, so after merge it will recur on unrelated PRs.
  • The PR's own contract is that the lambda form expands exactly like the direct form, so this sibling is in scope.

Fix:

in that visitor, descend into LAMBDA and skip columns whose source is a LambdaNode. Add the CROSS JOIN and ON lambda cells above with -- { serverError ILLEGAL_PREWHERE }.

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.

Thanks, done.

  • CollectPrewhereTableExpressionVisitor now descends into LAMBDA and skips columns whose source is the lambda's arguments (LAMBDA_ARGS) (5962194). The CROSS JOIN, ON and PASTE JOIN lambda cells are in 04683 with -- { serverError ILLEGAL_PREWHERE }; without the visitor change the CROSS JOIN cell fails with NOT_FOUND_COLUMN_IN_BLOCK.
  • getPrewhereTableExpression in Analyzer/Utils.cpp (sharded GLOBAL JOIN) skipped lambdas the same way, so a right-side PREWHERE inside a lambda kept the GLOBAL RIGHT JOIN on the initiator while the direct form was sent to the shards. It descends too now, and 05194 pins that both plans agree (c1ffd7b).
  • As with the direct form, a lambda that reads only a right-side column now gets PREWHERE on that side (PREWHERE r2.w != 0 already does); master fails it with NOT_FOUND_COLUMN_IN_BLOCK. Check PREWHERE column support inside lambda bodies #114721 made the same visitor change and was closed as not to be supported. If you would rather refuse this case, I will.

I merged master, because the fix has to change 04647, which only exists there:

On the review summary: the only other place that clears the flag on master is the JOIN USING alias probe (#123103). A lambda there is not observable: getExpressionSource refuses any expression that holds a lambda, so arrayMap(z -> tuple(*), [1]) AS k ... USING (k) is Code: 47 with and without this PR, for a qualified matcher and over a single JOIN as well. If you meant another place, tell me which and I will add the test.

groeneai and others added 5 commits October 22, 2026 11:34
`CollectPrewhereTableExpressionVisitor` did not descend into `LAMBDA`, so a column read only inside
a lambda body escaped the check that PREWHERE reads one table. Once an unqualified matcher in a
lambda expands like the direct one, `CROSS JOIN`, `JOIN ... ON` and `PASTE JOIN` put the right
table's columns there, and the query failed later with `NOT_FOUND_COLUMN_IN_BLOCK` or a
`Cannot capture column` logical error instead of `ILLEGAL_PREWHERE`. Lambda parameters are
skipped by their `LAMBDA_ARGS` source, as `CollectSourceColumnsVisitor` does.

04647 section 12e compared a lambda matcher in PREWHERE with explicit columns of the merged USING
key, which the lambda form matched only because of the scope bug fixed in this PR. Its oracle is
now the same matcher written directly in PREWHERE. In 04683 the expansion under
`analyzer_compatibility_join_using_top_level_identifier` follows master after ClickHouse#123103.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
`getPrewhereTableExpression`, which decides whether a sharded `GLOBAL JOIN` is rewritten and whether
PREWHERE moves into the broadcast subquery, skipped lambda bodies too. A PREWHERE that reads the
right table only inside a lambda was treated as columnless, so the `GLOBAL RIGHT JOIN` stayed on
the initiator while the same predicate without the lambda is sent to the shards. 05194 now pins
that the two plans agree.

Since PREWHERE is resolved with `join_use_nulls` disabled, the 04683 cells that read a
non-preserved column under `join_use_nulls` pass on master and without the lambda descent of
`ReplaceColumnsVisitor`, so they are removed. 04683 also covers `PASTE JOIN` and a lambda that
reads only the right table.

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

clickhouse-gh Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Build profile diff (arm_release)

Commit 1f2486e6d027e62dc190134ecf79513dc445a4f7 was not compared: the CI logs cluster did not answer (exception 241, code 500: { "meta": [ { "name": "file", "type": "LowCardinality(String)" …).

See the job log for details.

The PREWHERE rollback (`ReplaceColumnsVisitor`) gives the columns of a JOIN USING
key back their pre-join types and re-resolves the functions above them, but a
higher-order function kept its lambdas bound to the supertype. When the rolled-back
expression feeds a lambda, the lambda parameter and the array element disagree:

    SELECT count() FROM r1 INNER JOIN r2 USING (a)
    PREWHERE arrayMap(t -> t.2, arrayMap(z -> tuple(* EXCEPT w), [1]))[1] != 0;
    -- Logical error: 'Cannot capture column 2 because it has incompatible type:
    -- got Tuple(UInt32, Int16, UInt32), but Tuple(UInt64, Int16, UInt64) is expected.'

The same happens on master with a direct matcher,
`PREWHERE arrayMap(t -> t.2, [tuple(* EXCEPT w)])[1] != 0`.

Now a higher-order function recomputes the parameter types of its lambdas with
`getLambdaArgumentTypes` from its rewritten arguments and visits the lambda bodies
after that, so the parameters, the body and the lambda type follow the rolled-back
input. Reported by the AI review on ClickHouse#112898.

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

Copy link
Copy Markdown
Collaborator Author

The producer/consumer query raised Cannot capture column 2 on 334ae59; fixed in 1f2486e (the PREWHERE rollback now binds a lambda's parameters again from the rolled-back arguments of its function), with the query added to 04683.

@groeneai

Copy link
Copy Markdown
Collaborator Author

CI finish ledger - 1f2486e

Every failure below has an owner: a fixing PR (mine 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, AsyncInsert, s3 storage, parallel) / 05386_webterminal_close_during_query flaky, not from this PR (it changes only the analyzer/planner PREWHERE matcher code and its tests): a web terminal closed during a query leaves the query running; reruns with the same settings passed 41/41; 30 days: 4 PRs and 1 master run #126995 (mine, open)
Stateless tests (arm_binary, AsyncInsert, s3 storage, parallel) / Some queries hung the only hung query in the processlist dump is the 05386 query above (log_comment = 'webterminal_close_test_a3o0z2t4e8o3', elapsed 1534 s) #126995 (mine, open)
Mergeable Check, PR praktika rollups of the rows above #126995 (the owner of the rows above)

Fast test, Style check, both Bugfix validation (functional tests, *) jobs, all five flaky checks, both targeted AST fuzzer (amd_debug, *) jobs and Stress test (amd_tsan) passed. CIDB has no other FAIL or ERROR row on this head.

Session id: cron:our-pr-ci-monitor:20261022-183007

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-query-analyzer Semantic analysis + logical/physical planning + rewrites (Analyzer and Planner modules). groeneai-origin-ci-master PR origin: master/nightly CI monitoring finding pr-bugfix Pull request with bugfix, not backported by default

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants