You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kylin.apache.org by "Jack (JIRA)" <ji...@apache.org> on 2019/04/23 02:23:00 UTC

[jira] [Created] (KYLIN-3968) Customized precision doesn't work in web

Jack created KYLIN-3968:
---------------------------

             Summary: Customized precision doesn't work in web
                 Key: KYLIN-3968
                 URL: https://issues.apache.org/jira/browse/KYLIN-3968
             Project: Kylin
          Issue Type: Bug
          Components: Web 
    Affects Versions: v2.6.1
            Reporter: Jack
             Fix For: v2.6.1


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).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)