impala-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bikramjeet Vig (Code Review)" <ger...@cloudera.org>
Subject [Impala-CR](cdh5-trunk) IMPALA-2836: ADD Partition now only requires INSERT permissions
Date Tue, 07 Jun 2016 20:03:18 GMT
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 <bikramjeet.vig@cloudera.com>

Mime
View raw message