Hi Igniters,

Currently I'm working on the Decimal type implementation for the C++ client
and when I was implementing it I've found that current marshalling of the
BigDecimals seems to be broken as it assumes that scale of the BigDecimal
value is always more than or equal to zero. However, scale can be negative
[1].

This leads to invalid results if we try to marshal-unmarshal BigDecimal
with the
negative scale.

I've submitted an issue for that - [2].

[1] -
https://docs.oracle.com/javase/7/docs/api/java/math/BigDecimal.html#scale()
[2] - https://issues.apache.org/jira/browse/IGNITE-3196

Best Regards,
Igor

Reply via email to