Krystal created DRILL-501:
-----------------------------

             Summary: Drill fails to parse absolute value "@" in query
                 Key: DRILL-501
                 URL: https://issues.apache.org/jira/browse/DRILL-501
             Project: Apache Drill
          Issue Type: Bug
    Affects Versions: 1.0.0
            Reporter: Krystal


Ran the following query:
select @(gpa - rownum) from student where rownum=10;

Got the following error:
Query failed: org.apache.drill.exec.rpc.RpcException: Remote failure while 
running query.[error_id: "727a0a12-44b5-4d51-aeb2-533543029e6b"
endpoint {
  address: "qa-node57.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 8.  Encountered: \"@\" (64), after : \"\" ] < TokenMgrError:[ 
Lexical error at line 1, column 8.  Encountered: \"@\" (64), after : \"\" ]"
]



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to