Skip to content

Conversation

@mkmkme
Copy link
Collaborator

@mkmkme mkmkme commented Nov 7, 2025

This commit is a manual backport of two PRs:
1. ClickHouse#87303
2. ClickHouse#88017

Additionally, the test from ClickHouse#88036 was added.
Also 02679_explain_merge_tree_prewhere_row_policy was fixed as per 0aed477

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):

Fixed move-to-prewhere optimization, which did not work in the presence of row policy (ClickHouse#87303 by @KochetovNicolai)

CI/CD Options

Exclude tests:

  • Fast test
  • Integration Tests
  • Stateless tests
  • Stateful tests
  • Performance tests
  • All with ASAN
  • All with TSAN
  • All with MSAN
  • All with UBSAN
  • All with Coverage
  • All with Aarch64
  • 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)
  • Parquet (1.5h)
  • RBAC (1.5h)
  • SSL Server (1h)
  • S3 (2h)
  • Tiered Storage (2h)

This commit is a manual backport of two PRs:
    1. ClickHouse#87303
    2. ClickHouse#88017

Additionally, the test from ClickHouse#88036
was added.
Also `02679_explain_merge_tree_prewhere_row_policy` was fixed as per
0aed477
@mkmkme mkmkme added backport Backport 25.3 25.3.8 25.3.8 Altinity Stable labels Nov 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

25.3 25.3.8 25.3.8 Altinity Stable backport Backport

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants