[
https://issues.apache.org/jira/browse/HIVE-21602?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16816010#comment-16816010
]
anishek commented on HIVE-21602:
--------------------------------
+1
> Dropping an external table created by migration case should delete the data
> directory.
> --------------------------------------------------------------------------------------
>
> Key: HIVE-21602
> URL: https://issues.apache.org/jira/browse/HIVE-21602
> Project: Hive
> Issue Type: Test
> Components: repl, Test
> Affects Versions: 4.0.0
> Reporter: Sankar Hariappan
> Assignee: Sankar Hariappan
> Priority: Minor
> Labels: DR, Replication, Test, pull-request-available
> Attachments: HIVE-21602.01.patch
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> For external table, if the table is dropped, the location is not removed. But
> If the source table is managed and at target the table is converted to
> external, then the table location should be removed if the table is dropped.
> Replication flow should set additional parameter
> "external.table.purge"="true" for migration to external table.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)