You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/11/07 20:33:00 UTC

[jira] [Commented] (ARROW-1709) [C++] 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=16242828#comment-16242828 ] 

ASF GitHub Bot commented on ARROW-1709:
---------------------------------------

cpcloud opened a new pull request #1292: ARROW-1709: [C++] Decimal.ToString is incorrect for negative scale
URL: https://github.com/apache/arrow/pull/1292
 
 
   This is on top of ARROW-1716. Will rebase when that's merged.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> [C++] 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
>              Labels: pull-request-available
>             Fix For: 0.8.0
>
>
> {{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)