Zoltan Borok-Nagy has uploaded this change for review. ( 
https://gerrit.cloudera.org/25572


Change subject: IMPALA-15827: Check the imported data files of time-travel 
snapshots
......................................................................

IMPALA-15827: Check the imported data files of time-travel snapshots

IMPALA-15639 only pushes down predicates on identity partition columns
for tables that have data files outside their data location, because
the bounds of such imported files can be wrong. The check only looked
at the current snapshot, so time travel to a snapshot that still had
imported files, e.g. from before an OPTIMIZE, pushed down every
predicate.

Time travel now checks the data files of the scanned snapshot, if this
can change what is pushed down. If the current snapshot has no
imported files, only the data manifests that the snapshot doesn't
share with it are read. The result is cached per snapshot.

Testing:
 - Added a FE test and an EE test for time travel to snapshots with
   and without imported data files.

Change-Id: If6aaeba04be6caad2c1394539531ebc69a22f7fe
Assisted-by: Claude Opus 5.5 (Claude Code)
---
M fe/src/main/java/org/apache/impala/catalog/IcebergContentFileStore.java
M fe/src/main/java/org/apache/impala/planner/IcebergScanPlanner.java
M fe/src/test/java/org/apache/impala/catalog/IcebergContentFileStoreTest.java
M tests/query_test/test_iceberg.py
4 files changed, 196 insertions(+), 29 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/72/25572/1
--
To view, visit https://gerrit.cloudera.org/25572
To unsubscribe, visit https://gerrit.cloudera.org/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: If6aaeba04be6caad2c1394539531ebc69a22f7fe
Gerrit-Change-Number: 25572
Gerrit-PatchSet: 1
Gerrit-Owner: Zoltan Borok-Nagy <[email protected]>

Reply via email to