hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dheeraj Kumar Singh (JIRA)" <>
Subject [jira] [Updated] (HIVE-4095) Add exchange partition in Hive
Date Mon, 08 Apr 2013 15:37:15 GMT


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

View raw message