Repository navigation
Conversation
New codecs start in the experimental tier (requested on ClickHouse#110613). Only the tier of `enable_pco_codec` and the text naming it change; every other tier surface (gate error, `system.codecs`, `allow_feature_tier`) derives from it. The history record's reason is corrected in place because the setting is new in 26.10, which this change is meant to reach. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Internal second-model review: adjudication log (click to expand)Pre-publication review by an independent model (engine: codex; 1 finding) plus my own review (2 nits).
Severity: ❌ blocker / Session id: cron:clickhouse-review-slot-8:20261019-164000 |
Pre-PR validation gate (click to expand)
Session id: cron:clickhouse-impl-slot-4:20261019-162200 |
|
Workflow [PR], commit [8f3ee49] Summary: ✅
AI ReviewSummaryMoves the Missing context / blind spots
Final VerdictStatus: ✅ Approve. |
Build profile diff (arm_release)Comparing ✅ No significant changes. Binary sizes
The official master build is compiled with Compile time of recompiled translation units8 translation units recompiled, 21 s compile time in total, 8 of them have a recent master baseline. |
|
Let's wait to see if the author has an opinion |
|
This should go to the 26.10 branch. In 26.11, it will likely be promoted to production. |
alexey-milovidov
left a comment
There was a problem hiding this comment.
@groeneai change the base to 26.10.
|
I can't base a PR of mine on a release branch: a standing rule for this account is that release branches only get changes through the backport automation. To make it one click, the same commit is on Once a 26.10 PR is open from it, I'll close this one, so master keeps |
Related: #110613
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
The
PCOcompression codec is moved from the beta to the experimental tier. It is still enabled with theenable_pco_codecsetting.Description
As asked on #110613,
PCOnow starts in the experimental tier like the other new codecs (SZ3,ZXC,Quantized;ALPalso started there before #116337 promoted it). Since #116337 the tier of a gated codec is the declared tier of itsenable_<codec>_codecsetting, so the change is one word:enable_pco_codecgoes fromBETAtoEXPERIMENTAL. The gate error,system.codecs.tier,system.settings.tierand theallow_feature_tiercheck all follow from it. The rest of the diff is text that names the tier: the codec docs badge and note (ParserCreateQuery.cpp), the native format spec, the01222_system_codecsreference row and a test comment. The 26.10 history record keeps its values and now says "experimental"; the default staysfalse.Effect:
CODEC(PCO)without the setting fails with "is experimental and not meant to be used in production", and on a server withallow_feature_tier = 1SET enable_pco_codec = 1is now refused. ExistingPCOtables are not affected: decompression does not check the gate.Validation, A/B on debug builds of the same base: tier
Beta->Experimentalinsystem.codecsandsystem.settings, the new gate error, andallow_feature_tier = 1accepting the setting before and refusing it after. A table written withPCOby the old binary is read, re-attached, inserted into and merged by the new one without the setting.01222_system_codecsfails on the old binary with exactly thePCOrow; the codec and tier tests (01222,04512,04513,04616,04695,05024,03257,03413) pass, and the two changed tests pass 50/50 randomized runs.PCOis in the 26.10 branch, so this should getv26.10-must-backportafter merge. 26.10.1 is not published yet: if this reaches 26.10 first, the 26.10CHANGELOG.mdentry for #110613 ("Added the betaPCOcompression codec") should say experimental.🤖 Generated with Claude Code
Workflow [PR]
Sync PR [sync-upstream/pr/126749]