You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Sankar Hariappan (JIRA)" <ji...@apache.org> on 2017/04/03 13:16:41 UTC

[jira] [Updated] (HIVE-16344) Support replication of exchange partition

     [ 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)