You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by Ramesh Mani <rm...@hortonworks.com> on 2021/10/06 06:43:18 UTC

Review Request 73631: RANGER-3464:Handle if exists and if not exists clause commands authorization correctly in Ranger Hive authorizer

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/73631/
-----------------------------------------------------------

Review request for ranger, Abhay Kulkarni, Madhan Neethiraj, Mehul Parikh, Selvamohan Neethiraj, and Velmurugan Periasamy.


Bugs: RANGER-3464
    https://issues.apache.org/jira/browse/RANGER-3464


Repository: ranger


Description
-------

RANGER-3464:Handle if exists and if not exists clause commands authorization correctly in Ranger Hive authorizer


Diffs
-----

  hive-agent/src/main/java/org/apache/ranger/authorization/hive/authorizer/RangerHiveAuthorizer.java 9dfbc9bdf 


Diff: https://reviews.apache.org/r/73631/diff/1/


Testing
-------

Verified running various command sequence like the following one in beeline

create table a(id int);
insert into a values(1);
create materialized view if not exists av as select * from a;
create materialized view if not exists av as select * from a;
drop materialized view if exists av;
drop materialized view if exists av;


Thanks,

Ramesh Mani