Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-16383

SQL store numeric precision throwing in acceptable values

XMLWordPrintable

      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
              rh-ee-jbolina Jose Bolina
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: