You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Konstantinos Kallas (JIRA)" <ji...@apache.org> on 2016/09/15 09:01:20 UTC

[jira] [Created] (HIVE-14763) Exchange Partition with a table that already contains it

Konstantinos Kallas created HIVE-14763:
------------------------------------------

             Summary: Exchange Partition with a table that already contains it
                 Key: HIVE-14763
                 URL: https://issues.apache.org/jira/browse/HIVE-14763
             Project: Hive
          Issue Type: Improvement
          Components: Metastore
            Reporter: Konstantinos Kallas
            Priority: Minor


The EXCHANGE PARTITION command fails to execute if the partition already exists in the target table. However this is not the expected result from a command named *EXCHANGE* partition. 
+Proposed Improvement+
Change the command to really exchange the partition between the target and the source table, meaning that after it the source table should have the destination table partition and vice versa.
[Documentation EXCHANGE PARTITION | https://cwiki.apache.org/confluence/display/Hive/Exchange+Partition]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)