Repository navigation
fix partition pruning for timestamp type - #109764
Conversation
Without timestamp-micros the value is read back as an Int64 field, and partition pruning compares it against a Decimal64 constant that never matches: equality on the partition column silently returned no rows. Co-Authored-By: Claude Fable 5 <[email protected]>
|
Workflow [PR], commit [2296f4a] Summary: ✅
AI ReviewSummaryThis PR updates Iceberg manifest partition typing for timestamp columns and adds a regression test for partition pruning. The new-manifest path looks reasonable, but the backward-compatibility fix for existing manifests written as bare Avro Findings❌ Blockers
Final VerdictStatus: Minimum required actions: make the legacy bare- |
0aede74 to
33be145
Compare
LLVM Coverage Report
Changed lines: Changed C/C++ lines covered: 18/25 (72.00%) · Uncovered code |
|
Hi @Diskein @murphy-4o — a couple of suggestions to make this PR easier for reviewers and the changelog reader. Description (currently
Ignore this if the current title/body is intentional. |
Backport #109764 to 26.6: fix partition pruning for timestamp type
…ime64-partition-pruning fix partition pruning for timestamp type
`getAvroType` required `timestamp-micros` after the ClickHouse#109764 backport, so identity-partitioned `timestamp_ns` writes failed. Co-authored-by: Cursor <[email protected]>
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Fixed partition pruning returning no rows for Iceberg tables partitioned by a timestamp (DateTime64) column
Version info
26.7.1.870(included in26.7and later)26.6.4.55