You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Mingchao Tan (JIRA)" <ji...@apache.org> on 2019/03/12 09:53:00 UTC

[jira] [Created] (SPARK-27131) Merge funciton in QuantileSummaries

Mingchao Tan created SPARK-27131:
------------------------------------

             Summary: Merge funciton in QuantileSummaries
                 Key: SPARK-27131
                 URL: https://issues.apache.org/jira/browse/SPARK-27131
             Project: Spark
          Issue Type: Question
          Components: SQL
    Affects Versions: 2.4.0
            Reporter: Mingchao Tan


In QuantileSummaries.scala file, line 167

This function merge two QuantileSummaries into one. You merge the two sampled array and then compress it. My question is when compressing the merged array, why you use count instead of the sum of count and other.count? 



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

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