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 2018/12/03 11:36:00 UTC

[jira] [Resolved] (DRILL-1291) If typing up botton in SQLline to show previous SQL in history, it only shows last line.

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

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

Fixed after SqlLine upgarde - https://issues.apache.org/jira/browse/DRILL-6866.

> If typing up botton in SQLline to show previous SQL in history, it only shows last line.
> ----------------------------------------------------------------------------------------
>
>                 Key: DRILL-1291
>                 URL: https://issues.apache.org/jira/browse/DRILL-1291
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Client - CLI
>    Affects Versions: 0.4.0
>         Environment: CentOS 6.4
> Drill 0.4.0
>            Reporter: Hao Zhu
>            Priority: Minor
>             Fix For: 1.15.0
>
>
> Sometimes if we want to execute previous SQL in SQLline, typing "up button" only shows last line of SQL but the full SQL text.
> For example:
> {code}
> 0: jdbc:drill:zk=admin.xxx.com:2181,hdw1.v> SELECT SCHEMA_NAME AS Database
> . . . . . . . . . . . . . . . . . . . . . . .> FROM INFORMATION_SCHEMA.SCHEMATA;
> +------------+
> |  Database  |
> +------------+
> | myhdfs.default |
> | myhdfs.root |
> | myhdfs.tmp |
> | dfs.default |
> | dfs.root   |
> | dfs.tmp    |
> | cp.default |
> | sys        |
> | INFORMATION_SCHEMA |
> +------------+
> 9 rows selected (0.242 seconds)
> 0: jdbc:drill:zk=admin.xxx.com:2181,hdw1.v> FROM INFORMATION_SCHEMA.SCHEMATA;
> Query failed: Failure while parsing sql. Encountered "FROM" at line 1, column 1.
> {code}
> Need to fix this.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)