[ https://issues.apache.org/jira/browse/HIVE-2501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13132211#comment-13132211 ]
John Sichi commented on HIVE-2501: ---------------------------------- I've closed HIVE-2377 as dupe. Could you add a test case for this one? > 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 > Attachments: HIVE-2501.1.patch > > > 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