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

Siying Dong commented on HIVE-2090:
-----------------------------------

One thing to notice. When dropping all tables on a database, all files on the 
warehouse root of the DB are deleted. Data from tables/partitions on locations 
that are not under that root won't be deleted. This is kind of similar to the 
current approach of dropping table -- data in partitions won't be deleted if 
their locations are not under table's locations.

> Add "DROP DATABASE ... FORCE"
> -----------------------------
>
>                 Key: HIVE-2090
>                 URL: https://issues.apache.org/jira/browse/HIVE-2090
>             Project: Hive
>          Issue Type: New Feature
>            Reporter: Siying Dong
>            Assignee: Siying Dong
>            Priority: Minor
>         Attachments: HIVE-2090.1.patch, HIVE-2090.2.patch, HIVE-2090.3.patch
>
>
> A "DROP DATABASE ... FORCE" will be useful, when we use a database for 
> isolation when doing some tests. Being able to force cleaning up the database 
> will make test cleaning up easier.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to