To test, from beeline :
CREATE DATABASE test LOCATION test
then
DROP DATABASE test
Table will be well dropped with an error:
ERROR : FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. MetaException(message:Unable to clean up org.postgresql.util.PSQLException: ERREUR: la relation « txn_components » n'existe pas