Peter Rozsa has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/24818 )

Change subject: IMPALA-15033: Optimize simple LIMIT queries on Iceberg V2 tables
......................................................................


Patch Set 1:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/24818/1/fe/src/main/java/org/apache/impala/planner/IcebergScanPlanner.java
File fe/src/main/java/org/apache/impala/planner/IcebergScanPlanner.java:

http://gerrit.cloudera.org:8080/#/c/24818/1/fe/src/main/java/org/apache/impala/planner/IcebergScanPlanner.java@373
PS1, Line 373:     for (IcebergFileDescriptor fd : dataFilesWithoutDeletes_) {
What about ordering the files by cardinality? consider an example where the 
files are coming with cardinality as 1,1,1,1,1,1,1,1, 100, and the limit is 80; 
this would only help by dropping the delete file + data file amending.



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I416d947e3c6e3fb0e4c2da056d75f70c08ac9676
Gerrit-Change-Number: 24818
Gerrit-PatchSet: 1
Gerrit-Owner: Nandor Kollar <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Nandor Kollar <[email protected]>
Gerrit-Reviewer: Noemi Pap-Takacs <[email protected]>
Gerrit-Reviewer: Peter Rozsa <[email protected]>
Gerrit-Reviewer: Zoltan Borok-Nagy <[email protected]>
Gerrit-Comment-Date: Tue, 15 Sep 2026 13:20:30 +0000
Gerrit-HasComments: Yes

Reply via email to