[ 
https://issues.apache.org/jira/browse/HIVE-26911?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17677589#comment-17677589
 ] 

Zhihua Deng commented on HIVE-26911:
------------------------------------

Fix has been merged into master. Thank you [~hemanth619] for the PR.

> 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
>             Fix For: 4.0.0
>
>          Time Spent: 3h
>  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)

Reply via email to