[
https://issues.apache.org/jira/browse/SPARK-18559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15689367#comment-15689367
]
Apache Spark commented on SPARK-18559:
--------------------------------------
User 'wzhfy' has created a pull request for this issue:
https://github.com/apache/spark/pull/15990
> Restrict the lower bound of relativeSD in HLL++
> -----------------------------------------------
>
> Key: SPARK-18559
> URL: https://issues.apache.org/jira/browse/SPARK-18559
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Reporter: Zhenhua Wang
>
> In HyperLogLogPlusPlus, THRESHOLDS, RAW_ESTIMATE_DATA and BIAS_DATA all have
> the same length 15, and we probe these arrays by p-4, so we need to guarantee
> 0 <= p - 4 <= 14. Otherwise it will cause ArrayIndexOutOfBoundsException.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]