Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-1669

Custom sqlline Prompt

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.7.0
    • 1.16.0
    • Client - CLI
    • None

    Description

      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]>_

      Attachments

        Issue Links

          Activity

            People

              arina Arina Ielchiieva
              mufeed.usman MUFEED USMAN
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: