drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacques Nadeau (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DRILL-1506) Current Schema Not Shown In the sqlline Prompt
Date Sun, 28 Dec 2014 21:08:20 GMT

     [ https://issues.apache.org/jira/browse/DRILL-1506?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jacques Nadeau updated DRILL-1506:
----------------------------------
    Fix Version/s: Future

> 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
>             Fix For: Future
>
>
> 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)

Mime
View raw message