You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Jacques Nadeau (JIRA)" <ji...@apache.org> on 2014/12/28 22:08:18 UTC
[jira] [Updated] (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 ]
Jacques Nadeau updated DRILL-1291:
----------------------------------
Fix Version/s: Future
> 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: Future
>
>
> 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
(v6.3.4#6332)