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)

Reply via email to