You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Arina Ielchiieva (JIRA)" <ji...@apache.org> on 2019/03/29 14:54:00 UTC

[jira] [Resolved] (DRILL-1506) Current Schema Not Shown In the sqlline Prompt

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

Arina Ielchiieva resolved DRILL-1506.
-------------------------------------
    Resolution: Fixed

Fixed in the scope of DRILL-6989.

> 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
>            Assignee: Arina Ielchiieva
>            Priority: Minor
>             Fix For: 1.16.0
>
>
> 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
(v7.6.3#76005)