You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Abhishek (Jira)" <ji...@apache.org> on 2021/10/12 05:58:00 UTC

[jira] [Created] (RANGER-3476) Audits are not being generated for Hive "Alter table partition compact" and "Alter table partition concatenate" statements

Abhishek created RANGER-3476:
--------------------------------

             Summary: Audits are not being generated for Hive "Alter table partition compact" and "Alter table partition concatenate" statements
                 Key: RANGER-3476
                 URL: https://issues.apache.org/jira/browse/RANGER-3476
             Project: Ranger
          Issue Type: Bug
          Components: Ranger
            Reporter: Abhishek


Audits are not being generated for Hive "Alter table partition compact" and "Alter table partition concatenate" statements.

Steps to reproduce :-
 # Create a policy which allows all access on all databases, tables and columns for a user.
 # Run the following queries 
Create table temp(c0 int) partitioned by (c1 int);
Insert into temp values(1,1);
ALTER TABLE temp PARTITION (c1=1) COMPACT 'minor';
ALTER TABLE temp PARTITION (c1=1) CONCATENATE;
Insert into temp values(1,1);
 # If the audits are checked, then the audits are logged only for the create and insert statements and not for the alter statements



--
This message was sent by Atlassian Jira
(v8.3.4#803005)