ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-3196) Marshaling works wrong for the BigDecimals that have negative scale
Date Fri, 18 Aug 2017 14:58:02 GMT

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

ASF GitHub Bot commented on IGNITE-3196:
----------------------------------------

Github user alamar closed the pull request at:

    https://github.com/apache/ignite/pull/2484


> Marshaling works wrong for the BigDecimals that have negative scale
> -------------------------------------------------------------------
>
>                 Key: IGNITE-3196
>                 URL: https://issues.apache.org/jira/browse/IGNITE-3196
>             Project: Ignite
>          Issue Type: Bug
>          Components: binary
>    Affects Versions: 1.6
>            Reporter: Igor Sapego
>            Assignee: Vyacheslav Daradur
>             Fix For: 2.0
>
>
> Current marshalling procedure of the {{BigDecimal}} assumes that the scale of the {{BigDecimal}}
value is always more than or equal to zero. However, scale [can be negative|https://docs.oracle.com/javase/7/docs/api/java/math/BigDecimal.html#scale()].
> This leads to invalid results if we try to marshal-unmarshal {{BigDecimal}} that has
a negative scale.



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

Mime
View raw message