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

Type system. Number(n) and Decimal native types.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-alpha3
    • None
    • Docs Required, Release Notes Required

    Description

      Let's extend native support for Numeric types.

      • Number( n ) is an n-bytes two-complement integer signed value encoded in the varlong style represented as BigInteger.
      • Decimal is a direct mapping to BigDecimal value.

      Each number must have a single binary representation.
      In general, Decimal allows different equal representations for the same number "10" and "10.0".
      So, to fix this Decimals must be converted to the column scale before being saved.

      Actually, serialization with preserving is not necessary because indices may have their own format for inline values.

      Attachments

        Issue Links

          Activity

            People

              vermakov Vladimir Ermakov
              agoncharuk Alexey Goncharuk
              Andrey Mashenkov Andrey Mashenkov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 168h
                  168h
                  Remaining:
                  Time Spent - 7h 40m Remaining Estimate - 160h 20m
                  160h 20m
                  Logged:
                  Time Spent - 7h 40m Remaining Estimate - 160h 20m
                  7h 40m