[ https://issues.apache.org/jira/browse/HIVE-26055?focusedWorklogId=789872&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-789872 ]
ASF GitHub Bot logged work on HIVE-26055: ----------------------------------------- Author: ASF GitHub Bot Created on: 12/Jul/22 07:00 Start Date: 12/Jul/22 07:00 Worklog Time Spent: 10m Work Description: saihemanth-cloudera commented on code in PR #3247: URL: https://github.com/apache/hive/pull/3247#discussion_r918614645 ########## 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: I have updated the patch to verify the output table i.e..., the old table which is the desired condition. Issue Time Tracking ------------------- Worklog Id: (was: 789872) Time Spent: 6h 40m (was: 6.5h) > 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 40m > 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)