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

Aihua Xu commented on HIVE-14123:
---------------------------------

[~pvary] This seems very useful. I have a question about compatibility mode and 
beeline mode. Why are we getting the configuration value differently based on 
the mode? Can we implement: get the initial value from the configuration file 
and the value can be overwritten by the command line option? 

> Add beeline configuration option to show database in the prompt
> ---------------------------------------------------------------
>
>                 Key: HIVE-14123
>                 URL: https://issues.apache.org/jira/browse/HIVE-14123
>             Project: Hive
>          Issue Type: Improvement
>          Components: Beeline, CLI
>    Affects Versions: 2.2.0
>            Reporter: Peter Vary
>            Assignee: Peter Vary
>            Priority: Minor
>         Attachments: HIVE-14123.2.patch, HIVE-14123.3.patch, 
> HIVE-14123.4.patch, HIVE-14123.5.patch, HIVE-14123.6.patch, 
> HIVE-14123.7.patch, HIVE-14123.8.patch, HIVE-14123.patch
>
>
> There are several jira issues complaining that, the Beeline does not respect 
> hive.cli.print.current.db.
> This is partially true, since in embedded mode, it uses the 
> hive.cli.print.current.db to change the prompt, since HIVE-10511.
> In beeline mode, I think this function should use a beeline command line 
> option instead, like for the showHeader option emphasizing, that this is a 
> client side option.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to