When new instance of Hive (class) is created, the current database is reset to default (current database shouldn't be changed). -------------------------------------------------------------------------------------------------------------------------------
Key: HIVE-2501 URL: https://issues.apache.org/jira/browse/HIVE-2501 Project: Hive Issue Type: Bug Reporter: Robert Surówka Assignee: Robert Surówka Priority: Minor This bug manifested to me, when first thing I did after starting Hive, was to call use <db_name>; but then calling show tables; was still showing tables from the default database (and I had to call "use" again to actually change database). This bug might have manifested only due to a specific Hive deployment I am using (I didn't investigate this issue that deeply). -- 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