Skip to content

Backport #118606 to 26.7: Proper partition pruning with dates - #119253

Merged
clickhouse-gh[bot] merged 1 commit into
26.7from
backport/26.7/118606
Sep 10, 2026
Merged

clickhouse-gh[bot] merged 1 commit into
26.7from
backport/26.7/118606

Conversation

@robot-clickhouse

@robot-clickhouse robot-clickhouse commented Sep 10, 2026 •

Copy link
Copy Markdown
Member

Original pull-request #118606
Cherry-pick pull-request #119242

This pull-request is a last step of an automated backporting.
Treat it as a standard pull-request: look at the checks and resolve conflicts.
Merge it only if you intend to backport changes to the target branch, otherwise just close it.

The PR source

The PR is created in the CI job

Version info

  • Merged into: 26.7.7.70

@robot-clickhouse robot-clickhouse added pr-backport Changes, backported to release branch. Do not use manually - automated use only! pr-bugfix Pull request with bugfix, not backported by default labels Sep 10, 2026
@clickhouse-gh

clickhouse-gh Bot commented Sep 10, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [BackportPR], commit [44277de]

Summary: ✅

@clickhouse-gh
clickhouse-gh Bot merged commit a89b11f into 26.7 Sep 10, 2026
38 of 39 checks passed
@clickhouse-gh
clickhouse-gh Bot deleted the backport/26.7/118606 branch September 10, 2026 18:03
alexey-milovidov added a commit that referenced this pull request Sep 26, 2026
Resolve the conflicts of the cherry-pick of #119302 to 26.7.

26.7 had the original backport of #118606 merged and then reverted
(#119253, #119431), so the resolution reapplies that 26.7 backport
(reverts `d10ac36aeab8`) and then applies the follow-up commits of #119302
on top of it.

26.7 has no `ManifestListPruning.cpp` (manifest-list level pruning is not
on this branch), so the hunks of #119302 for that file are dropped, and
with them the `deserializeDecimalFromBinaryRepr` refactoring of
`213367fdc76a`, which only existed to share the decimal decoding with that
file; 26.7 keeps its own `decodePartitionDecimalByType`. The
`ManifestFilesPruning.cpp` interval helpers, the `05054` test and the
`test_partition_pruning_with_functions.py` integration test match master.

Related: #119302

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-backport Changes, backported to release branch. Do not use manually - automated use only! pr-bugfix Pull request with bugfix, not backported by default

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants