You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "jiraposter@reviews.apache.org (JIRA)" <ji...@apache.org> on 2011/08/09 23:20:29 UTC

[jira] [Commented] (HIVE-2233) Show current database in hive prompt

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

jiraposter@reviews.apache.org commented on HIVE-2233:
-----------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/1433/
-----------------------------------------------------------

Review request for hive.


Summary
-------

Patch shows current database in prompt, if so configured. Example here: http://bit.ly/mVw7Qi


This addresses bug HIVE-2233.
    https://issues.apache.org/jira/browse/HIVE-2233


Diffs
-----

  cli/src/java/org/apache/hadoop/hive/cli/CliDriver.java a2976b5 
  cli/src/java/org/apache/hadoop/hive/cli/CliSessionState.java c693aeb 
  common/src/java/org/apache/hadoop/hive/conf/HiveConf.java b46976f 
  conf/hive-default.xml 3a4f833 

Diff: https://reviews.apache.org/r/1433/diff


Testing
-------

Manually tested.  TestCliDriver not applicable since the change only affects interactive sessions.  If patches that add mockito get committed, can add unit tests.


Thanks,

Jakob



> Show current database in hive prompt
> ------------------------------------
>
>                 Key: HIVE-2233
>                 URL: https://issues.apache.org/jira/browse/HIVE-2233
>             Project: Hive
>          Issue Type: Improvement
>    Affects Versions: 0.7.0
>            Reporter: Jakob Homan
>            Assignee: Jakob Homan
>             Fix For: 0.8.0
>
>         Attachments: HIVE-2233.patch
>
>
> Currently the hive prompt doesn't show which database the user in.  It would be nice if it were something along the lines of {noformat}hive (prod_tracking)>{noformat} or such.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira