drill-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mufy <mufeed.us...@gmail.com>
Subject Custom sqlline Prompt
Date Sun, 09 Nov 2014 04:25:24 GMT
Is there 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]>\_

---
Mufeed Usman
My LinkedIn <http://www.linkedin.com/pub/mufeed-usman/28/254/400> | My
Social Cause <http://www.vision2016.org.in/> | My Blogs : LiveJournal
<http://mufeed.livejournal.com>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message