Chun Chang created DRILL-946:
--------------------------------
Summary: 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: Execution - Operators
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)