Hello Fang-Yu Rao, Zoltan Borok-Nagy, Peter Rozsa, Michael Smith, Impala Public
Jenkins,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/25034
to look at the new patch set (#2).
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/2
--
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: newpatchset
Gerrit-Change-Id: I7aa7c539a00a0adf8c8c39727e25e274bc98c866
Gerrit-Change-Number: 25034
Gerrit-PatchSet: 2
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]>