Details
Description
- BigDecimal in Ignite 3 (in Java) can have precision up to 32767 (see MAX_DECIMAL_PRECISION)
- .NET decimal has 28-29 digit precision
As a result, some values can't be represented at all (e.g. SQL query results, Java compute job results, etc), leaving the user in a dead end.
To solve this, we should introduce a custom type (IgniteDecimal or something like that), which will consist of unscaled BigInteger and int scale, with a conversion to and from decimal.
Attachments
Issue Links
- blocks
-
IGNITE-23243 .NET: LINQ: Value was either too large or too small for a Decimal
- Open
- links to