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 2015/01/04 22:28:42 UTC

[jira] [Updated] (DRILL-987) Commands with Unicode characters fail with SqlParseException

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

Jacques Nadeau updated DRILL-987:
---------------------------------
    Priority: Minor  (was: Major)

> Commands with Unicode characters fail with SqlParseException
> ------------------------------------------------------------
>
>                 Key: DRILL-987
>                 URL: https://issues.apache.org/jira/browse/DRILL-987
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: SQL Parser
>            Reporter: Abhishek Girish
>            Priority: Minor
>             Fix For: Future
>
>
> On running a create command which contained unicode space '\u00a0', I hit an SQL parse exception
> Succeeds:
> > reate view customer_temp1 as select cast(columns[0] as integer) as c_customer_sk from `/user/root/cust.tbl`; 
> Fails:
> > create view customer_temp1 as select cast(columns[0] as integer) as  c_customer_sk from `/user/root/cust.tbl`;
> Error message:
> Query failed: org.apache.drill.exec.rpc.RpcException: Remote failure while running query.[error_id: "368ac0bc-143e-4509-937e-af09677eefad"
> endpoint {
>   address: "drillats2.qa.lab"
>   user_port: 31010
>   control_port: 31011
>   data_port: 31012
> }
> error_type: 0
> message: "Failure while parsing sql. < SqlParseException:[ Lexical error at line 1, column 69.  Encountered: "\u00a0" (160), after : "" ] < TokenMgrError:[ Lexical error at line 1, column 69.  Encountered: "\u00a0" (160), after : "" ]"
> ]
> Error: exception while executing query (state=,code=0)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)