[ 
https://issues.apache.org/jira/browse/HIVE-16344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sankar Hariappan updated HIVE-16344:
------------------------------------
    Description: 
The Exchange (Move) partition operation should be replicated.

-- Move partition from src_table to dest_table
ALTER TABLE dest_table EXCHANGE PARTITION (partition_spec) WITH TABLE src_table;
-- multiple partitions
ALTER TABLE dest_table EXCHANGE PARTITION (partition_spec, partition_spec2, 
...) WITH TABLE src_table;

Already, logging the Exchange Partition as ADD_PARTITION event on destination 
table and DROP_PARTITION event on source table.
Need to check the behaviour and then also add a test to verify the same.

  was:
The Exchange (Move) partition operation should be replicated.

-- Move partition from src_table to dest_table
ALTER TABLE dest_table EXCHANGE PARTITION (partition_spec) WITH TABLE src_table;
-- multiple partitions
ALTER TABLE dest_table EXCHANGE PARTITION (partition_spec, partition_spec2, 
...) WITH TABLE src_table;


> Support replication of exchange partition
> -----------------------------------------
>
>                 Key: HIVE-16344
>                 URL: https://issues.apache.org/jira/browse/HIVE-16344
>             Project: Hive
>          Issue Type: Sub-task
>          Components: repl
>            Reporter: Sankar Hariappan
>            Assignee: Sankar Hariappan
>
> The Exchange (Move) partition operation should be replicated.
> -- Move partition from src_table to dest_table
> ALTER TABLE dest_table EXCHANGE PARTITION (partition_spec) WITH TABLE 
> src_table;
> -- multiple partitions
> ALTER TABLE dest_table EXCHANGE PARTITION (partition_spec, partition_spec2, 
> ...) WITH TABLE src_table;
> Already, logging the Exchange Partition as ADD_PARTITION event on destination 
> table and DROP_PARTITION event on source table.
> Need to check the behaviour and then also add a test to verify the same.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to