Skip to content

Backport #104296 to Stable 25.8 - Disable additional_table_filters with parallel replicas and analyzer and w/o query plan serialization#2065

Draft
mkmkme wants to merge 2 commits into
stable-25.8from
backports/25.8/104296
Draft

Backport #104296 to Stable 25.8 - Disable additional_table_filters with parallel replicas and analyzer and w/o query plan serialization#2065
mkmkme wants to merge 2 commits into
stable-25.8from
backports/25.8/104296

Conversation

@mkmkme

@mkmkme mkmkme commented Jul 17, 2026

Copy link
Copy Markdown
Collaborator

Disable additional_table_filters with parallel replicas and analyzer and w/o query plan serialization. Previously it may lead to incorrect results.

Analyzer rewrites query when sending to remotes (parallel replicas followers) to prepend database, and this breaks the additional_table_filters. And there is no clean way to fix this w/o query plan serialization (serialize_query_plan=1). So it has been explicitly disabled (throw exception) for now.

Fixes #2054

Changelog category (leave one):

  • Bug Fix (user-visible misbehavior in an official stable release)

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

Disable additional_table_filters with parallel replicas and analyzer and w/o query plan serialization (ClickHouse#104296 by @azat)

Documentation entry for user-facing changes

...

CI/CD Options

Exclude tests:

  • Fast test
  • Integration Tests
  • Stateless tests
  • Stateful 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)
  • 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)

azat and others added 2 commits July 17, 2026 09:31
Disable additional_table_filters with parallel replicas and analyzer and w/o query plan serialization
25.8 is missing some of the settings that are used by the original PR.
25.8 is also missing the EXPLAIN-visualisation for parallel-replicas
remote step, so the last query in the test doesn't actually check
anything and is therefore dropped.
@mkmkme mkmkme added backport Backport 25.8 25.8 Altinity Stable stable-25.8 labels Jul 17, 2026
@github-actions

Copy link
Copy Markdown

Workflow [PR], commit [ce52737]

@mkmkme mkmkme added the stable label Jul 17, 2026
@mkmkme

mkmkme commented Jul 17, 2026

Copy link
Copy Markdown
Collaborator Author

Seems like fast test is failing. Will investigate

@mkmkme
mkmkme marked this pull request as draft July 17, 2026 12:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

25.8 25.8 Altinity Stable backport Backport stable stable-25.8

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants