Details
-
Bug
-
Status: Patch Available
-
Trivial
-
Resolution: Unresolved
-
0.12.0
-
None
-
None
Description
Dropping a non existing table returns no errors
- when IF EXISTS is added
- when hive.exec.drop.ignorenonexistent is set to true
The default configuration in hive-default.xml.template sets hive.exec.drop.ignorenonexistent to true.
However this create a inconsistent default behaviour when DROP TABLE is executed on a non existing table, when the if exists clause is not used.
My suggestion would be to have the default set to false, to align the behavior to the way it's used in SQL.