DROP DATABASE CASCADE does not drop non-native tables. 
-------------------------------------------------------

                 Key: HIVE-2542
                 URL: https://issues.apache.org/jira/browse/HIVE-2542
             Project: Hive
          Issue Type: Bug
          Components: Metastore
            Reporter: Vandana Ayyalasomayajula


The hive meta store client does not delete the non-native tables during the 
drop database <dbname> cascade operation. As a result even though the database 
is deleted the tables still exist. This is related to HCATALOG-144. 

A deeper look at the HiveMetaStoreClient's "dropDatabase" function, tells us 
that the function does not utilize the hive meta hooks of the tables in the 
database for dropping the non-native tables. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to