Quanlong Huang has uploaded this change for review. ( http://gerrit.cloudera.org:8080/17230
Change subject: IMPALA-10554: Block updates when row-filter/column-mask is enabled for the user ...................................................................... IMPALA-10554: Block updates when row-filter/column-mask is enabled for the user Per RANGER-1087 and RANGER-1100, table updates(e.g. insert, delete, truncate, upsert, alter, etc.) should be blocked when row-filtering or column-masking policy is enabled for the user. This patch adds the check for any row-filtering or column-masking policy on the table and rejects the update operation if any of them exisits. Tests: - Add FE unit tests Change-Id: I1c899f2ec24b895867cbf2cf9ed23bc7b5a77326 --- M fe/src/main/java/org/apache/impala/authorization/BaseAuthorizationChecker.java M fe/src/main/java/org/apache/impala/authorization/Privilege.java M fe/src/main/java/org/apache/impala/authorization/ranger/RangerAuthorizationChecker.java M fe/src/main/java/org/apache/impala/authorization/ranger/RangerImpalaPlugin.java M fe/src/test/java/org/apache/impala/authorization/AuthorizationStmtTest.java 5 files changed, 273 insertions(+), 81 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/30/17230/1 -- To view, visit http://gerrit.cloudera.org:8080/17230 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I1c899f2ec24b895867cbf2cf9ed23bc7b5a77326 Gerrit-Change-Number: 17230 Gerrit-PatchSet: 1 Gerrit-Owner: Quanlong Huang <[email protected]>
