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 2017/10/22 22:11:00 UTC

[jira] [Commented] (ARROW-1709) Decimal.ToString is incorrect for negative scale

    [ https://issues.apache.org/jira/browse/ARROW-1709?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16214473#comment-16214473 ] 

Phillip Cloud commented on ARROW-1709:
--------------------------------------

Note this doesn't affect anything about the correctness of the underlying bytes, just the way the value looks when printing.

> Decimal.ToString is incorrect for negative scale
> ------------------------------------------------
>
>                 Key: ARROW-1709
>                 URL: https://issues.apache.org/jira/browse/ARROW-1709
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++
>    Affects Versions: 0.7.1
>            Reporter: Phillip Cloud
>            Assignee: Phillip Cloud
>
> {{Decimal128::ToString(int precision, int scale)}} doesn't handle {{scale < 0}} correctly. It should tack on an extra {{e<abs(scale)}} to the end.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)