[ 
https://issues.apache.org/jira/browse/DRILL-1938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14730076#comment-14730076
 ] 

Victoria Markman commented on DRILL-1938:
-----------------------------------------

Verified fixed in 1.2.0

#Thu Sep 03 00:07:29 UTC 2015
git.commit.id.abbrev=9562391

{code}
0: jdbc:drill:schema=dfs> select user from t1;
+--------+
|  user  |
+--------+
| admin  |
| admin  |
| admin  |
| admin  |
| admin  |
| admin  |
| admin  |
| admin  |
| admin  |
| admin  |
+--------+
10 rows selected (0.156 seconds)
{code}

> Fix error message when reserved words are used in query.
> --------------------------------------------------------
>
>                 Key: DRILL-1938
>                 URL: https://issues.apache.org/jira/browse/DRILL-1938
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: SQL Parser
>    Affects Versions: 0.7.0
>            Reporter: Subhash Gopinath
>            Assignee: Aman Sinha
>            Priority: Minor
>              Labels: no_verified_test
>             Fix For: 1.2.0
>
>
> When reserved words are used in a query, the error message thrown should be 
> more user-friendly.
> 0: jdbc:drill:zk=10.10.82.51:5181> select user from
> dfs.`/mr_output/output-2015-01-06_10-43-40_parquet` LIMIT 10;
> Query failed: Query stopped., Failure while trying to materialize
> incoming schema.  Errors:
> Error in expression at index -1.  Error: Missing function
> implementation: [user()].  Full expression: --UNKNOWN EXPRESSION--.. [
> 79c75e68-ac33-47b4-b7d3-0d65e96c7357 on CentOS001:31010 ]
> Error: exception while executing query: Failure while executing query.
> (state=,code=0)



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

Reply via email to