hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Surówka (Commented) (JIRA) <j...@apache.org>
Subject [jira] [Commented] (HIVE-2501) When new instance of Hive (class) is created, the current database is reset to default (current database shouldn't be changed).
Date Mon, 24 Oct 2011 23:32:32 GMT

    [ https://issues.apache.org/jira/browse/HIVE-2501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13134632#comment-13134632
] 

Robert Surówka commented on HIVE-2501:
--------------------------------------

I tried to create a test, but unfortunately the bug doesn't manifest there. This is what I
did: https://reviews.apache.org/r/2559/diff/#index_header
Is there a better way to prepare a test that would catch such a 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

       

Mime
View raw message