[
https://issues.apache.org/jira/browse/HIVE-26911?focusedWorklogId=838483&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-838483
]
ASF GitHub Bot logged work on HIVE-26911:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 10/Jan/23 23:56
Start Date: 10/Jan/23 23:56
Worklog Time Spent: 10m
Work Description: saihemanth-cloudera commented on code in PR #3920:
URL: https://github.com/apache/hive/pull/3920#discussion_r1066454422
##########
ql/src/test/queries/clientpositive/rename_translated_external_table.q:
##########
@@ -0,0 +1,18 @@
+set
metastore.metadata.transformer.class=org.apache.hadoop.hive.metastore.MetastoreDefaultTransformer;
+set hive.fetch.task.conversion=none;
+set hive.compute.query.using.stats=false;
Review Comment:
ack
Issue Time Tracking
-------------------
Worklog Id: (was: 838483)
Time Spent: 1h 40m (was: 1.5h)
> Renaming a translated external table with a specified location fails with
> 'location already exists' exception
> -------------------------------------------------------------------------------------------------------------
>
> Key: HIVE-26911
> URL: https://issues.apache.org/jira/browse/HIVE-26911
> Project: Hive
> Issue Type: Bug
> Components: Standalone Metastore
> Affects Versions: 4.0.0
> Reporter: Sai Hemanth Gantasala
> Assignee: Sai Hemanth Gantasala
> Priority: Major
> Labels: pull-request-available
> Time Spent: 1h 40m
> Remaining Estimate: 0h
>
> Renaming a translated external table with a specified location fails with
> 'location already exists' exception.
> Below are steps for repro
> {code:java}
> create database tmp;
> use tmp;
> create table b(s string) stored as parquet location
> 'hdfs://localhost:20500/test-warehouse/tmp.db/some_location';
> alter table b rename to bb;
> ERROR: InvalidOperationException: New location for this table hive.tmp.bb
> already exists : hdfs://localhost:20500/test-warehouse/tmp.db/some_location
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)