Nandor Kollar has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/24733 )

Change subject: IMPALA-14996: Optimize count(*) for Iceberg V3 DV-only tables
......................................................................


Patch Set 6:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/24733/6/fe/src/main/java/org/apache/impala/analysis/SelectStmt.java
File fe/src/main/java/org/apache/impala/analysis/SelectStmt.java:

http://gerrit.cloudera.org:8080/#/c/24733/6/fe/src/main/java/org/apache/impala/analysis/SelectStmt.java@1553
PS6, Line 1553:     if (!Utils.hasDeleteFiles(iceTable, timeTravelSpec)) {
I think for time travel case, worst case this scans the manifests up to three 
time: first to answer hasDeleteFiles, then to answer hasOnlyDeletionVectors, 
and last time to answer getRecordCountForDvOnlyTable. Can we somehow avoid 
scanning manifests three time? Maybe we can create GroupedContentFiles only 
once, and use that in each of the methods I mentioned before?



--
To view, visit http://gerrit.cloudera.org:8080/24733
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I0e6239629ee779a64808a0a4bbe041ef756c5bb2
Gerrit-Change-Number: 24733
Gerrit-PatchSet: 6
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, 19 Oct 2026 11:38:01 +0000
Gerrit-HasComments: Yes

Reply via email to