[ 
https://issues.apache.org/jira/browse/HIVE-16171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15941264#comment-15941264
 ] 

ASF GitHub Bot commented on HIVE-16171:
---------------------------------------

GitHub user sankarh opened a pull request:

    https://github.com/apache/hive/pull/166

    HIVE-16171: Support replication of truncate table

    Support replication on truncate table.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/sankarh/hive HIVE-16171

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/hive/pull/166.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 #166
    
----
commit d97927c8ec015e798bf931d9e74fbe8a56e9ea4d
Author: Sankar Hariappan <mailtosank...@gmail.com>
Date:   2017-03-24T07:58:30Z

    HIVE-16171: Support replication of truncate table

----


> Support replication of truncate table
> -------------------------------------
>
>                 Key: HIVE-16171
>                 URL: https://issues.apache.org/jira/browse/HIVE-16171
>             Project: Hive
>          Issue Type: Sub-task
>          Components: repl
>            Reporter: Sankar Hariappan
>            Assignee: Sankar Hariappan
>
> Need to support truncate table for replication. Key points to note.
> 1. For non-partitioned table, truncate table will remove all the rows from 
> the table.
> 2. For partitioned tables, need to consider how truncate behaves if truncate 
> a partition or the whole table.
> 3. Bootstrap load with truncate table must work as it is just 
> loadTable/loadPartition with empty dataset.
> 4. It is suggested to re-use the alter table/alter partition events to handle 
> truncate.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to