Skip to content

Docs: regenerate reference documentation from source - #131561

Merged
Blargian merged 4 commits into
masterfrom
robot/docs-autogen
Nov 14, 2026
Merged

Blargian merged 4 commits into
masterfrom
robot/docs-autogen

Conversation

@clickhouse-gh

@clickhouse-gh clickhouse-gh Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

This pull request is opened automatically by the nightly documentation
autogeneration workflow. It regenerates settings, functions, SQL statements,
table and database engines, data types, formats, table functions, window
functions, dictionary sources and layouts, system tables, and asynchronous
metrics from the structured documentation embedded in the ClickHouse source and
exposed through the corresponding system.* tables.

The generator preserves page frontmatter and hand-written content outside the
{/*AUTOGENERATED_START*/} / {/*AUTOGENERATED_END*/} regions. Some pages are
fully generated below their frontmatter. Do not edit generated content by hand --
edit the structured documentation in the defining source code instead; the next
nightly run regenerates the pages.

Changelog category (leave one):

  • Documentation (changelog entry is not required)

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


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

Version info

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

@clickhouse-gh clickhouse-gh Bot added the pr-autogenerated-docs PR that regenerates docs artifacts from source; exempt from the autogenerated-region edit guard label Nov 14, 2026
@clickhouse-gh

clickhouse-gh Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor Author

Workflow [PR], commit [62e59f6]

Summary: ✅


AI Review

Summary

This PR regenerates reference documentation and settings navigation from source. One existing documentation finding remains valid at 62e59f69e3f06f47c23df7ea45602f14b88ead4b; no new inline findings were identified.

Findings

⚠️ Majors

  • docs/reference/settings/session-settings/enable.mdx:553 — The description of the default-enabled enable_packed_string_keys_in_hash_join removes the collision warning and exact-comparison opt-out. PackedStringJoinKey::build still represents strings of at least 16 bytes by a hash with one flag bit, so different strings sharing the remaining 127 bits compare equal. Describing only speed and memory benefits hides that result-correctness tradeoff. Restore a concise warning and the enable_packed_string_keys_in_hash_join = 0 opt-out in the setting's DECLARE documentation in src/Core/Settings.cpp, then regenerate the page. Existing inline finding; left open without a duplicate comment.
Final Verdict

⚠️ Request changes — Restore the warning and opt-out in the source documentation and regenerate the affected page.

@clickhouse-gh clickhouse-gh Bot added the pr-documentation Documentation PRs for the specific code PR label Nov 14, 2026
<VersionHistory rows={[{"id": "row-1","items": [{"label": "26.11"},{"label": "1"},{"label": "New setting to make hash joins on a single `String` key faster and use less memory."}]}]}/>

In `hash`, `parallel_hash` and `grace_hash` joins on a single `String` key, store each key in the hash table as a 16-byte value. This includes a join with `OR` whose every condition has a single `String` key. It also includes a `hash` or `parallel_hash` join after it is converted to `grace_hash` to spill to disk.
Makes `hash`, `parallel_hash` and `grace_hash` joins on a single `String` or `Nullable(String)` key faster and lowers their memory use. A join with `OR` qualifies when each of its conditions has a single such key.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Major] Retain the warning about approximate equality for long join keys

This removes both the collision warning and the instruction to disable enable_packed_string_keys_in_hash_join for exact comparison. The implementation still has that tradeoff: PackedStringJoinKey::build in src/Interpreters/HashJoin/KeyGetter.h stores strings of 16 bytes or more as a hash with one flag bit, and different strings sharing the remaining 127 bits are treated as equal. Since this setting is enabled by default, describing it solely as a speed/memory improvement hides a result-correctness tradeoff. Please restore a concise warning and the enable_packed_string_keys_in_hash_join = 0 opt-out in the setting's DECLARE documentation in src/Core/Settings.cpp, then regenerate this page.

@mintlify

mintlify Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
ClickHouse-docs 🟢 Ready View Preview Nov 14, 2026, 8:55 PM

@clickhouse-gh

clickhouse-gh Bot commented Nov 14, 2026

Copy link
Copy Markdown
Contributor Author

Build profile diff (arm_release)

Comparing 56ceb4686 with master 83b6da032 (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.60, programs/clickhouse-keeper ×0.66 (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&) 6.0 s 12.2 s +8.6 s (+238%)
programs/clickhouse _ZN6detail10static_forITk7is_enumN2DB23AttributeUnderlyingTypeEZNS1_29callOnDictionaryAttributeType… 3.5 s 8.3 s +6.2 s (+298%)
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

huldarchen pushed a commit to huldarchen/ClickHouse that referenced this pull request Nov 14, 2026
…eberg_pruning docs

The description of `use_join_runtime_filters_for_iceberg_pruning`, extended in
ClickHouse#130906, linked the format setting `input_format_parquet_page_filter_push_down`
with a bare `#anchor`. The docs generator resolves a bare fragment only within
the page's own settings family, so it was emitted as
`/reference/settings/session-settings/other#input_format_parquet_page_filter_push_down`,
a page without that heading, and the link check of the daily reference-docs
regeneration PR failed:

    [./reference/settings/session-settings/use.mdx]:
    [ERROR] reference/settings/session-settings/other#input_format_parquet_page_filter_push_down (at 175:425) | Cannot find fragment

https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?PR=131561&sha=7b75bf04b887453e5e5380b7b979224f0182829c&name_0=PR&name_1=Docs%20check%20%28Mintlify%29

Use the absolute shard route, as the first link of the same sentence already
does, and repair the garbled clause "pages that and": page pruning by the
runtime filter needs both Parquet filter push-down settings.

Validated by regenerating the docs locally with the generator the robot runs
and running `lychee_check.py --mode links`: 1 error (the one above) with the
base binary, 0 errors with the fixed one.

Related: ClickHouse#130906
Related: ClickHouse#131561

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@Blargian
Blargian enabled auto-merge November 14, 2026 20:54
@Blargian
Blargian added this pull request to the merge queue Nov 14, 2026
Merged via the queue into master with commit e6256de Nov 14, 2026
192 checks passed
@Blargian
Blargian deleted the robot/docs-autogen branch November 14, 2026 21:17
@robot-ch-test-poll robot-ch-test-poll added the pr-synced-to-cloud The PR is synced to the cloud repo label Nov 14, 2026

This branch was successfully deployed

1 active deployment
staging - docs — 62e59f69 Deployed Nov 14, 2026 by mintlify[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-autogenerated-docs PR that regenerates docs artifacts from source; exempt from the autogenerated-region edit guard pr-documentation Documentation PRs for the specific code PR 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.

3 participants