Zoltan Borok-Nagy has posted comments on this change. ( 
https://gerrit.cloudera.org/25561 )

Change subject: IMPALA-15508: Support table ownership for Iceberg REST catalogs
......................................................................


Patch Set 2:

(3 comments)

PS2 adds the table part: execDdl rejects 'owner' (case-insensitively) in CREATE 
TABLE properties and SET/UNSET TBLPROPERTIES of any target before dispatching, 
so a later path that forgets its own check still fails closed. CREATE TABLE 
LIKE has no property map, so its creator stamp must overwrite a copied 'owner' 
itself. The database side stays with IMPALA-15844.

https://gerrit.cloudera.org/#/c/25561/1/fe/src/main/java/org/apache/impala/analysis/ToSqlUtils.java
File fe/src/main/java/org/apache/impala/analysis/ToSqlUtils.java:

https://gerrit.cloudera.org/#/c/25561/1/fe/src/main/java/org/apache/impala/analysis/ToSqlUtils.java@202
PS1, Line 202:         commonProps.keySet().removeIf(key ->
> nit: the write-side checks reject 'owner' case-insensitively, so a REST tab
Done, replayability wins. SHOW CREATE TABLE now drops every case variant of 
'owner' (IcebergUtil.REST_RESERVED_TABLE_PROPERTIES, the set 25375/25387 use) 
for REST tables, the read side stays exact. Added 'OWNER' to ToSqlUtilsTest and 
the docs.


https://gerrit.cloudera.org/#/c/25561/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/25561/2/fe/src/main/java/org/apache/impala/service/IcebergDdlExecutor.java@81
PS2, Line 81:     checkNoReservedTableProperty(ddl);
Re the central check question: added here for the table part. execDdl rejects 
'owner' (case-insensitively) in CREATE TABLE properties and SET/UNSET 
TBLPROPERTIES of any target before dispatching, so a later path that forgets 
its own check still fails closed. CREATE TABLE LIKE has no property map, so its 
creator stamp must overwrite a copied 'owner' itself. The database side stays 
with IMPALA-15844.


https://gerrit.cloudera.org/#/c/25561/1/tests/authorization/test_ranger.py
File tests/authorization/test_ranger.py:

https://gerrit.cloudera.org/#/c/25561/1/tests/authorization/test_ranger.py@4198
PS1, Line 4198:     .format(os.environ['IMPALA_HOME']) + IMPALAD_ARGS)
> flake8: E131 continuation line unaligned for hanging indent
Done



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9ae5bf77acb90010d14012dac03218c600691fb0
Gerrit-Change-Number: 25561
Gerrit-PatchSet: 2
Gerrit-Owner: Zoltan Borok-Nagy <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Mihaly Szjatinya <[email protected]>
Gerrit-Reviewer: Zoltan Borok-Nagy <[email protected]>
Gerrit-Comment-Date: Thu, 26 Nov 2026 17:18:29 +0000
Gerrit-HasComments: Yes

Reply via email to