Skip to content

Backport #104785 to 25.8: Fix duplicate arrayJoin execution in JOIN ON with new logical join step - #108571

Merged
tiandiwonder merged 3 commits into
25.8from
backport/25.8/104785
Jul 7, 2026
Merged

tiandiwonder merged 3 commits into
25.8from
backport/25.8/104785

Conversation

@robot-clickhouse

@robot-clickhouse robot-clickhouse commented Jun 26, 2026 •

Copy link
Copy Markdown
Member

Original pull-request #104785
Cherry-pick pull-request #108444

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

@robot-clickhouse robot-clickhouse 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 Jun 26, 2026
@clickhouse-gh

clickhouse-gh Bot commented Jun 26, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [BackportPR], commit [8ccc42b]

tiandiwonder and others added 2 commits June 29, 2026 02:13
…ettings absent on 25.8

The backport of #104785 (#108444) cherry-picked the master regression test
verbatim. Two of its control queries use settings that do not exist on 25.8 —
`enable_join_runtime_filters` and `use_join_disjunctions_push_down` — so the
test aborts with `UNKNOWN_SETTING` on 25.8. Those optimizations are absent on
25.8, so the "off" controls are redundant with the baseline anyway; drop them
and their reference lines. The core fix assertions (ON-side arrayJoin ghost
removed: count = 6 not 18, ARRAY-JOIN plan count = 1 not 2) and the bilateral
both-side cases are kept. Verified the test passes against a locally-built
25.8 `clickhouse` binary.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Fix 03918 arrayJoin-join-on test on 25.8: drop query variants using settings absent on 25.8
@tiandiwonder
tiandiwonder merged commit fbdfa94 into 25.8 Jul 7, 2026
33 checks passed
@tiandiwonder
tiandiwonder deleted the backport/25.8/104785 branch July 7, 2026 09:50
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.

3 participants