Zoltan Borok-Nagy has uploaded this change for review. ( http://gerrit.cloudera.org:8080/25193
Change subject: IMPALA-15636: Don't push down timestamps with nanoseconds to Iceberg ...................................................................... IMPALA-15636: Don't push down timestamps with nanoseconds to Iceberg Iceberg timestamps have microsecond precision, and IcebergPredicateConverter rounded TIMESTAMP literals to the nearest microsecond. This changed the result of comparisons, e.g. ts < '2024-01-01 00:00:00.0000004' became ts < '2024-01-01 00:00:00', so Iceberg skipped data files where ts = '2024-01-01 00:00:00'. For identity partitions the rounded predicate also selected the wrong partitions, e.g. in ALTER TABLE DROP PARTITION. TIMESTAMP literals with sub-microsecond precision are no longer pushed down to Iceberg, and partition filters of DDL statements reject them. Testing: - Added EE tests for metrics and partition transforms. Change-Id: I8b0b8c2eb4309f5e8d431752175fc656d0fcb806 Assisted-by: Claude Opus 5.5 (Claude Code) --- M fe/src/main/java/org/apache/impala/analysis/TimestampLiteral.java M fe/src/main/java/org/apache/impala/common/IcebergPredicateConverter.java M testdata/workloads/functional-query/queries/QueryTest/iceberg-predicate-push-down-hint.test 3 files changed, 67 insertions(+), 0 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/93/25193/1 -- To view, visit http://gerrit.cloudera.org:8080/25193 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I8b0b8c2eb4309f5e8d431752175fc656d0fcb806 Gerrit-Change-Number: 25193 Gerrit-PatchSet: 1 Gerrit-Owner: Zoltan Borok-Nagy <[email protected]> Gerrit-Reviewer: Csaba Ringhofer <[email protected]>
