Backport #104296 to Stable 25.8 - Disable additional_table_filters with parallel replicas and analyzer and w/o query plan serialization#2065
Conversation
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.
|
Seems like fast test is failing. Will investigate |
CI triage for #2065Verdict: 3 red checks — 0 caused by this PR. 1 pre-existing test/config incompatibility, 2 infra/flaky (already auto-classified "broken"), and 1 metadata (DCO). The PR's actual change ( 1.
|
Disable
additional_table_filterswith 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):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Disable
additional_table_filterswith 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:
Regression jobs to run: