25.3.14 Stable backport of #89367: Crash in IN function where columns have different types and many columns are involved - #1423
Conversation
Crash in IN function where columns have different types and many columns are involved
|
AI audit note: This review comment was generated by AI (gpt-5.3-codex). Audit update for PR #1423 (Crash/UB in Confirmed defects: No confirmed defects in reviewed scope. Coverage summary:
|
QA VerificationFunctional ValidationBug was reproduced in debug build of
Stateless Test Issue (blocker)The new test The same issue was already addressed in the 25.8.12 backport (#1197) via commit CI Failure AnalysisAll other CI failures are pre-existing on the
VerdictFunctionally validated — fix correctly resolves the reported crash. Blocker: stateless test |
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
e8e052d to
2340f85
Compare
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
CI Triage — PR #1423Summary: 2 PR-caused failures, rest are infra/pre-existing
❌ PR-caused:
|
Queries 3 and 4 had the set sizes recorded from a build without the KeyCondition fix (6 and 1). With the fix, rows that cannot be cast to the key column type are filtered out of every set column, so the sets hold 5 and 0 elements.
CI triageVerdict: 5 failing checks — 1 is PR-related (DCO sign-off, a process fix), 4 are not (1 flaky test, 1 image-CVE pair, 1 stress-test job I couldn't read yet but that is almost certainly infra). No code defect in this backport is visible in CI. The change is the upstream ClickHouse#89367 fix verbatim ( 1. DCO — ❗ PR-related (process, not code)State:
Both are authored by @zvonand. Fix: sign those two commits off and update the branch, e.g. git checkout backports/releases/25.3.14/89367
git rebase releases/25.3.14 --rebase-merges \
--exec 'git commit --amend --no-edit --signoff'
git push --force-with-lease(or amend just those two commits with 2. Stateless tests (release) — ✅ not PR-related (flaky)
This is the well-known zero-copy-replication/S3 dedup flake. This PR touches only the IN-function index path ( 3. StressTestDebug / Stress test (debug) —
|
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Possible crash/undefined behavior in IN function where primary key column types are different from IN function right side column types (ClickHouse#89367 by @ilejn)
CI/CD Options
Exclude tests:
Regression jobs to run: