[
https://issues.apache.org/jira/browse/HIVE-16197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15966346#comment-15966346
]
Sankar Hariappan edited comment on HIVE-16197 at 4/12/17 6:26 PM:
------------------------------------------------------------------
HIVE-16197.04.patch:
Fixed the comments from [~sushanth].
- Mark the replace flag as optional in InsertEventData to avoid compatibility
issue with older clients.
- The comment for INSERT INTO partition was confusing as it was mentioned that
insert into is supported on one partition. So, corrected the comment.
Request [~sushanth] to review the new patch.
was (Author: sankarh):
HIVE-16197.04.patch:
Fixed the comments from [~sushanth].
- Mark the replace flag as optional in InsertEventData to avoid compatibility
issue with older clients.
- The comment for INSERT INTO partition was confusing as it was mentioned that
insert into is supported on one partition. So, corrected the comment.
> 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
> Affects Versions: 2.1.0
> Reporter: Sankar Hariappan
> Assignee: Sankar Hariappan
> Labels: DR
> Attachments: HIVE-16197.01.patch, HIVE-16197.02.patch,
> HIVE-16197.03.patch, HIVE-16197.04.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)