drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacques Nadeau (JIRA)" <j...@apache.org>
Subject [jira] [Reopened] (DRILL-1938) Select a column named 'user' fails in Drill
Date Thu, 29 Jan 2015 18:26:34 GMT

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

Jacques Nadeau reopened DRILL-1938:
-----------------------------------
      Assignee: Aman Sinha

I'm reopening as I think the error message is pretty unhelpful.  User should receive a parsing
message like they do for other situations where they are using a reserved word.

> Select a column named 'user' fails in Drill
> -------------------------------------------
>
>                 Key: DRILL-1938
>                 URL: https://issues.apache.org/jira/browse/DRILL-1938
>             Project: Apache Drill
>          Issue Type: Bug
>    Affects Versions: 0.7.0
>            Reporter: Subhash Gopinath
>            Assignee: Aman Sinha
>
> Selecting a column named 'user' throws an error. It might be because it is also a standard
function name.
> 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)

Mime
View raw message