Impala Public Jenkins has submitted this change and it was merged. ( 
http://gerrit.cloudera.org:8080/25034 )

Change subject: IMPALA-15320: Enforce write capabilities for Iceberg and Kudu 
DML
......................................................................

IMPALA-15320: Enforce write capabilities for Iceberg and Kudu DML

Route MERGE, UPDATE, DELETE and OPTIMIZE through the common WRITE
capability check. This enforces the existing bucketed-table and HMS
write restrictions and replaces the REST-only guard.

Keep REST tables limited to INSERT INTO and preserve the Kudu
exception to HMS access-type checks.

Testing:
- Focused Linux Java and fesupport build
- AnalyzerCapabilityTest: 3 tests
- AnalyzeModifyStmtsTest: capabilities, UPDATE and MERGE (4 tests)
- AnalyzeStmtsTest#TestOptimizeNoOp

Change-Id: I7aa7c539a00a0adf8c8c39727e25e274bc98c866
Assisted-by: GPT-6 (Codex)
Reviewed-on: http://gerrit.cloudera.org:8080/25034
Reviewed-by: Impala Public Jenkins <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>
---
M fe/src/main/java/org/apache/impala/analysis/Analyzer.java
M fe/src/main/java/org/apache/impala/analysis/MergeStmt.java
M fe/src/main/java/org/apache/impala/analysis/ModifyStmt.java
M fe/src/main/java/org/apache/impala/analysis/OptimizeStmt.java
M fe/src/test/java/org/apache/impala/analysis/AnalyzeModifyStmtsTest.java
M fe/src/test/java/org/apache/impala/analysis/AnalyzerCapabilityTest.java
6 files changed, 80 insertions(+), 25 deletions(-)

Approvals:
  Impala Public Jenkins: Looks good to me, approved; Verified

--
To view, visit http://gerrit.cloudera.org:8080/25034
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I7aa7c539a00a0adf8c8c39727e25e274bc98c866
Gerrit-Change-Number: 25034
Gerrit-PatchSet: 4
Gerrit-Owner: Aleksandr Efimov <[email protected]>
Gerrit-Reviewer: Aleksandr Efimov <[email protected]>
Gerrit-Reviewer: Fang-Yu Rao <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Michael Smith <[email protected]>
Gerrit-Reviewer: Peter Rozsa <[email protected]>
Gerrit-Reviewer: Zoltan Borok-Nagy <[email protected]>

Reply via email to