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

chenruotao commented on HIVE-19981:
-----------------------------------

I have one problem about this with hive 2.3.4,by using hive jdbc handler,i 
found that though the ext table of jdbc handler has been droped, the location 
of table in HDFS extis. As time goes by, there are so many empty directory,  
can I fix the problem using this patch?

> 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
>             Fix For: 4.0.0
>
>         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
(v8.3.4#803005)

Reply via email to