You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Zhenhua Wang (JIRA)" <ji...@apache.org> on 2016/11/23 08:27:58 UTC
[jira] [Created] (SPARK-18559) Also restrict the lower bound of
relativeSD in HLL++
Zhenhua Wang created SPARK-18559:
------------------------------------
Summary: Also 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org