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

jiatao.tao edited comment on KYLIN-3483 at 8/5/18 11:01 AM:
------------------------------------------------------------

Thanks Ted Yu! Here's the commit https://github.com/apache/kylin/pull/187/files.


was (Author: aron.tao):
Thanks Ted Yu! here's the https://github.com/apache/kylin/pull/187/files.

> Imprecise comparison between double and integer division
> --------------------------------------------------------
>
>                 Key: KYLIN-3483
>                 URL: https://issues.apache.org/jira/browse/KYLIN-3483
>             Project: Kylin
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: jiatao.tao
>            Priority: Minor
>
> In HLLCSerializer :
> {code}
>                 || averageNumOfElementsInCounter < (m - 5) / (1 + 
> registerIndexSize)) {
> {code}
> The integer division on the right side of  < would lose remainder, or 
> fractional part of the quotient.



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

Reply via email to