Skip to content

Mark the settings for time conditions in the query condition cache as experimental (26.10) - #127632

Merged
clickhouse-gh[bot] merged 1 commit into
26.10from
qcc-time-conditions-experimental-26.10
Oct 23, 2026
Merged

clickhouse-gh[bot] merged 1 commit into
26.10from
qcc-time-conditions-experimental-26.10

Conversation

@alexey-milovidov

@alexey-milovidov alexey-milovidov commented Oct 23, 2026 •

Copy link
Copy Markdown
Member

Mark the settings introduced in #115522 as experimental in the 26.10 release branch: use_query_condition_cache_for_time_conditions and query_condition_cache_time_condition_grid_factor get the EXPERIMENTAL tier, and use_query_condition_cache_for_time_conditions is disabled by default. The stateless tests already enable the setting explicitly. The concept documentation page is updated accordingly.

Related: #115522

Changelog category (leave one):

  • Experimental Feature

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

The setting use_query_condition_cache_for_time_conditions (using the query condition cache for conditions involving the current time) is now experimental and disabled by default.

🤖 Generated with Claude Code

Version info

  • Merged into: 26.10.2.99

… experimental

Mark `use_query_condition_cache_for_time_conditions` and
`query_condition_cache_time_condition_grid_factor` as `EXPERIMENTAL` and
disable `use_query_condition_cache_for_time_conditions` by default.

Related: #115522

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@clickhouse-gh

clickhouse-gh Bot commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [BackportPR], commit [e115523]

Summary: ✅

@clickhouse-gh clickhouse-gh Bot added the comp-settings Settings & configuration infrastructure (server/user/query settings, profiles). label Oct 23, 2026
@clickhouse-gh
clickhouse-gh Bot merged commit 380a836 into 26.10 Oct 23, 2026
48 of 49 checks passed
@clickhouse-gh
clickhouse-gh Bot deleted the qcc-time-conditions-experimental-26.10 branch October 23, 2026 21:47
This was referenced Oct 24, 2026
groeneai added a commit to groeneai/ClickHouse that referenced this pull request Oct 25, 2026
…isabled on master

ClickHouse#127632 marked `use_query_condition_cache_for_time_conditions` and
`query_condition_cache_time_condition_grid_factor` experimental on the 26.10
branch and disabled the first one by default. Do the same on master, so that
26.11 does not ship the derivation enabled while 26.10 has it experimental and
off. Both declarations and their 26.10 records are now identical to
v26.10.2.103-stable.

The new 26.11 record keeps the value (false -> false): rule A of the settings
history check requires one because the default changes against master, and a
previous value of `true` would make `compatibility = '26.10'` enable a setting
that 26.10 ships disabled. Same shape as the 26.11 records of the external `IN`
settings that were backported to 26.10.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Vevan05 pushed a commit to Vevan05/ClickHouse that referenced this pull request Oct 25, 2026
…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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp-settings Settings & configuration infrastructure (server/user/query settings, profiles).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant