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

Customized precision doesn't work in web

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • v2.6.2
    • Web
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: