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

Change subject: IMPALA-15504: ALTER TABLE SET/UNSET TBLPROPERTIES on REST 
catalog tables
......................................................................


Patch Set 5:

(3 comments)

Added comments related to table ownership (IMPALA-15508).

https://gerrit.cloudera.org/#/c/25387/5//COMMIT_MSG
Commit Message:

https://gerrit.cloudera.org/#/c/25387/5//COMMIT_MSG@42
PS5, Line 42: Testing:
Can we test that SET ('owner'), SET ('OWNER') and UNSET ('owner') rejected on 
REST; an HMS Iceberg table still accepts owner?


https://gerrit.cloudera.org/#/c/25387/5/fe/src/main/java/org/apache/impala/analysis/AlterTableSetTblProperties.java
File 
fe/src/main/java/org/apache/impala/analysis/AlterTableSetTblProperties.java:

https://gerrit.cloudera.org/#/c/25387/5/fe/src/main/java/org/apache/impala/analysis/AlterTableSetTblProperties.java@169
PS5, Line 169:     //Cannot set these properties related to metadata
for REST tables, please reject owner case-insensitively. Otherwise someone with 
only ALTER can SET ('owner'='me'), and the value becomes a live owner (ALL) 
when IMPALA-15508 lands.

Same goes for UNSET: currently it strips the real owner's rights.


https://gerrit.cloudera.org/#/c/25387/5/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/25387/5/fe/src/main/java/org/apache/impala/service/IcebergCatalogOpExecutor.java@534
PS5, Line 534:   private static void checkSupportedOnRestCatalog(FeIcebergTable 
tbl,
Can we reject (un)setting 'owner' here as well?



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Iec64de016a288bf8055072328551a79951ff97e1
Gerrit-Change-Number: 25387
Gerrit-PatchSet: 5
Gerrit-Owner: Nandor Kollar <[email protected]>
Gerrit-Reviewer: Daniel Vanko <[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: Tue, 17 Nov 2026 16:21:10 +0000
Gerrit-HasComments: Yes

Reply via email to