Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.2.0
-
None
-
None
Description
Here's the query that fails:
hive> CREATE DATABASE db; hive> USE db; hive> CREATE TABLE a(id int); hive> SET fs.trash.interval=1; hive> DROP DATABASE db CASCADE; FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. MetaException(message:Unable to drop db.a because it is in an encryption zone and trash is enabled. Use PURGE option to skip trash.)
DROP DATABASE does not support PURGE, so we have to remove the tables one by one, and then drop the database.
Attachments
Attachments
Issue Links
- links to