drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Krystal (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (DRILL-528) Parse error for TRUNC function
Date Thu, 05 Jun 2014 18:53:01 GMT

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

Krystal resolved DRILL-528.
---------------------------

    Resolution: Fixed

Verified that this function is fixed.

> Parse error for TRUNC function
> ------------------------------
>
>                 Key: DRILL-528
>                 URL: https://issues.apache.org/jira/browse/DRILL-528
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Functions - Drill
>    Affects Versions: 1.0.0
>            Reporter: Krystal
>            Assignee: Krystal
>
> Drill fails to parse TRUNC function:
> 0: jdbc:drill:schema=dfs> select trunc(contributions) from dfs.`voternulls.parquet`
where age < 20;
> Query failed: org.apache.drill.exec.rpc.RpcException: Remote failure while running query.[error_id:
"2b149760-a067-4b8d-9680-424ebc4a90da"
> endpoint {
>   address: "qa-node57.qa.lab"
>   user_port: 31010
>   control_port: 31011
>   data_port: 31012
> }
> error_type: 0
> message: "Failure while parsing sql. < ValidationException:[ org.eigenbase.util.EigenbaseContextException:
From line 1, column 8 to line 1, column 27 ] < EigenbaseContextException:[ From line 1,
column 8 to line 1, column 27 ] < SqlValidatorException:[ No match found for function signature
trunc(<ANY>) ]"
> ]
> Error: exception while executing query (state=,code=0)



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

Mime
View raw message