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 2019/03/13 02:06:00 UTC

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

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

Hyukjin Kwon commented on SPARK-27131:
--------------------------------------

Let's ask questions to mailing list. You could have a better and quicker answer. (see https://spark.apache.org/community.html)

> 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
>            Priority: Minor
>
> 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