Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-23340

.NET: Some BigDecimal values can't be represented

    XMLWordPrintableJSON

Details

    • .NET: Added BigDecimal type to support full range of values that Ignite can handle.
    • Docs Required, Release Notes Required

    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

          Activity

            People

              ptupitsyn Pavel Tupitsyn
              ptupitsyn Pavel Tupitsyn
              Igor Sapego Igor Sapego
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m