Uploaded image for project: 'Kylin'
  1. Kylin
  2. KYLIN-3968

Customized precision doesn't work in web

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: v2.6.2
    • Component/s: Web
    • Labels:
      None

      Description

      In the cubeMeasures.js, It will withdraw precision and scale by using Regular Expression. The scale parameter is ok, but precision use the magic number 19.
      So we fixed it, In cubeMeasures.js, around line 469:

      “var precision = 19;”  --> "var precision = returnValue[2] || 0;"

      and we test ok including building cube and querying when the column is decimal(38,18).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                majic31@163.com Jack
                Reporter:
                majic31@163.com Jack
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: