You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/07/01 13:16:00 UTC
[jira] [Work logged] (HIVE-26055) Fix the HivePrivilegesObjects for Alter table rename command
[ https://issues.apache.org/jira/browse/HIVE-26055?focusedWorklogId=787097&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-787097 ]
ASF GitHub Bot logged work on HIVE-26055:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 01/Jul/22 13:15
Start Date: 01/Jul/22 13:15
Worklog Time Spent: 10m
Work Description: deniskuzZ commented on code in PR #3247:
URL: https://github.com/apache/hive/pull/3247#discussion_r911952989
##########
itests/util/src/main/java/org/apache/hadoop/hive/ql/hooks/VerifyOutputTableLocationSchemeIsFileHook.java:
##########
@@ -24,10 +24,10 @@ public class VerifyOutputTableLocationSchemeIsFileHook implements ExecuteWithHoo
@Override
public void run(HookContext hookContext) {
- for (WriteEntity output : hookContext.getOutputs()) {
- if (output.getType() == WriteEntity.Type.TABLE) {
- String scheme = output.getTable().getDataLocation().toUri().getScheme();
- Assert.assertTrue(output.getTable().getTableName() + " has a location which has a " +
+ for (ReadEntity input : hookContext.getInputs()) {
Review Comment:
Why is this change? switch from outputs -> inputs?
Issue Time Tracking
-------------------
Worklog Id: (was: 787097)
Time Spent: 6h (was: 5h 50m)
> Fix the HivePrivilegesObjects for Alter table rename command
> ------------------------------------------------------------
>
> Key: HIVE-26055
> URL: https://issues.apache.org/jira/browse/HIVE-26055
> Project: Hive
> Issue Type: Bug
> Components: HiveServer2, Security
> Reporter: Sai Hemanth Gantasala
> Assignee: Sai Hemanth Gantasala
> Priority: Major
> Labels: pull-request-available
> Time Spent: 6h
> Remaining Estimate: 0h
>
> Fix the HivePrivilegeObjects for Alter table rename query in a way that it includes source table information in the output objects and destination table information in the input objects.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)