Uploaded image for project: 'Red Hat Data Grid'
  1. Red Hat Data Grid
  2. JDG-7392

SQL store numeric precision throwing in acceptable values

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • RHDG 8.5.1 GA
    • None
    • Persistence
    • None

      Currently, we verify the column PRECISION from the definition to define which type of value to use in Protostream. Numeric columns with a precision of 10 or less are integers. However, an integer value accepts values only in [-2,147,483,648 to 2,147,483,647]. Notice that it has 10 digits, but it is missing values (on the positive side) between [2,147,483,648 to 9,999,999,999].

      A column can be defined as `NUMERIC(10, 0)` and should accept these values bigger than usual Java integers.

              rh-ee-jbolina Jose Bolina
              rhn-support-wfink Wolf Fink
              Pavel Drobek Pavel Drobek
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: