Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
0.4.0
-
None
-
CentOS 6.4
Drill 0.4.0
Description
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:
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.
Need to fix this.