Repository navigation
Backport #118606 to 26.3: Proper partition pruning with dates - #119251
Closed
robot-clickhouse wants to merge 2 commits into
Closed
robot-clickhouse wants to merge 2 commits into
robot-clickhouse wants to merge 2 commits into
Conversation
Contributor
|
Workflow [BackportPR], commit [a8a643b] Summary: ⏳
|
Master's ManifestFilesPruning.cpp has had this include since 7790f33; 26.3 never did, and the cherry-pick applied around the missing context line. Co-Authored-By: Claude Fable 5.1 <[email protected]>
alexey-milovidov
added a commit
that referenced
this pull request
Sep 26, 2026
Resolve the cherry-pick of #119302 against 26.3. The original #118606 was never backported to 26.3 (its backport #119251 was closed after the revert), so this is effectively the full backport of the Iceberg partition pruning: - `ManifestListPruning.cpp` does not exist on 26.3 (there is no manifest list pruning there), so its part of the reland, which fixed the pre-1970 bound bug in `ManifestListPruner`, is dropped. - `IcebergFieldParseHelpers` stays as on 26.3: the new `deserializeDecimalFromBinaryRepr` is only used by the decimal partition decoding and `ManifestListPruner`, neither of which exists on 26.3. - `FunctionsConversion.h`, `ManifestFile.h` (`tuple_index`), `ManifestFileIterator.cpp` and `ManifestFilesPruning.cpp` take the 26.3 adaptation from the earlier backport #119251, with the helpers in `ManifestFilesPruning.cpp` updated to the form of the reland. - The tests come from the reland; `05054` there extracts only the `Granules: N/M` part of `EXPLAIN`, which is what failed on #119251. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Original pull-request #118606
Cherry-pick pull-request #119239
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