[
https://issues.apache.org/jira/browse/HIVE-16344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15953902#comment-15953902
]
ASF GitHub Bot commented on HIVE-16344:
---------------------------------------
GitHub user sankarh opened a pull request:
https://github.com/apache/hive/pull/167
HIVE-16344: Test and support replication of exchange partition
Already supported replication os exchange partition. So, just added a test
case to verify it.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/sankarh/hive HIVE-16344
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/hive/pull/167.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #167
----
commit 9f05ce306be94699dece614de164fb7fd460b8bd
Author: Sankar Hariappan <[email protected]>
Date: 2017-04-03T17:22:56Z
HIVE-16344: Test and support replication of exchange partition
----
> 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 (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)