Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-6840

Allow measure values of integers with more than 10 digits in database

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2
    • Component/s: Database
    • Labels:
      None

      Description

      Precision of db column PROJECT_MEASURES.VALUE is 30 and scale is 20. That means that it accepts 20 digits in the fractional part and 10 digits before the decimal point. That's not enough to store the maximum value of Java long types (19 digits).
      Scale must be changed to 5, so that integers on 25 digits are supported.

      The same limitation exists on the columns VARIATION_VALUE_xxx

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                simon.brandhof Simon Brandhof
                Reporter:
                simon.brandhof Simon Brandhof
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: