Mihaly Szjatinya has posted comments on this change. ( 
https://gerrit.cloudera.org/25374 )

Change subject: IMPALA-15503: Support CREATE/DROP DATABASE on Iceberg REST 
catalogs
......................................................................


Patch Set 3:

(3 comments)

Thanks for review!

https://gerrit.cloudera.org/#/c/25374/2/fe/src/main/java/org/apache/impala/catalog/local/LocalCatalog.java
File fe/src/main/java/org/apache/impala/catalog/local/LocalCatalog.java:

https://gerrit.cloudera.org/#/c/25374/2/fe/src/main/java/org/apache/impala/catalog/local/LocalCatalog.java@242
PS2, Line 242:   public boolean isMultiCatalog() { return metaProvider_ 
instanceof MultiMetaProvider; }
> temporary solution until three-level namespaces are supported

yeah, kind of
we also have the same pattern in LocalImpl.getOrCreateCatalog()


https://gerrit.cloudera.org/#/c/25374/2/fe/src/main/java/org/apache/impala/catalog/local/MultiMetaProvider.java
File fe/src/main/java/org/apache/impala/catalog/local/MultiMetaProvider.java:

https://gerrit.cloudera.org/#/c/25374/2/fe/src/main/java/org/apache/impala/catalog/local/MultiMetaProvider.java@177
PS2, Line 177:       if (dbNames.stream().noneMatch(dbName::equalsIgnoreCase)) 
continue;
> nit: dbNames.stream().noneMatch(dbName::equalsIgnoreCase)
Ack


https://gerrit.cloudera.org/#/c/25374/2/fe/src/test/java/org/apache/impala/service/IcebergDdlExecutorTest.java
File fe/src/test/java/org/apache/impala/service/IcebergDdlExecutorTest.java:

https://gerrit.cloudera.org/#/c/25374/2/fe/src/test/java/org/apache/impala/service/IcebergDdlExecutorTest.java@248
PS2, Line 248:         new AlreadyExistsException("Namespace not empty: %s", 
DB_NAME)}) {
> nit: can we please avoid these ugly `try { fail} catch{assert}` patterns? I
ok, changed throughout the file



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I738850dd6103f1bd4417379e0ebea56b00543e90
Gerrit-Change-Number: 25374
Gerrit-PatchSet: 3
Gerrit-Owner: Mihaly Szjatinya <[email protected]>
Gerrit-Reviewer: Aleksandr Efimov <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Mihaly Szjatinya <[email protected]>
Gerrit-Reviewer: Nandor Kollar <[email protected]>
Gerrit-Reviewer: Peter Rozsa <[email protected]>
Gerrit-Reviewer: Zoltan Borok-Nagy <[email protected]>
Gerrit-Comment-Date: Wed, 11 Nov 2026 11:11:06 +0000
Gerrit-HasComments: Yes

Reply via email to