[
https://issues.apache.org/jira/browse/HIVE-16279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zoltan Haindrich resolved HIVE-16279.
-------------------------------------
Resolution: Won't Fix
this is not needed... HIVE-11418
> Support purge option in drop database statement
> -----------------------------------------------
>
> Key: HIVE-16279
> URL: https://issues.apache.org/jira/browse/HIVE-16279
> Project: Hive
> Issue Type: Improvement
> Reporter: Zoltan Haindrich
> Priority: Minor
>
> In case there are tables in the database..and the trash is insecure:
> {code}
> > drop database if exists a cascade ;
> Error: Error while processing statement: FAILED: Execution Error, return code
> 1 from org.apache.hadoop.hive.ql.exec.DDLTask. MetaException(message:Unable
> to drop a.t because it is in an encryption zone and trash is enabled. Use
> PURGE option to skip trash.) (state=08S01,code=1)
> {code}
> however...drop database doesn't accepts the purge option...
> it would be good to have it; as the exception message already refers to it! :)
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)