Bikramjeet Vig has uploaded a new change for review.

  http://gerrit.cloudera.org:8080/3327

Change subject: IMPALA-2836: ADD Partition now only requires INSERT permissions
......................................................................

IMPALA-2836: ADD Partition now only requires INSERT permissions

Changed Permissions required in the analyse method in
AlterTableAddPartitionStmt along with changes in AlterTableStmt
file.

Testing:
Added a test in AuthorizationTest.java that runs an add partition
query without having Alter Permissions on that table.
Also removed a test that expected an error if trying to
achieve the same.

Change-Id: I6d971f0ab46fed87b0428d344d002a42644b9847
---
M fe/src/main/java/com/cloudera/impala/analysis/AlterTableAddPartitionStmt.java
M fe/src/main/java/com/cloudera/impala/analysis/AlterTableStmt.java
M fe/src/test/java/com/cloudera/impala/analysis/AuthorizationTest.java
3 files changed, 8 insertions(+), 5 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala refs/changes/27/3327/1
-- 
To view, visit http://gerrit.cloudera.org:8080/3327
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6d971f0ab46fed87b0428d344d002a42644b9847
Gerrit-PatchSet: 1
Gerrit-Project: Impala
Gerrit-Branch: cdh5-trunk
Gerrit-Owner: Bikramjeet Vig <[email protected]>

Reply via email to