Skip to content

Antalya 26.6 Backport of #123431 - 26.8: Fix analyzer setting in views over Distributed - #2652

Merged
mkmkme merged 2 commits into
antalya-26.6from
backports/antalya-26.6/123431
Oct 24, 2026
Merged

mkmkme merged 2 commits into
antalya-26.6from
backports/antalya-26.6/123431

Conversation

@zvonand

@zvonand zvonand commented Oct 23, 2026

Copy link
Copy Markdown
Member

Changelog category (leave one):

  • Critical Bug Fix (crash, data loss, RBAC)

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

Fix a possible crash when querying the view over Distributed with enable_analyzer=0 (ClickHouse#123431 by @mkmkme)

Documentation entry for user-facing changes

...

CI/CD Options

Exclude tests:

  • Fast test
  • Integration Tests
  • Stateless tests
  • Stateful tests
  • Unit tests
  • Performance tests
  • Aarch64 tests
  • All with ASAN
  • All with TSAN
  • All with MSAN
  • All with UBSAN
  • All with Coverage
  • All Regression
  • Disable CI Cache

Regression jobs to run:

  • Fast suites (mostly <1h)
  • Aggregate Functions (2h)
  • Alter (1.5h)
  • Benchmark (30m)
  • CAS (content-addressed storage; Antalya only)
  • ClickHouse Keeper (1h)
  • Iceberg (2h)
  • LDAP (1h)
  • OAuth (5m)
  • Parquet (1.5h)
  • RBAC (1.5h)
  • SSL Server (1h)
  • S3 (2h)
  • S3 Export (2h)
  • Swarms (30m)
  • Tiered Storage (2h)

clickhouse-gh Bot and others added 2 commits October 23, 2026 15:05
…stributed-26.8

26.8: Fix analyzer setting in views over `Distributed`

Conflicts committed as-is; the next commit resolves them:
- src/Interpreters/InterpreterSelectQuery.cpp (both modified)
Added only the `allow_experimental_analyzer` declaration; skipped `allow_calculating_subcolumns_sizes_for_merge_tree_reading`, which antalya-26.6 doesn't declare here.
@zvonand

zvonand commented Oct 23, 2026

Copy link
Copy Markdown
Member Author

Backporter: cherry-pick conflicts resolved by AI

Conflicted files:

  • src/Interpreters/InterpreterSelectQuery.cpp (both modified)

Commits:

  • 9d3057c: cherry-pick with the conflicts committed as-is

  • 2558e11: resolution

  • src/Interpreters/InterpreterSelectQuery.cpp: the conflict was in the namespace Setting list of setting declarations. Upstream's surrounding lines include allow_calculating_subcolumns_sizes_for_merge_tree_reading, which antalya-26.6 doesn't declare in this file.

  • I kept the antalya-26.6 list and added only extern const SettingsBool allow_experimental_analyzer;.

  • The initSettings() change applied cleanly. After applying a stored SELECT's SETTINGS, it turns the analyzer back off, the same way IInterpreterUnionOrSelectQuery does on this branch.

  • The new stateless test 05315_view_analyzer_setting_over_distributed came in unchanged.

@github-actions

Copy link
Copy Markdown

Workflow [PR], commit [2558e11]

@mkmkme mkmkme self-assigned this Oct 23, 2026
@mkmkme mkmkme added the verified Approved for release label Oct 24, 2026
@mkmkme
mkmkme merged commit 6b5756a into antalya-26.6 Oct 24, 2026
482 of 483 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants