Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Won't Fix
-
None
-
None
-
None
-
None
Description
In case there are tables in the database..and the trash is insecure:
> 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)
however...drop database doesn't accepts the purge option...
it would be good to have it; as the exception message already refers to it!