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] [Commented] (DRILL-946) sum(decimal18) only give precession 9 result
Date Thu, 12 Jun 2014 16:48:04 GMT

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

Jacques Nadeau commented on DRILL-946:
--------------------------------------

fixed within 4198a17~21

> sum(decimal18) only give precession 9 result
> --------------------------------------------
>
>                 Key: DRILL-946
>                 URL: https://issues.apache.org/jira/browse/DRILL-946
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Functions - Drill
>            Reporter: Chun Chang
>            Assignee: Mehant Baid
>         Attachments: DRILL-946.patch
>
>
> #Mon Jun 09 10:22:40 PDT 2014
> git.commit.id.abbrev=fb2091a
> When I sum() a decimal18, I used to get result with P18, with this build, I only get
P9. Looks like a regression.
> Here is the query through drill:
> 0: jdbc:drill:schema=dfs> select sum(cast(c_decimal9 as decimal(18,9))) from data;
> +------------+
> |   EXPR$0   |
> +------------+
> | 1.23582883E8 |
> +------------+
> And I used to get
> 1.2358288447063999E8



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

Mime
View raw message