You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Sai Hemanth Gantasala (Jira)" <ji...@apache.org> on 2021/01/07 19:00:00 UTC

[jira] [Created] (HIVE-24603) ALTER TABLE RENAME is not modifying the location of managed table

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)