Sai Hemanth Gantasala created HIVE-24603:
--------------------------------------------

             Summary: ALTER TABLE RENAME is not modifying the location of 
managed table
                 Key: HIVE-24603
                 URL: https://issues.apache.org/jira/browse/HIVE-24603
             Project: Hive
          Issue Type: Bug
          Components: Standalone Metastore
            Reporter: Sai Hemanth Gantasala
            Assignee: Sai Hemanth Gantasala


The location of the managed table is not changing when the table is renamed.

This causes correctness issues as well like the following -

create table abc (id int);
insert into abc values (1);
rename table abc to def;
create table abc (id int); // This should be empty
insert into abc values (2);
select * from abc ; // now returns the 1 and 2, (ie the old results as well)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to