MUFEED USMAN created DRILL-1506:
-----------------------------------

             Summary: Current Schema Not Shown In the sqlline Prompt
                 Key: DRILL-1506
                 URL: https://issues.apache.org/jira/browse/DRILL-1506
             Project: Apache Drill
          Issue Type: Improvement
          Components: Client - CLI
    Affects Versions: 0.5.0
            Reporter: MUFEED USMAN
            Priority: Minor


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> 



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

Reply via email to