[ https://issues.apache.org/jira/browse/HIVE-4095?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dheeraj Kumar Singh updated HIVE-4095: -------------------------------------- Status: Patch Available (was: Open) This diff adds an exchange partition feature to hive. The command is of the following format: ALTER TABLE <source_table_name> EXCHANGE PARTITION <partition> WITH TABLE <dest_table_name> This only works if <source_table_name> and <dest_table_name> have the same field schemas and the same partition by parameters. If they do no the command will throw an exception. This will take the partition from <partition> from <source_table_name> and will do an HDFS rename of the partition folder so that the partition now belongs to <dest_table_name>. It will also change the metadata to show that partition of <source_table_name> has been deleted and added to <dest_table_name>. > Add exchange partition in Hive > ------------------------------ > > Key: HIVE-4095 > URL: https://issues.apache.org/jira/browse/HIVE-4095 > Project: Hive > Issue Type: New Feature > Components: Query Processor > Reporter: Namit Jain > Assignee: Dheeraj Kumar Singh > Attachments: HIVE-4095.1.patch.txt > > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira