You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Krystal (JIRA)" <ji...@apache.org> on 2014/07/02 21:05:24 UTC

[jira] [Commented] (DRILL-841) TRUNC(n1, n2) fails when n1 is a float or double

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

Krystal commented on DRILL-841:
-------------------------------

git.commit.id.abbrev=a1a6144

Verified that bug is fixed.

> TRUNC(n1, n2) fails when n1 is a float or double
> ------------------------------------------------
>
>                 Key: DRILL-841
>                 URL: https://issues.apache.org/jira/browse/DRILL-841
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Functions - Drill
>    Affects Versions: 1.0.0-milestone-1
>            Reporter: Krystal
>            Assignee: DrillCommitter
>             Fix For: 1.0.0-BETA1
>
>         Attachments: DRILL-841.patch
>
>
> git.commit.id.abbrev=5b8f8d8
> 0: jdbc:drill:schema=dfs> select trunc(124.349845,2) from voter where voter_id=10;
> Query failed: org.apache.drill.exec.rpc.RpcException: [error_id: "4ae8682a-1a6c-488a-b0df-6b6fb8de5309"
> endpoint {
>   address: "qa-node64.qa.lab"
>   user_port: 31010
>   control_port: 31011
>   data_port: 31012
> }
> error_type: 0
> message: "Screen received stop request sent. < SchemaChangeException:[ Failure while trying to materialize incoming schema.  Errors:
>  
> Error in expression at index -1.  Error: Missing function implementation: [trunc(FLOAT8-REQUIRED, INT-REQUIRED)].  Full expression: --UNKNOWN EXPRESSION--.. ]"



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