hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sankar Hariappan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-16344) Test and support replication of exchange partition
Date Mon, 03 Apr 2017 17:44:41 GMT

     [ 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 (partial_partition_spec) 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;

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.


> Test and 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
>    Affects Versions: 2.1.0
>            Reporter: Sankar Hariappan
>            Assignee: Sankar Hariappan
>              Labels: DR
>         Attachments: HIVE-16344.01.patch
>
>
> 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 (partial_partition_spec) 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)

Mime
View raw message