[
https://issues.apache.org/jira/browse/DRILL-1144?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Parth Chandra reassigned DRILL-1144:
------------------------------------
Assignee: DrillCommitter (was: Parth Chandra)
> C++ Client Decimal ignores leading zeros
> ----------------------------------------
>
> Key: DRILL-1144
> URL: https://issues.apache.org/jira/browse/DRILL-1144
> Project: Apache Drill
> Issue Type: Bug
> Components: Client - C++
> Affects Versions: 1.0.0-BETA1
> Reporter: Norris Lee
> Assignee: DrillCommitter
> Attachments: DRILL-1144.diff
>
>
> For cases where a decimal number goes through an arithmetic operation and
> ends up with leading zeros, the zeros are dropped and an error occurs.
> For example, a query like this
> {code}
> select cast('-99999999' as decimal(9,0)) /
> cast('12345678901234.56789123456789' as decimal(28,14)) FROM
> `dfs`.`default`.`/opt/drill/raw-files/voter` limit 1
> {code}
> will cause an error
--
This message was sent by Atlassian JIRA
(v6.2#6252)