You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Zhihua Deng (Jira)" <ji...@apache.org> on 2022/09/28 01:31:00 UTC
[jira] [Resolved] (HIVE-25621) Alter table partition compact/concatenate commands should send HivePrivilegeObjects for Authz
[ https://issues.apache.org/jira/browse/HIVE-25621?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zhihua Deng resolved HIVE-25621.
--------------------------------
Fix Version/s: 4.0.0
Resolution: Fixed
Merged into master. Thank you [~hemanth619] for the contribution!
> Alter table partition compact/concatenate commands should send HivePrivilegeObjects for Authz
> ---------------------------------------------------------------------------------------------
>
> Key: HIVE-25621
> URL: https://issues.apache.org/jira/browse/HIVE-25621
> Project: Hive
> Issue Type: Bug
> Affects Versions: 4.0.0
> Reporter: Sai Hemanth Gantasala
> Assignee: Sai Hemanth Gantasala
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.0.0
>
> Time Spent: 5h 20m
> Remaining Estimate: 0h
>
> # 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);
> # The above compact/concatenate commands are currently not sending any hive privilege objects for authorization. Hive needs to send these objects to avoid malicious users doing any operation.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)