Skip to content

Mark grace_hash_join_{initial_buckets,max_buckets} non experimental - #130494

Merged
antaljanosbenjamin merged 2 commits into
masterfrom
mark-grace-hash-join-settings-non-experimental
Nov 10, 2026
Merged

antaljanosbenjamin merged 2 commits into
masterfrom
mark-grace-hash-join-settings-non-experimental

Conversation

@antaljanosbenjamin

@antaljanosbenjamin antaljanosbenjamin commented Nov 10, 2026 •

Copy link
Copy Markdown
Member

Changelog category (leave one):

  • Improvement

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

Settings grace_hash_join_initial_buckets and grace_hash_join_max_buckets are no longer experimental and can be changed without enabling experimental features.


Workflow [PR]
Sync PR [sync-upstream/pr/130494]

Version info

  • Merged into: 26.11.1.1883-master (included in 26.11 and later)

@clickhouse-gh

clickhouse-gh Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [c69f58f]

Summary: ✅


AI Review

Summary

PR #130494 promotes grace_hash_join_initial_buckets and grace_hash_join_max_buckets to production settings, preserving their types and defaults and recording the promotion in the settings history. Reviewed commit c69f58f25acebaecc6fc295c4b1a7001a2fafe72, the current code, and all prior discussion. No actionable findings.

Missing context / blind spots
  • ⚠️ No local ClickHouse binary or build was available, so runtime tests were not run locally. The available CI reports contain no failed tests; a focused run with allow_feature_tier = 3 would directly confirm both settings accept nondefault values.
Final Verdict

Status: ✅ Approve.

@clickhouse-gh clickhouse-gh Bot added pr-improvement Pull request with some product improvements comp-joins JOINs end-to-end (planning hooks + runtime join operators/algorithms). Single bucket to avoid pla... labels Nov 10, 2026
Comment thread src/Core/Settings.cpp Resolved
@clickhouse-gh

clickhouse-gh Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Build profile diff (arm_release)

Comparing c69f58f25 with master 31dd125f5 (stripped binary size, per-symbol sizes and ThinLTO time; compile times per translation unit against the most recent warmup build that recompiled it).

✅ No significant changes.

Binary sizes

programs/clickhouse-stripped: smaller than the master baseline by the known offset between the two builds, so the difference is not shown. A delta that differs from the offset by more than 50% of it is shown, in either direction.

The official master build is compiled with -g and a pull request build is not, and XRay counts debug instructions towards its instrumentation threshold, so master instruments thousands of functions more and its binary is ~0.4% larger no matter what the pull request does.

Slowest function optimization changes (ThinLTO)

Median per-function time ratio to the master baseline: programs/clickhouse ×0.88, programs/clickhouse-keeper ×1.05 (each binary is linked separately, on a different machine and with different build flags); deltas below are relative to it.

Binary Function Master PR Δ vs median
programs/clickhouse DB::registerFunctionConversion(DB::FunctionFactory&) 7.9 s 15.9 s +9.0 s (+131%)
Compile time of recompiled translation units

7 translation units recompiled, 13 s compile time in total, 7 of them have a recent master baseline.

Job report

@antaljanosbenjamin antaljanosbenjamin changed the title Mark `grace_hash_join_{initial_buckets,max_buckets} non experimental Mark grace_hash_join_{initial_buckets,max_buckets} non experimental Nov 10, 2026
@antaljanosbenjamin
antaljanosbenjamin added this pull request to the merge queue Nov 10, 2026
Merged via the queue into master with commit be8872c Nov 10, 2026
187 checks passed
@antaljanosbenjamin
antaljanosbenjamin deleted the mark-grace-hash-join-settings-non-experimental branch November 10, 2026 18:29
@robot-ch-test-poll3 robot-ch-test-poll3 added the pr-synced-to-cloud The PR is synced to the cloud repo label Nov 10, 2026
@robot-clickhouse robot-clickhouse added the pr-must-backport-synced The `*-must-backport` labels are synced into the cloud Sync PR label Nov 11, 2026
@robot-clickhouse robot-clickhouse added the pr-backports-created Backport PRs are successfully created, it won't be processed by CI script anymore label Nov 11, 2026
clickhouse-gh Bot added a commit that referenced this pull request Nov 11, 2026
Backport #130494 to 26.9: Mark `grace_hash_join_{initial_buckets,max_buckets}` non experimental
clickhouse-gh Bot added a commit that referenced this pull request Nov 11, 2026
Backport #130494 to 26.10: Mark `grace_hash_join_{initial_buckets,max_buckets}` non experimental
leshikus pushed a commit that referenced this pull request Nov 13, 2026
leshikus pushed a commit that referenced this pull request Nov 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp-joins JOINs end-to-end (planning hooks + runtime join operators/algorithms). Single bucket to avoid pla... pr-backports-created Backport PRs are successfully created, it won't be processed by CI script anymore pr-improvement Pull request with some product improvements pr-must-backport-synced The `*-must-backport` labels are synced into the cloud Sync PR pr-synced-to-cloud The PR is synced to the cloud repo v26.8-must-backport

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants