Skip to content

[C++] Remove support for specifying negative scale values in DecimalType #18143

@asfimport

Description

@asfimport

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?

Current it's the latter, but I think it should be the former.

Reporter: Phillip Cloud / @cpcloud
Assignee: Phillip Cloud / @cpcloud

Note: This issue was originally created as ARROW-2177. Please see the migration documentation for further details.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions