[ 
https://issues.apache.org/jira/browse/KYLIN-2744?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16097168#comment-16097168
 ] 

kangkaisen commented on KYLIN-2744:
-----------------------------------

Thanks liyang and Billy for your comment.

I think the column type and sum measure type should be same in web, and 
back-end use current Ingester and Aggregator handle sum measure,  and the final 
result will consistent with Presto and Hive. which is reasonable, user-friendly 
and easy. 

As for the sum for double type is not fully precise,If user want to get fully 
precise result, user should use decimal type in Hive. 

> Should return correct type for SUM measure in web
> -------------------------------------------------
>
>                 Key: KYLIN-2744
>                 URL: https://issues.apache.org/jira/browse/KYLIN-2744
>             Project: Kylin
>          Issue Type: Bug
>          Components: Web 
>    Affects Versions: v2.0.0
>            Reporter: kangkaisen
>            Assignee: kangkaisen
>         Attachments: KYLIN-2744.patch
>
>
> Currently, Kylin return decimal type for the  sum measure of double type, 
> which will result in wrong result. So, We should return correct type for SUM 
> measure in web.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to