You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Jason Dere (JIRA)" <ji...@apache.org> on 2018/06/26 01:18:00 UTC

[jira] [Commented] (HIVE-19981) Managed tables converted to external tables by the HiveStrictManagedMigration utility should be set to delete data when the table is dropped

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

Jason Dere commented on HIVE-19981:
-----------------------------------

RB at https://reviews.apache.org/r/67735/

[~ashutoshc] [~daijy] can you review?

> Managed tables converted to external tables by the HiveStrictManagedMigration utility should be set to delete data when the table is dropped
> --------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-19981
>                 URL: https://issues.apache.org/jira/browse/HIVE-19981
>             Project: Hive
>          Issue Type: Sub-task
>            Reporter: Jason Dere
>            Assignee: Jason Dere
>            Priority: Major
>         Attachments: HIVE-19981.1.patch
>
>
> Using the HiveStrictManagedMigration utility, tables can be converted to conform to the Hive strict managed tables mode.
> For managed tables that are converted to external tables by the utility, these tables should keep the "drop data on delete" semantics they had when they were managed tables.
> One way to do this is to introduce a table property "external.table.purge", which if true (and if the table is an external table), will let Hive know to delete the table data when the table is dropped. This property will be set by the HiveStrictManagedMigration utility when managed tables are converted to external tables.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)