Skip to content

Bugfix/antalya 26.6/distributed global right join test - #2315

Draft
ianton-ru wants to merge 3 commits into
antalya-26.6from
bugfix/antalya-26.6/distributed-global-right-join-test
Draft

Bugfix/antalya 26.6/distributed global right join test#2315
ianton-ru wants to merge 3 commits into
antalya-26.6from
bugfix/antalya-26.6/distributed-global-right-join-test

Conversation

@ianton-ru

Copy link
Copy Markdown

Solved #1664

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 to CHANGELOG.md):

Fix distributed global right join

Documentation entry for user-facing changes

Swap left and right tables for distributed right join.
Fix for object_storage_cluster_join_mode='global' - it was broken after frontports and executed as local.

CI/CD Options

Exclude tests:

  • Fast test
  • Integration Tests
  • Stateless tests
  • Stateful tests
  • Unit tests
  • Performance tests
  • Aarch64 tests
  • All with ASAN
  • All with TSAN
  • All with MSAN
  • All with UBSAN
  • All with Coverage
  • All Regression
  • Disable CI Cache

Regression jobs to run:

  • Fast suites (mostly <1h)
  • Aggregate Functions (2h)
  • Alter (1.5h)
  • Benchmark (30m)
  • CAS (content-addressed storage; Antalya only)
  • ClickHouse Keeper (1h)
  • Iceberg (2h)
  • LDAP (1h)
  • OAuth (5m)
  • Parquet (1.5h)
  • RBAC (1.5h)
  • SSL Server (1h)
  • S3 (2h)
  • S3 Export (2h)
  • Swarms (30m)
  • Tiered Storage (2h)

ianton-ru and others added 3 commits September 4, 2026 13:30
The expected result matches initiator-side join semantics; the test currently fails because shards emit extra unmatched right-side rows.

Related: #1664
Co-authored-by: Cursor <cursoragent@cursor.com>
Broadcast the original left table and keep the preserved right side sharded, so unmatched right rows are not duplicated on every shard.

Related: #1664
Co-authored-by: Cursor <cursoragent@cursor.com>
After ClickHouse#94748 the planner always wrapped the left cluster source, so
object_storage_cluster_join_mode='global' never saw the JOIN and ran
on the initiator. Keep wrapping for allow/local and for RIGHT/FULL to
avoid duplicated unmatched rows.

Co-authored-by: Cursor <cursoragent@cursor.com>
@github-actions

github-actions Bot commented Sep 4, 2026

Copy link
Copy Markdown

Workflow [PR], commit [5ca17e5]

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