Peter Rozsa has posted comments on this change. ( https://gerrit.cloudera.org/24733 )
Change subject: IMPALA-14996: Optimize count(*) for Iceberg V3 DV-only tables ...................................................................... Patch Set 9: (2 comments) https://gerrit.cloudera.org/#/c/24733/9//COMMIT_MSG Commit Message: https://gerrit.cloudera.org/#/c/24733/9//COMMIT_MSG@42 PS9, Line 42: Testing: Please add a test for V2-V3 migration path, when there are V2 deletion files but the format is V3 already https://gerrit.cloudera.org/#/c/24733/9/fe/src/main/java/org/apache/impala/analysis/SelectStmt.java File fe/src/main/java/org/apache/impala/analysis/SelectStmt.java: https://gerrit.cloudera.org/#/c/24733/9/fe/src/main/java/org/apache/impala/analysis/SelectStmt.java@1561 PS9, Line 1561: Utils.getRecordCountForDvOnlyTable(iceTable, timeTravelFiles)); The constant rewrite drops the scan, so nothing checks that the table's files actually exist. The V2 rewrite is only safe because it keeps a scan, eventually throws when hasMissingFile() is true. -- To view, visit https://gerrit.cloudera.org/24733 To unsubscribe, visit https://gerrit.cloudera.org/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I0e6239629ee779a64808a0a4bbe041ef756c5bb2 Gerrit-Change-Number: 24733 Gerrit-PatchSet: 9 Gerrit-Owner: Arnab Karmakar <[email protected]> Gerrit-Reviewer: Arnab Karmakar <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Nandor Kollar <[email protected]> Gerrit-Reviewer: Peter Rozsa <[email protected]> Gerrit-Comment-Date: Mon, 23 Nov 2026 10:24:35 +0000 Gerrit-HasComments: Yes
