You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2017/01/18 15:24:26 UTC

[jira] [Commented] (SPARK-18559) Fix HLL++ with small relative error

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

Hyukjin Kwon commented on SPARK-18559:
--------------------------------------

[~srowen], it seems mistakenly not resolved.

> Fix HLL++ with small relative error
> -----------------------------------
>
>                 Key: SPARK-18559
>                 URL: https://issues.apache.org/jira/browse/SPARK-18559
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>            Reporter: Zhenhua Wang
>
> In HyperLogLogPlusPlus, if the relative error is so small that p >= 19, it will cause ArrayIndexOutOfBoundsException in THRESHOLDS(p-4) . We should check p and when p >= 19, regress to the original HLL result and use the small range correction they use.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org