[
https://issues.apache.org/jira/browse/HIVE-25621?focusedWorklogId=805667&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-805667
]
ASF GitHub Bot logged work on HIVE-25621:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 02/Sep/22 02:27
Start Date: 02/Sep/22 02:27
Worklog Time Spent: 10m
Work Description: dengzhhu653 commented on code in PR #2731:
URL: https://github.com/apache/hive/pull/2731#discussion_r961235215
##########
ql/src/test/results/clientpositive/llap/orc_merge5.q.out:
##########
@@ -385,6 +385,7 @@ STAGE PLANS:
Stage: Stage-0
Concatenate
table name: default.orc_merge5b_n0
+ table name: default.orc_merge5b_n0
Review Comment:
I'm wondering the two one is from AlterTableConcatenateDesc,
https://github.com/apache/hive/blob/7b3ecf617a6d46f48a3b6f77e0339fd4ad95a420/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/storage/concatenate/AlterTableConcatenateDesc.java#L57-L60
the other comes from AbstractAlterTableDesc:
https://github.com/apache/hive/blob/7b3ecf617a6d46f48a3b6f77e0339fd4ad95a420/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/AbstractAlterTableDesc.java#L64-L67
Issue Time Tracking
-------------------
Worklog Id: (was: 805667)
Time Spent: 4h 10m (was: 4h)
> 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
> Time Spent: 4h 10m
> 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)