You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Mehant Baid (JIRA)" <ji...@apache.org> on 2014/06/11 01:07:02 UTC
[jira] [Updated] (DRILL-946) sum(decimal18) only give precession 9
result
[ https://issues.apache.org/jira/browse/DRILL-946?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mehant Baid updated DRILL-946:
------------------------------
Component/s: (was: Execution - Operators)
Functions - Drill
> 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
>
> #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)