You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Naveen Gangam (Jira)" <ji...@apache.org> on 2021/01/12 17:33:00 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17263543#comment-17263543 ]
Naveen Gangam commented on HIVE-24603:
--------------------------------------
Changes look good to me. +1
> 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)