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

Change subject: IMPALA-15505: Support TRUNCATE TABLE on Iceberg REST catalog 
tables
......................................................................


Patch Set 2:

(3 comments)

https://gerrit.cloudera.org/#/c/25466/2//COMMIT_MSG
Commit Message:

https://gerrit.cloudera.org/#/c/25466/2//COMMIT_MSG@29
PS2, Line 29: REST catalog tables have no statistics
They still get the NDVs from Puffin files.


https://gerrit.cloudera.org/#/c/25466/2/fe/src/main/java/org/apache/impala/service/IcebergDdlExecutor.java
File fe/src/main/java/org/apache/impala/service/IcebergDdlExecutor.java:

https://gerrit.cloudera.org/#/c/25466/2/fe/src/main/java/org/apache/impala/service/IcebergDdlExecutor.java@172
PS2, Line 172: .loadTable(
             :             TableIdentifier.of(Namespace.of(dbName), tblName)
Reloads the table by name, not UUID. The table could have been changed 
(dropped, recreated, etc) in between.


https://gerrit.cloudera.org/#/c/25466/2/fe/src/main/java/org/apache/impala/service/IcebergDdlExecutor.java@174
PS2, Line 174:  catch (NoSuchTableException | NoSuchNamespaceException e) {
             :         // Reported below.
             :       }
We should make sure that the other exceptions contain the table name, too.



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I0afe90fafecb3d587af9dfed777604205a059bdc
Gerrit-Change-Number: 25466
Gerrit-PatchSet: 2
Gerrit-Owner: Daniel Vanko <[email protected]>
Gerrit-Reviewer: Daniel Vanko <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Nandor Kollar <[email protected]>
Gerrit-Reviewer: Noemi Pap-Takacs <[email protected]>
Gerrit-Comment-Date: Mon, 23 Nov 2026 14:18:30 +0000
Gerrit-HasComments: Yes

Reply via email to