You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Peter Vary (JIRA)" <ji...@apache.org> on 2016/07/27 16:12:20 UTC
[jira] [Resolved] (HIVE-10738) Beeline does not respect
hive.cli.print.current.db
[ https://issues.apache.org/jira/browse/HIVE-10738?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Peter Vary resolved HIVE-10738.
-------------------------------
Resolution: Won't Fix
The configuration is working in CLI, and in BeeLine in compatibility mode.
In BeeLine in beeline mode use the --showDbInPrompt command line option instead.
See HIVE-14123
> Beeline does not respect hive.cli.print.current.db
> --------------------------------------------------
>
> Key: HIVE-10738
> URL: https://issues.apache.org/jira/browse/HIVE-10738
> Project: Hive
> Issue Type: Bug
> Reporter: Reuben Kuhnert
> Assignee: Reuben Kuhnert
> Priority: Minor
>
> Hive CLI (shows default database):
> {code}
> hive> set hive.cli.print.current.db=true;
> set hive.cli.print.current.db=true;
> hive (default)>
> {code}
> Beeline (no change):
> {code}
> 0: jdbc:hive2://localhost:10000> set hive.cli.print.current.db=true;
> set hive.cli.print.current.db=true;
> No rows affected (3.016 seconds)
> 0: jdbc:hive2://localhost:10000>
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)