[
https://issues.apache.org/jira/browse/HIVE-16171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sankar Hariappan updated HIVE-16171:
------------------------------------
Description:
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 drop a
partition or rename the partition or so.
was:
Need to support truncate table for replication. Key points to note.
1. For non-partitioned table, truncate table doesn't make any sense as only
drop table shall delete the data.
2. For partitioned tables, need to consider how truncate behaves if drop a
partition or rename the partition or so.
> Support truncate table for replication
> --------------------------------------
>
> 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 drop a
> partition or rename the partition or so.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)