You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/01/07 21:46:00 UTC

[jira] [Updated] (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 ]

ASF GitHub Bot updated HIVE-24603:
----------------------------------
    Labels: pull-request-available  (was: )

> 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)