Skip to content

Update the descriptions of the packed String join key settings - #131171

Merged
harikrishnan94 merged 1 commit into
ClickHouse:masterfrom
groeneai:packed-string-keys-settings-descriptions
Nov 13, 2026
Merged

harikrishnan94 merged 1 commit into
ClickHouse:masterfrom
groeneai:packed-string-keys-settings-descriptions

Conversation

@groeneai

@groeneai groeneai commented Nov 13, 2026 •

Copy link
Copy Markdown
Collaborator

Related: #128972

Changelog category (leave one):

  • Not for changelog (changelog entry is not required)

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

...

Description

Replaces the descriptions of enable_packed_string_keys_in_hash_join and min_rows_for_packed_string_keys_in_hash_join, and the 26.11 history reason of enable_packed_string_keys_in_hash_join, with the text from #128972 (comment), word for word. Nothing else changes: the history reason of min_rows_for_packed_string_keys_in_hash_join stays as it is, and the docs pages are left to the autogeneration from Settings.cpp.

Both settings exist only on master (added by #128972), hence Not for changelog.

Validation: the three strings are byte-identical to the comment's blocks, in the source and in system.settings / system.settings_changes of the built binary; the same check fails on the previous master binary. 03999_stateless_settings_history and the settings-history check pass.


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

Version info

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

@groeneai

Copy link
Copy Markdown
Collaborator Author
Internal second-model review: adjudication log (click to expand)

Pre-publication review by an independent model (engine: codex; 0 findings), plus my own cold review (1 nit).
The three strings were compared byte for byte with the blocks of #128972 (comment).

# Sev Finding Verdict Evidence / action
1 💡 src/Processors/QueryPlan/QueryPlanSerializationSettings.cpp:132-133 keeps its own descriptions of both settings in the old wording Noted, not changed They are not shown in any system table, and the request was to change only src/Core/Settings.cpp.

Severity: ❌ blocker / ⚠️ major / 💡 nit. DISAGREE verdicts carry recorded evidence and are
terminal per finding.

Session id: cron:clickhouse-review-slot-10:20261113-011000

@groeneai

Copy link
Copy Markdown
Collaborator Author
Pre-PR validation gate (click to expand)
# Question Answer
a Deterministic repro? N/A (documentation change, no failure). The check is byte-exact: the three strings in Settings.cpp, system.settings and system.settings_changes are compared with the blocks of the requesting comment.
b Root cause explained? N/A (no defect). The requested text is the deliverable.
c Fix matches root cause? Yes: exactly the requested replacement of two descriptions and one 26.11 history reason; nothing else.
d Test intent preserved / new tests added? No new test: description text only, and the request was "Change nothing else". 03999_stateless_settings_history still passes.
e Both directions demonstrated? Yes: the runtime check passes on the new binary and fails on the previous master binary, at the three replaced strings only.
f Fix is general across code paths? N/A (text only). system.settings and system.settings_changes both read the declaration; both checked. The docs pages are generated from Settings.cpp.
g Fix generalizes across inputs (params/datatypes/wrappers)? N/A (text only).
h Backward compatible? (maintainer-approved exception only) Yes: no setting name, type, default, version or value changes.
i Invariants and contracts preserved? Yes: the raw-string framing and the history record structure are unchanged; the settings-history check passes.

Session id: cron:clickhouse-impl-slot-4:20261113-005700

@clickhouse-gh

clickhouse-gh Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [2b15195]

Summary: ✅


AI Review

Summary

Updates the descriptions of enable_packed_string_keys_in_hash_join and min_rows_for_packed_string_keys_in_hash_join, plus the former's settings-history reason, exactly as requested in the linked maintainer comment. The diff changes only descriptive text. No actionable findings.

Final Verdict

Status: ✅ Approve

@clickhouse-gh clickhouse-gh Bot added pr-not-for-changelog This PR should not be mentioned in the changelog can be tested Allows running workflows for external contributors comp-joins JOINs end-to-end (planning hooks + runtime join operators/algorithms). Single bucket to avoid pla... labels Nov 13, 2026
@clickhouse-gh

clickhouse-gh Bot commented Nov 13, 2026

Copy link
Copy Markdown
Contributor

Build profile diff (arm_release)

Comparing 2b1519553 with master 5ea9bec93 (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.61, programs/clickhouse-keeper ×0.65 (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&) 5.6 s 13.1 s +9.7 s (+282%)
programs/clickhouse _ZN6detail10static_forITk7is_enumN2DB23AttributeUnderlyingTypeEZNS1_29callOnDictionaryAttributeType… 3.3 s 7.2 s +5.2 s (+257%)
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

@harikrishnan94

Copy link
Copy Markdown
Contributor

LGTM

@harikrishnan94
harikrishnan94 added this pull request to the merge queue Nov 13, 2026
Merged via the queue into ClickHouse:master with commit 6b300d5 Nov 13, 2026
606 of 608 checks passed
@robot-ch-test-poll robot-ch-test-poll added the pr-synced-to-cloud The PR is synced to the cloud repo label Nov 13, 2026
@ayakovlev-clickhouse

Copy link
Copy Markdown
Contributor

@harikrishnan94
I think I'm a bit late, but still, can you please also update https://clickhouse.com/docs/concepts/features/operations/select/join-settings page and add those new settings to it?

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

can be tested Allows running workflows for external contributors comp-joins JOINs end-to-end (planning hooks + runtime join operators/algorithms). Single bucket to avoid pla... pr-not-for-changelog This PR should not be mentioned in the changelog pr-synced-to-cloud The PR is synced to the cloud repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants