You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Phillip Cloud (JIRA)" <ji...@apache.org> on 2018/02/19 17:57:00 UTC
[jira] [Updated] (ARROW-2177) [C++] Remove support for specifying
negative scale values in DecimalType
[ https://issues.apache.org/jira/browse/ARROW-2177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Phillip Cloud updated ARROW-2177:
---------------------------------
Description: Allowing both negative and positive scale makes it ambiguous what the scale of a number should be when it using exponential notation, e.g., {{0.01E3}}. Should that have a precision of 4 and a scale of 2 since it's specified as 2 points to the right of the decimal and it evaluates to 10? Or a precision of 1 and a scale of -1? (was: Allowing both negative and positive scale makes it ambiguous what the scale of a number should be when it using exponential notation, e.g., {{0.01E3}}. Should that have a precision of 2 and a scale of 2 since it's specified as 2 points to the right of the decimal and it evaluates to 10? Or a precision of 1 and a scale of -1?)
> [C++] Remove support for specifying negative scale values in DecimalType
> ------------------------------------------------------------------------
>
> Key: ARROW-2177
> URL: https://issues.apache.org/jira/browse/ARROW-2177
> Project: Apache Arrow
> Issue Type: Improvement
> Components: C++, Python
> Affects Versions: 0.8.0
> Reporter: Phillip Cloud
> Assignee: Phillip Cloud
> Priority: Major
>
> Allowing both negative and positive scale makes it ambiguous what the scale of a number should be when it using exponential notation, e.g., {{0.01E3}}. Should that have a precision of 4 and a scale of 2 since it's specified as 2 points to the right of the decimal and it evaluates to 10? Or a precision of 1 and a scale of -1?
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)