You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Robert Surówka (Updated JIRA)" <ji...@apache.org> on 2011/10/12 20:11:12 UTC

[jira] [Updated] (HIVE-2501) When new instance of Hive (class) is created, the current database is reset to default (current database shouldn't be changed).

     [ https://issues.apache.org/jira/browse/HIVE-2501?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Surówka updated HIVE-2501:
---------------------------------

    Attachment: HIVE-2501.1.patch

By the way, the debugging I added earlier today (HIVE-2500) proved to be extremely useful when tracking this bug. 
                
> 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