Repository navigation
Keep use_query_condition_cache_for_time_conditions experimental and disabled on master, as in 26.10 - #127687
Conversation
…ions ClickHouse#127632 made `use_query_condition_cache_for_time_conditions` default to false (and experimental) on the 26.10 release branch, and that is what v26.10.2.103-stable ships. Master kept the default true, with a single history record claiming the default already became true in 26.10. Since v26.10.2.103 is now the previous release in the Upgrade check, the check sees the 0 -> 1 change without a history record newer than 26.10 and fails on every PR ("Changed settings are not reflected in the settings changes history"). `compatibility = '26.10'` on master also gave true, while the 26.10 release gives false. Record what each release ships: the 26.10 record is now the 26.10 branch's own (false -> false, byte-identical), and a 26.11 record enables it. The declaration and the master default are unchanged. Related: ClickHouse#127632 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; 0 findings), plus my own cold review of the diff (1 nit).
Severity: ❌ blocker / Session id: cron:clickhouse-review-slot-9:20261024-054600 |
Pre-PR validation gate (click to expand)
Session id: cron:clickhouse-impl-slot-6:20261024-052400 |
|
cc @alexey-milovidov @vitlibar, could you review this and add the |
|
Workflow [PR], commit [95ff854] Summary: ✅
AI ReviewSummaryKeeps Missing context / blind spots
Final VerdictStatus: ✅ Approve. No code changes requested. |
…e-by-default Master now caches the columns of compact parts too (`Columns cache for compact parts`), and moved the cache setup of `MergeTreeReaderWide` into `IMergeTreeReader::initColumnsCache`. Resolve the conflict in `MergeTreeReaderWide` by taking master's side, and make `initColumnsCache` use `isColumnsCachePossibleForPart`, which no longer requires a wide part. `ReadFromMergeTree::mayWriteToColumnsCache` no longer requires a wide part either, so a compact part keeps the string values in full when its columns may be written to the cache, and `05404_string_filters_columns_cache_ineligible_parts` now expects a compact part to behave like a wide one. The description of `system.columns_cache` takes master's text. Master also brings the fix of the `Upgrade check` failure on `use_query_condition_cache_for_time_conditions`: #127687 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Related: #127632
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
...
Description
Since
v26.10.2.103-stablewas published (2026-10-24 04:17 UTC),Upgrade check (amd_release)fails on every PR withChanged settings are not reflected in the settings changes history, andchanged_settings.txtholds one row:use_query_condition_cache_for_time_conditions | 1 | 0(example).#127632 marked
use_query_condition_cache_for_time_conditionsandquery_condition_cache_time_condition_grid_factorexperimental on the 26.10 branch and disabled the first one by default. Master kept both in the production tier, with the first one enabled and recorded as enabled in 26.10.This PR makes master match 26.10: both declarations and their 26.10 records are byte-identical to
v26.10.2.103-stable, and the concept page says the derivation is experimental and disabled by default. The settings-history check requires a 26.11 record because the default changes against master. It is{"26.11", false, false, ...}: a previous value oftruewould makecompatibility = '26.10'enable a setting that 26.10 ships disabled. The 26.11 records of the externalINsettings, which were backported to 26.10, have the same shape.Validation, locally, with the official 26.10.2.103 binary as the previous release and the check's query copied verbatim: unfixed master reports exactly CI's row, this PR reports none. The setting is
0andExperimentalby default and withcompatibilityfrom 26.8 to 26.11.ci/jobs/scripts/settings_history.pyis OK.03999_stateless_settings_history,03413_experimental_settings_cannot_be_enabled_by_default,03257_setting_tiers, the six*_query_condition_cache_time_conditions*tests (they enable the setting explicitly) and 16 other query condition cache tests pass.#127479 replaces both settings on master; if it merges after this PR, the conflict resolves by taking its side.
🤖 Generated with Claude Code
Workflow [PR]
Sync PR [sync-upstream/pr/127687]
Version info
26.11.1.742-master(included in26.11and later)