Noemi Pap-Takacs has posted comments on this change. ( 
https://gerrit.cloudera.org/25276 )

Change subject: IMPALA-15730: Fix DROP PARTITION dropping other Iceberg 
partitions
......................................................................


Patch Set 4:

(3 comments)

https://gerrit.cloudera.org/#/c/25276/4/common/thrift/CatalogObjects.thrift
File common/thrift/CatalogObjects.thrift:

https://gerrit.cloudera.org/#/c/25276/4/common/thrift/CatalogObjects.thrift@693
PS4, Line 693: set
Since we list only the data files, there are no duplicates, do we need to 
change from list to set?


https://gerrit.cloudera.org/#/c/25276/4/fe/src/main/java/org/apache/impala/analysis/AlterTableDropPartitionStmt.java
File 
fe/src/main/java/org/apache/impala/analysis/AlterTableDropPartitionStmt.java:

https://gerrit.cloudera.org/#/c/25276/4/fe/src/main/java/org/apache/impala/analysis/AlterTableDropPartitionStmt.java@134
PS4, Line 134: icebergFilePaths_ = new HashSet<>();
             :     for (FileScanTask fileScanTask : result.fileScanTasks)
The fileScanTask returns each data file path only once, so List should be fine.


https://gerrit.cloudera.org/#/c/25276/4/fe/src/main/java/org/apache/impala/service/IcebergCatalogOpExecutor.java
File fe/src/main/java/org/apache/impala/service/IcebergCatalogOpExecutor.java:

https://gerrit.cloudera.org/#/c/25276/4/fe/src/main/java/org/apache/impala/service/IcebergCatalogOpExecutor.java@336
PS4, Line 336: Deletes the data files of the dropped partitions
Could you mention why delete files are not sent, received and deleted here? I 
think IMPALA-15483 is worth adding here for context.



--
To view, visit https://gerrit.cloudera.org/25276
To unsubscribe, visit https://gerrit.cloudera.org/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I47dd166a468f1ae038c36e052cfe24fbb9932a3c
Gerrit-Change-Number: 25276
Gerrit-PatchSet: 4
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-Comment-Date: Fri, 13 Nov 2026 12:37:56 +0000
Gerrit-HasComments: Yes

Reply via email to