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

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

     [ https://issues.apache.org/jira/browse/KYLIN-3968?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shaofeng SHI reopened KYLIN-3968:
---------------------------------
      Assignee: Jack

> 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 
>            Reporter: Jack
>            Assignee: Jack
>            Priority: Minor
>             Fix For: v2.6.2
>
>
> 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)