Skip to content

Revert "Revert "Proper partition pruning with dates"" - #119302

Merged
scanhex12 merged 10 commits into
masterfrom
revert-119298-revert-118606-iceberg_partition_pruning_todate
Sep 17, 2026
Merged

scanhex12 merged 10 commits into
masterfrom
revert-119298-revert-118606-iceberg_partition_pruning_todate

Conversation

@alexey-milovidov

@alexey-milovidov alexey-milovidov commented Sep 10, 2026 •

Copy link
Copy Markdown
Member

Reverts #119298, so the Iceberg partition pruning of #118606 comes back, together with the fix for the failure that #119298 was reverting it for.

#118606 taught toDate and toDateTime monotonicity to look through a Nullable column, which is what every Iceberg column is, and that made a filter such as WHERE toDate32(ts) = toDate32('1969-11-15') reach the Iceberg pruners for the first time. ManifestListPruner::canBePruned then read a pre-1970 partition field summary bound of a day or year transform - a negative int - through the unsigned result type of the toRelativeDayNum and toYearNumSinceEpoch that model those transforms, so the bound came out as a huge unsigned number. For a manifest that spans 1969 and 2024 the lower bound landed above the upper one and KeyCondition::checkInRange hit chassert(key_order.compareTuples(left_keys, right_keys, used_key_size) <= 0), which is the exception test_partition_pruning_with_functions_before_epoch was failing with.

Such a bound is now read as the signed number Iceberg wrote, and a negative one leaves the whole partition field unknown instead of being pruned on: the ClickHouse functions that stand for those transforms cannot return a negative number - they map every point before 1970 to zero - so nothing about the key's value space follows from it. A pair of bounds that still comes out inverted drops the field with a warning, the same as ManifestFileIterator already does for the min/max bounds of a data file.

A new test_partition_pruning_with_functions_before_epoch_separate_commits covers the manifest-list level directly, with one manifest whose partition summaries are negative on both sides and one whose summaries are positive on both.

The other failure of the previous run, 05141_time_series_select_join_settings, was a breakage of master itself between 2026-09-10 16:00 and 21:00 UTC, unrelated to this pull request and fixed by #119334; master is merged in to pick that up.

Related: #118606
Related: #119298
Related: #119292
Related: #103433
Related: #116499

Report of the failure this fixes: https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?PR=119302&sha=a134a445a3ca3065c01ac1b32aaa52db19a88033&name_0=PR&name_1=Integration%20tests%20%28amd_asan_ubsan%2C%20flaky%29

Changelog category (leave one):

  • Improvement

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

Iceberg partition pruning now uses the partition value of a day, month, year or hour transform for a filter that wraps the partition source column in a monotonic function, such as WHERE toDate(ts) = '2024-01-20', including for partition values from before 1970.


Workflow [PR]
Sync PR [sync-upstream/pr/119302]

🤖 Generated with Claude Code

Version info

  • Merged into: 26.10.1.6-master (included in 26.10 and later)
  • Backported to: 26.9.1.1628, 26.8.12.52, 26.7.15.52, 26.3.34.136

@clickhouse-gh

clickhouse-gh Bot commented Sep 10, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [9f00d92]

Summary: ❌

job_name test_name status info comment
AST fuzzer (amd_debug, targeted, old_compatibility) FAIL
Logical error: Invalid binary search result in MergeTreeSetIndex (STID: 3252-3a4a) FAIL cidb
Stress test (amd_debug) FAIL
Logical error: Invalid number of columns in chunk pushed to OutputPort. Expected A, found B (STID: 2270-38be) FAIL cidb
Build profile diff ERROR

AI Review

Summary

This PR restores monotonic-function Iceberg partition pruning and re-enables toDate / toDateTime monotonicity through Nullable / LowCardinality. The manifest-list fix for negative pre-1970 summaries looks correct, but I do not think the branch is safe to merge yet: the FunctionsConversion hunk still expands a known wrong-result optimization to wrapped Date32 / DateTime64 keys, and the new file-pruning inversion still disagrees with ClickHouse-written Iceberg partition values in two ways.

Findings

❌ Blockers

  • [src/Functions/FunctionsConversion.h:4463-4524] [dismissed by author -- https://github.com/Revert "Revert "Proper partition pruning with dates"" #119302#discussion_r3992721409] Unwrapping Nullable / LowCardinality here re-enables is_always_monotonic for wrapped Date32 / DateTime64 even though the conversion still wraps under the default date_time_overflow_behavior = 'ignore'. The comment at 4458-4460 already says toDate can have several disjoint preimages on these source types, and ToDateTimeMonotonicity below has the same problem. Before this patch wrapped keys stayed on the conservative path; after it, queries on Nullable(DateTime64) or LowCardinality(Nullable(Date32)) can take the same wrong pruning path already tracked by #116946. Spreading an existing wrong invariant to more schemas is still a regression. Suggested fix: keep wrapped Date32 / DateTime64 non-monotonic until the overflow-aware monotonicity/preimage logic is fixed for the plain types too.
  • [src/Storages/ObjectStorage/DataLakes/Iceberg/ManifestFilesPruning.cpp:320-340] [dismissed by author -- https://github.com/Revert "Revert "Proper partition pruning with dates"" #119302#discussion_r3981994759] The new day / month / year inversion hard-codes UTC, but ClickHouse's own writer still computes those partition values with the source column's DateLUT through ChunkPartitioner (src/Storages/ObjectStorage/DataLakes/Iceberg/ChunkPartitioner.cpp:55-67) and the standard transforms (src/Functions/DateTimeTransforms.h:2617-2624, 2714-2720, 2780-2786). We then read adjust-to-utc = true Iceberg timestamps back as DateTime64(..., 'UTC') (src/Storages/ObjectStorage/DataLakes/Iceberg/Utils.cpp:728-731, src/Storages/ObjectStorage/DataLakes/Iceberg/SchemaProcessor.cpp:523-530), so the original source timezone is already gone when pruning runs. Documenting the UTC assumption does not make the writer use UTC: a ClickHouse-written non-UTC partition can still be reconstructed as the wrong calendar day/month/year and be pruned even though it contains matching rows. Suggested fix: make the writer and pruner use the same transform contract in one PR, or disable this inversion for ClickHouse-written timezone-bearing timestamps until that contract exists.
  • [src/Storages/ObjectStorage/DataLakes/Iceberg/ManifestFilesPruning.cpp:397-416] rangeOfPartitionValue assumes each day / month / year / hour partition value has a single source-column preimage, but ClickHouse-written Date32 / DateTime64 tables still use the standard transform functions that clamp every pre-1970 value to 0 (src/Storages/ObjectStorage/DataLakes/Iceberg/ChunkPartitioner.cpp:55-67; src/Functions/DateTimeTransforms.h:2621-2624, 2718-2721, 2784-2798, 2817-2833). That makes partition value 0 represent both pre-epoch rows and the first post-epoch unit, while this code reconstructs only the latter. A filter like toDate32(ts) < toDate32('1970-01-01') can therefore prune away a ClickHouse-written file that still contains 1969-* rows. Suggested fix: treat clamped 0 as non-invertible for ClickHouse-written data, or change the write/read transform contract together and add a ClickHouse-written pre-1970 regression test.
Tests
  • Not run locally. This checkout has no build / build_* directory or clickhouse binary, so I could only verify the repro paths statically against the current sources.
Final Verdict

Changes requested.

LLVM Coverage Report

Measured on commit 9f00d92.

Metric Baseline Current Δ
Lines 88.40% 88.40% +0.00%
Functions 91.80% 91.80% +0.00%
Branches 80.60% 80.60% +0.00%

Changed lines: Changed C/C++ lines covered: 161/202 (79.70%) · Uncovered code

Full report · Diff report

@clickhouse-gh clickhouse-gh Bot added the pr-not-for-changelog This PR should not be mentioned in the changelog label Sep 10, 2026
if (!own_unit)
return {};

const auto & utc = DateLUT::instance("UTC");

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

day / month / year are not always UTC transforms in this codebase. When ClickHouse writes an Iceberg table, ChunkPartitioner executes toRelativeDayNum, toMonthNumSinceEpoch, or toYearNumSinceEpoch on the source column type, and those functions use that DateTime / DateTime64 type's DateLUT. Hard-coding UTC here shifts the reconstructed preimage for non-UTC columns and can make mayBeTrueInRange prune a matching file.

Concrete trace: for a DateTime('Europe/Berlin') column partitioned by toRelativeDayNum(ts), the row 1969-12-31 23:30:00 UTC belongs to partition 0 (1970-01-01 locally). The true preimage of partition 0 is [1969-12-31 23:00:00, 1970-01-01 23:00:00) UTC, but this code reconstructs [1970-01-01 00:00:00, 1970-01-02 00:00:00), so a predicate like ts < toDateTime('1970-01-01 00:00:00', 'UTC') would incorrectly prune the file. Please derive the calendar from source_type instead of hard-coding UTC, and add a non-UTC regression test.

@clickhouse-gh clickhouse-gh Bot added the comp-datalake Data lake table formats (Iceberg/Delta/Hudi) integration. label Sep 10, 2026
@clickhouse-gh

clickhouse-gh Bot commented Sep 10, 2026 •

Copy link
Copy Markdown
Contributor

Build profile diff (arm_release)

Comparing commit 9f00d929c13559ef95930db1baa2bdd6ddc8e563 with master failed: RuntimeError: CI logs cluster query failed: SELECT count() AS c FROM binary_sizes W….

See the job log for details.

scanhex12 and others added 3 commits September 11, 2026 12:45
…it is

An Iceberg partition field summary keeps its bounds in the single-value
serialization of the partition field's own type, and for the `day`, `month`,
`year` and `hour` transforms that type is a signed `int` counting units from
1970. ClickHouse models those transforms in the partition key with
`toRelativeDayNum`, `toMonthNumSinceEpoch`, `toYearNumSinceEpoch` and
`toRelativeHourNum`, whose result types are unsigned, so
`ManifestListPruner::canBePruned` read a bound from before 1970 as a huge
unsigned number. For a manifest that spans 1969 and 2024 the lower bound then
came out above the upper bound, and `KeyCondition::checkInRange` hit
`chassert(key_order.compareTuples(left_keys, right_keys, used_key_size) <= 0)`,
which aborts a build with assertions.

That is why
`test_storage_iceberg_with_spark/test_partition_pruning_with_functions.py::test_partition_pruning_with_functions_before_epoch`
started failing on master in `Integration tests (amd_tsan, 3/6)` and
`Integration tests (amd_msan, 8/8)`: the `toDate32` monotonicity that
#118606 gave a `Nullable` column
made the filter of that test reach the pruner.

A bound of an unsigned key column is now read as the signed number Iceberg
wrote, and a negative one leaves the whole field unknown: the ClickHouse
functions that stand for those transforms cannot return a negative number -
they map every point before 1970 to zero - so nothing about the key's value
space follows from such a bound and no range of it may be pruned on.

A pair of bounds that comes out inverted now drops the field with a warning
instead of being pruned on, the same as `ManifestFileIterator` already does
for the min/max bounds of a data file.

Report: https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?REF=master&sha=290309210c5b2f0e01c13fd0fbae6577fb5cb9cd&name_0=MasterCI&name_1=Integration%20tests%20%28amd_tsan%2C%203%2F6%29

Related: #118606
Related: #116499
Related: #116604

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
The `day`, `month` and `year` transforms of the Iceberg specification count from
1970-01-01 with no timezone applied, so inverting one of their values back into a
range of the source column must use the `UTC` calendar and must ignore the
timezone declared on the `DateTime64` that an Iceberg `timestamp` is read into.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
…n shape

`EXPLAIN indexes = 1` prints two lines that contain `Granules:`: the
`Parts: 1 | Granules: 2` summary of the `ReadFromMergeTree` step and the
`Granules: 2/10` of the primary key index analysis. The test grepped for both
and stripped the indentation with `trimLeft`, which made it depend on the shape
of the plan around them:

- with `make_distributed_plan = 1` the step summary is not printed at all, so the
  test lost three lines;
- with parallel replicas the whole subtree is printed under a `│` prefix, which
  `trimLeft` does not strip, so all six lines came out prefixed.

The granule count is now read with `extract(explain, 'Granules: \d+/\d+')`, which
picks the index analysis line out of any indentation or prefix and does not match
the step summary at all. That is also the line the test is about: it says the
index analysis narrowed ten granules down to two.

Report: https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?PR=119302&sha=323a1976ae947f4c28bca9cea92d08d6913e4f86&name_0=PR&name_1=Stateless%20tests%20%28amd_llvm_coverage%2C%20ParallelReplicas%2C%20s3%20storage%2C%20parallel%29

Related: #118606

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
@scanhex12

Copy link
Copy Markdown
Member

Triage of the four checks that were red on 323a1976ae9, after the iceberg failures were fixed:

1. Stateless tests (amd_llvm_coverage, ParallelReplicas, s3 storage, parallel) - fixed in f66dc6cd5e2.
05054_nullable_key_todate_monotonicity was the only failing test, and it was reading the granule count out of the shape of the plan: it grepped every line containing Granules: and stripped the indentation with trimLeft. That matches two different lines - the Parts: 1 | Granules: 2 summary of the ReadFromMergeTree step and the Granules: 2/10 of the primary key index analysis - and with make_distributed_plan = 1 the first one is not printed at all, while with parallel replicas the whole subtree is printed under a │ prefix that trimLeft does not strip. It now uses extract(explain, 'Granules: \d+/\d+'), which picks the index analysis line out of any prefix and does not match the step summary. Verified against an amd_debug binary of this branch, plain and with make_distributed_plan = 1.

2. AST fuzzer (amd_debug, targeted, old_compatibility) - pre-existing, #116946.
Logical error: 'Invalid binary search result in MergeTreeSetIndex'. begin > end there means the key range came out inverted from applyMonotonicFunctionsChainToRange, which is what the #ifndef NDEBUG at src/Interpreters/Set.cpp:1045 says it is for. The cause is that toDate and toDateTime claim is_always_monotonic for a DateTime64 / Date32 source while the conversion wraps at the default date_time_overflow_behavior = 'ignore' - #116946, open since 2026-08-28. It is not specific to a Nullable key; on an amd_debug binary of this branch a plain, non-Nullable key on a code path this pull request does not touch already returns a wrong answer:

SET session_timezone = 'UTC';
CREATE TABLE t (x DateTime64(3)) ENGINE = MergeTree ORDER BY x SETTINGS index_granularity = 1;
INSERT INTO t VALUES (toDateTime64('2100-01-01 00:00:00', 3)), (toDateTime64('2250-01-01 00:00:00', 3));
SELECT count() FROM t WHERE toDateTime(x) = toDateTime('2100-01-01 00:00:00');  -- 0
SELECT countIf(toDateTime(x) = toDateTime('2100-01-01 00:00:00')) FROM t;       -- 1

With date_time_overflow_behavior = 'saturate' both give 1, which pins the wrap as the cause. What this pull request changes is only that the same (already wrong) claim is now also made through a Nullable or LowCardinality wrapper, which is the point of the change - a wrapper must not change monotonicity. Fixing #116946 means making those two conversions honest about the target type's range, which belongs in its own pull request: it changes index analysis for plain DateTime64 keys too and needs its own tests.

3. Stress test (amd_tsan) - pre-existing master flakiness, unrelated.
Logical error: Virtual row has different type for CAST(__table1.'json.b', 'String') in MergingSortedAlgorithm::initialize. 38 occurrences over 2026-09-10..11 across 37 different pull requests and master itself. Nothing in this diff touches virtual rows or JSON subcolumns.

4. AST fuzzer (amd_release, oracle) - pre-existing job noise, unrelated.
TLP WHERE oracle mismatch on SELECT * FROM t1__fuzz_7 WHERE a IN (SELECT x FROM t2__fuzz_4). That job fails on 2-4% of all runs every day for the last 10 days (12/310 on 2026-09-11, 7/269 on 2026-09-10, 14/410 on 2026-09-09, ...). The query contains no conversion function and no data lake table, so neither half of this diff can reach it.

Comment on lines +410 to +429
std::optional<Range> rangeOfPartitionValue(const String & transform_name, const Field & partition_value, const IDataType & source_type)
{
const auto value = partitionValueAsInt64(partition_value);
if (!value)
return {};

const PartitionTransformKind kind = parsePartitionTransformKind(transform_name);
const WhichDataType which(source_type);

if (which.isDateOrDate32())
return closedRange(dayIntervalOfPartitionValue(kind, *value), std::nullopt);

if (which.isDateTime())
return closedRange(secondIntervalOfPartitionValue(kind, *value), std::nullopt);

if (which.isDateTime64())
{
const UInt32 scale = getDecimalScale(source_type);
return closedRange(
refineInterval(secondIntervalOfPartitionValue(kind, *value), DecimalUtils::scaleMultiplier<Int64>(scale)), scale);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This inversion assumes a day / month / year / hour partition value has a single source-column preimage, but that is not true for tables ClickHouse writes itself. ChunkPartitioner uses the standard toRelativeDayNum / toMonthNumSinceEpoch / toYearNumSinceEpoch / toRelativeHourNum functions, and for Date32 / DateTime64 those clamp every pre-1970 value to 0 (src/Functions/DateTimeTransforms.h:2638, 2649, 2715, 2737, 2751).

Concrete trace: write an Iceberg table partitioned by days(ts) with ts DateTime64, insert 1969-12-31 23:00:00 and 1970-01-01 00:30:00. Both rows land in partition 0, but rangeOfPartitionValue("day", 0, ...) reconstructs only [1970-01-01, 1970-01-02). A filter like toDate32(ts) < toDate32('1970-01-01') then makes mayBeTrueInRange return false and this path prunes the file even though it contains a matching row.

Please either stop inverting the clamped value 0 here, or fix the write/read transform contract together and add a ClickHouse-written pre-1970 regression test.

Comment on lines +4368 to +4375
static IFunction::Monotonicity get(const IDataType & type_with_wrappers, const Field & left, const Field & right)
{
const IDataType * type_without_wrappers = &type_with_wrappers;
if (const auto * low_cardinality_type = typeid_cast<const DataTypeLowCardinality *>(type_without_wrappers))
type_without_wrappers = low_cardinality_type->getDictionaryType().get();
if (const auto * nullable_type = typeid_cast<const DataTypeNullable *>(type_without_wrappers))
type_without_wrappers = nullable_type->getNestedType().get();
const IDataType & type = *type_without_wrappers;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unwrapping Nullable / LowCardinality here re-enables is_always_monotonic on wrapped Date32 / DateTime64 sources, but the transform is still not monotonic on the whole domain under the default date_time_overflow_behavior = 'ignore'. The comment right above getPreimage already calls this out for toDate, and the same underlying bug is what #116946 reproduces for plain DateTime64 keys.

Before this patch, a Nullable(Date32) or LowCardinality(Nullable(DateTime64)) key stayed non-monotonic and queries were still correct. After the unwrap, those wrapped keys take the same wrong optimization as the plain type and can now return wrong results. A MergeTree key on Nullable(DateTime64(3)) with values such as 2100-01-01 and 2250-01-01 is enough: WHERE toDateTime(x) = toDateTime('2100-01-01 00:00:00') can prune away the matching row once the key analyzer starts trusting this monotonicity.

Please do not spread this optimization to wrapped Date32 / DateTime64 until the overflow-aware monotonicity/preimage logic is fixed; the same issue applies to the ToDateTimeMonotonicity hunk below.

@scanhex12 scanhex12 added the pr-must-backport Pull request should be backported intentionally. Use this label with great care! label Sep 21, 2026
@robot-clickhouse-ci-2 robot-clickhouse-ci-2 added the pr-must-backport-synced The `*-must-backport` labels are synced into the cloud Sync PR label Sep 21, 2026
clickhouse-gh Bot added a commit that referenced this pull request Sep 21, 2026
Backport #119302 to 26.9: Revert "Revert "Proper partition pruning with dates""
kewin-robetti pushed a commit to viasoftkorp/ClickHouse that referenced this pull request Sep 25, 2026
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]>
robot-ch-test-poll3 added a commit that referenced this pull request Sep 26, 2026
Cherry pick #119302 to 26.3: Revert "Revert "Proper partition pruning with dates""
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]>
robot-ch-test-poll4 added a commit that referenced this pull request Sep 26, 2026
Cherry pick #119302 to 26.7: Revert "Revert "Proper partition pruning with dates""
alexey-milovidov added a commit that referenced this pull request Sep 26, 2026
Resolve the cherry-pick of #119302
onto 26.8. The resolution starts from the earlier 26.8 backport of
#118606 (ff6b795), which
already adapted `FunctionsConversion.h` and `ManifestFilesPruning.cpp` to 26.8,
and then applies the follow-up commits of the reland that touch those files
(323a197, bad2875, 9bb3a34) plus the updated tests.

Dropped, because 26.8 does not have the code they modify:
- `ManifestListPruning.cpp` (manifest-list pruning is not on 26.8), which carried
  the pre-1970 summary-bound fix of 039006e;
- the `deserializeDecimalFromBinaryRepr` helper of 213367f in
  `IcebergFieldParseHelpers`: that commit only deduplicated the decimal decoding,
  26.8 keeps the equivalent local `decodePartitionDecimal` in
  `ManifestFilesPruning.cpp`;
- the `getPreimage` of `ToDateMonotonicity`, which is master-only.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
robot-ch-test-poll2 added a commit that referenced this pull request Sep 26, 2026
Cherry pick #119302 to 26.8: Revert "Revert "Proper partition pruning with dates""
@robot-clickhouse-ci-1 robot-clickhouse-ci-1 added the pr-backports-created Backport PRs are successfully created, it won't be processed by CI script anymore label Sep 26, 2026
alexey-milovidov added a commit that referenced this pull request Sep 26, 2026
Backport #119302 to 26.3: Revert "Revert "Proper partition pruning with dates""
clickhouse-gh Bot added a commit that referenced this pull request Sep 26, 2026
Backport #119302 to 26.8: Revert "Revert "Proper partition pruning with dates""
clickhouse-gh Bot added a commit that referenced this pull request Sep 26, 2026
Backport #119302 to 26.7: Revert "Revert "Proper partition pruning with dates""
@clickhouse-gh clickhouse-gh Bot added comp-iceberg Apache Iceberg tables: reading and writing Iceberg metadata (snapshots, manifests, schema evoluti... and removed comp-datalake Data lake table formats (Iceberg/Delta/Hudi) integration. labels Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp-iceberg Apache Iceberg tables: reading and writing Iceberg metadata (snapshots, manifests, schema evoluti... pr-backports-created Backport PRs are successfully created, it won't be processed by CI script anymore pr-improvement Pull request with some product improvements pr-must-backport Pull request should be backported intentionally. Use this label with great care! pr-must-backport-synced The `*-must-backport` labels are synced into the cloud Sync PR pr-synced-to-cloud The PR is synced to the cloud repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants