Skip to content

Backport #116057 to 26.6: Fix ILLEGAL_COLUMN for an empty IN set with ARRAY JOIN - #117639

Merged
clickhouse-gh[bot] merged 2 commits into
26.6from
backport/26.6/116057
Sep 10, 2026
Merged

clickhouse-gh[bot] merged 2 commits into
26.6from
backport/26.6/116057

Conversation

@robot-ch-test-poll4

@robot-ch-test-poll4 robot-ch-test-poll4 commented Sep 2, 2026 •

Copy link
Copy Markdown
Contributor

Original pull-request #116057

This pull-request is a last step of an automated backporting.
Treat it as a standard pull-request: look at the checks and resolve conflicts.
Merge it only if you intend to backport changes to the target branch, otherwise just close it.

The PR source

The PR is created in the CI job

Version info

  • Merged into: 26.6.5.101

@robot-ch-test-poll4 robot-ch-test-poll4 added pr-backport Changes, backported to release branch. Do not use manually - automated use only! pr-bugfix Pull request with bugfix, not backported by default labels Sep 2, 2026
@clickhouse-gh

clickhouse-gh Bot commented Sep 2, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [BackportPR], commit [6a33833]

Summary: ✅

26.7 replaced the `EXPLAIN actions = 1` renderer and started printing
humanized expressions, so on 26.6 the filter column is still the raw DAG node
name -- `in(__table1.a, __set_Int32_...)` instead of `0`, and
`in(__table1.a, __set_<hash>)` instead of `a IN default.t_in_empty_set_storage`.
Two of the three assertions therefore matched nothing.

The behaviour they pin is unchanged on 26.6: the DAG actions show
`COLUMN Const(UInt8) -> in(...)` for the empty literal set (folded) and
`FUNCTION in(...)` for the storage-backed one (kept), so the assertions read
those instead. `count() > 0` also drops the need for the scoping the old
third assertion used against a duplicate `ReadFromRemote*` line.

The reference file and src/Functions/in.cpp are untouched.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
@clickhouse-gh
clickhouse-gh Bot merged commit 424ee23 into 26.6 Sep 10, 2026
38 of 39 checks passed
@clickhouse-gh
clickhouse-gh Bot deleted the backport/26.6/116057 branch September 10, 2026 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-backport Changes, backported to release branch. Do not use manually - automated use only! pr-bugfix Pull request with bugfix, not backported by default

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants