Sai Hemanth Gantasala created HIVE-26911:
--------------------------------------------

             Summary: 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


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