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

Arina Ielchiieva reassigned DRILL-1291:
---------------------------------------

    Assignee: Arina Ielchiieva

> 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
>            Assignee: Arina Ielchiieva
>            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)

Reply via email to