[
https://issues.apache.org/jira/browse/RANGER-3476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17723927#comment-17723927
]
Siddhant Sontakke commented on RANGER-3476:
-------------------------------------------
This issue is blocked by HIVE-27326. Once this is fixed, audits for alter
queries will be generated automatically.
> 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
> Assignee: Siddhant Sontakke
> Priority: Major
>
> 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.20.10#820010)