You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Sai Hemanth Gantasala (Jira)" <ji...@apache.org> on 2021/01/08 18:50:00 UTC
[jira] [Work started] (HIVE-24603) ALTER TABLE RENAME is not
modifying the location of managed table
[ https://issues.apache.org/jira/browse/HIVE-24603?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on HIVE-24603 started by Sai Hemanth Gantasala.
----------------------------------------------------
> 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
> Priority: Major
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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)