Aleksandr Efimov has uploaded this change for review. ( 
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)
---
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(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/34/25034/1
--
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: newchange
Gerrit-Change-Id: I7aa7c539a00a0adf8c8c39727e25e274bc98c866
Gerrit-Change-Number: 25034
Gerrit-PatchSet: 1
Gerrit-Owner: Aleksandr Efimov <[email protected]>

Reply via email to