Skip to content

Fix 03918 arrayJoin-join-on test on 25.8: drop query variants using settings absent on 25.8 - #108785

Merged
tiandiwonder merged 1 commit into
backport/25.8/104785from
fix-03918-arrayjoin-test-25.8
Jun 29, 2026
Merged

tiandiwonder merged 1 commit into
backport/25.8/104785from
fix-03918-arrayjoin-test-25.8

Conversation

@tiandiwonder

Copy link
Copy Markdown
Contributor

Related: #104785
Related: #108444

The backport of #104785 to 25.8 (#108444) cherry-picked the master regression test
03918_arrayjoin_join_on_duplicate_execution 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 when 25.8 runs
the full stateless (long) suite. Those optimizations are absent on 25.8, so the "filters off"
/ "disjunction push-down off" controls are redundant with the baseline there; this drops the two
queries and their reference lines.

The load-bearing coverage of the fix is preserved: the correctness assertion
(baseline_new=1 → 6, not 18), the mechanism assertion (arrjoin_count_in_plan_new=1 → 1,
not 2, i.e. the ON-side arrayJoin ghost is actually removed), and the bilateral cases (which
exercise both the left- and right-side push-down paths). Verified the adapted test passes against
a locally-built 25.8 clickhouse binary.

Changelog category (leave one):

  • CI Fix or Improvement (changelog entry is not required)

Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):

Not required (test-only fix for the 25.8 backport).

Documentation entry for user-facing changes

  • Documentation is written (not required — test-only change)

…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]>
@tiandiwonder
tiandiwonder merged commit 8ccc42b into backport/25.8/104785 Jun 29, 2026
@tiandiwonder
tiandiwonder deleted the fix-03918-arrayjoin-test-25.8 branch June 29, 2026 02:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant