hive-issues mailing list archives

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


Sankar Hariappan updated HIVE-16344:
    Attachment: HIVE-16344.01.patch

Already supported replication in the master code as combination of DROP_PARTITION from src_table
and ADD_PARTITION to dest_table. 
So, just added a test case to verify it for both single and multiple partitions case.
Request [~sushanth], [~thejas], [~anishek] to review. 

> Test and support replication of exchange partition
> --------------------------------------------------
>                 Key: HIVE-16344
>                 URL:
>             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 (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

View raw message