[
https://issues.apache.org/jira/browse/HIVE-16197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sankar Hariappan updated HIVE-16197:
------------------------------------
Attachment: HIVE-16197.01.patch
Attached 01.patch:
Added support for insert-into for partitions and also introduced the replace
flag to differentiate insert-into and insert-overwrite operations for
incremental replication.
Support to replicate insert-overwrite is done as part of HIVE-15642. Hence
commented the test case for verifying overwrite case.
Request [~sushanth] [~thejas] [~anishek] to review the 01.patch.
> Incremental insert into a partitioned table doesn't get replicated.
> -------------------------------------------------------------------
>
> Key: HIVE-16197
> URL: https://issues.apache.org/jira/browse/HIVE-16197
> Project: Hive
> Issue Type: Sub-task
> Components: repl
> Reporter: Sankar Hariappan
> Assignee: Sankar Hariappan
> Attachments: HIVE-16197.01.patch
>
>
> Insert to a partitioned table doesn't replicate properly in case of
> incremental dump/load. Few key points to be noted.
> 1. If insert command itself created the new partition, then the inserted row
> is replicated. But the subsequent inserts into the same table doesn't get
> replicated.
> 2. If the partition is created using ALTER TABLE command, then none of the
> inserted rows to this partition is getting replicated. However, the partition
> metadata is getting replicated.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)