You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2017/01/18 15:42:26 UTC
[jira] [Resolved] (SPARK-18559) Fix HLL++ with small relative error
[ https://issues.apache.org/jira/browse/SPARK-18559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sean Owen resolved SPARK-18559.
-------------------------------
Resolution: Fixed
Assignee: Zhenhua Wang
Fix Version/s: 2.2.0
2.1.1
> 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
> Assignee: Zhenhua Wang
> Fix For: 2.1.1, 2.2.0
>
>
> 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