[ https://issues.apache.org/jira/browse/HIVE-2172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Phabricator updated HIVE-2172: ------------------------------ Attachment: HIVE-2172.D1269.1.patch navis requested code review of "HIVE-2172 [jira] Hive CLI should let you specify database on the command line". Reviewers: JIRA DPAL-626 Hive CLI should let you specify database on the command line I'd like to be able to do the following: <div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent"> <pre>% hive --dbname=mydb hive> ... </pre> </div></div> instead of having to do: <div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent"> <pre>% hive hive> use mydb; hive> ... </pre> </div></div> TEST PLAN EMPTY REVISION DETAIL https://reviews.facebook.net/D1269 AFFECTED FILES cli/src/java/org/apache/hadoop/hive/cli/CliDriver.java cli/src/java/org/apache/hadoop/hive/cli/CliSessionState.java cli/src/java/org/apache/hadoop/hive/cli/OptionsProcessor.java MANAGE HERALD DIFFERENTIAL RULES https://reviews.facebook.net/herald/view/differential/ WHY DID I GET THIS EMAIL? https://reviews.facebook.net/herald/transcript/2655/ Tip: use the X-Herald-Rules header to filter Herald messages in your client. > Hive CLI should let you specify database on the command line > ------------------------------------------------------------ > > Key: HIVE-2172 > URL: https://issues.apache.org/jira/browse/HIVE-2172 > Project: Hive > Issue Type: New Feature > Components: CLI > Reporter: Carl Steinbach > Assignee: Jakob Homan > Priority: Minor > Attachments: HIVE-2172.D1269.1.patch > > > I'd like to be able to do the following: > {noformat} > % hive --dbname=mydb > hive> ... > {noformat} > instead of having to do: > {noformat} > % hive > hive> use mydb; > hive> ... > {noformat} -- 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