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

Current Schema Not Shown In the sqlline Prompt

    XMLWordPrintableJSON

Details

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

    Description

      The prompt isn't what I'd call user-friendly (doesn't display the schema I'm connected to).

      [root@n69 bin]# ./sqlline -u "jdbc:drill:zk=n69:5181,n72:5181,n73:5181;schema=sys" -n admin -p admin
      sqlline version 1.1.6

      0: jdbc:drill:zk=n69:5181,n72:5181,n73:5181> show tables;
      ------------------------+

      TABLE_SCHEMA TABLE_NAME

      ------------------------+

      sys drillbits
      sys options

      ------------------------+
      2 rows selected (0.263 seconds)

      0: jdbc:drill:zk=n69:5181,n72:5181,n73:5181> select * from drillbits;
      --------------------------------------------+

      host user_port control_port data_port

      --------------------------------------------+

      n69 31010 31011 31012
      n72 31010 31011 31012

      --------------------------------------------+
      2 rows selected (0.077 seconds)
      0: jdbc:drill:zk=n69:5181,n72:5181,n73:5181>

      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: