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

Arina Ielchiieva commented on DRILL-1669:
-----------------------------------------

After upgrade to SqlLine 1.17 user will have multiple ways to set custom 
prompts, using using SqlLine set command ({{!set prompt my_prompt}}). There are 
three properties that influence prompt: prompt, promptScript, rightPrompt.
To override them before Drill start up use {{drill-sqlline-override.conf}}.

> Custom sqlline Prompt
> ---------------------
>
>                 Key: DRILL-1669
>                 URL: https://issues.apache.org/jira/browse/DRILL-1669
>             Project: Apache Drill
>          Issue Type: Improvement
>          Components: Client - CLI
>    Affects Versions: 0.7.0
>            Reporter: MUFEED USMAN
>            Priority: Minor
>             Fix For: 1.16.0
>
>
> It'd be nice to have a way to set/define a custom sqlline prompt in Drill to 
> display, say, the current workspace it is connected to.
> For example:
> In Hive one could do,
> set hive.cli.print.current.db=true
> And in MySQL in /etc/my.cnf,
> [mysql]
> prompt=\u@\h:[\d]>\_



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to