You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2015/05/08 00:38:59 UTC
[jira] [Commented] (SPARK-7452) need to sort when convert to array
in topByKey
[ https://issues.apache.org/jira/browse/SPARK-7452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14533514#comment-14533514 ]
Apache Spark commented on SPARK-7452:
-------------------------------------
User 'coderxiang' has created a pull request for this issue:
https://github.com/apache/spark/pull/5990
> need to sort when convert to array in topByKey
> ----------------------------------------------
>
> Key: SPARK-7452
> URL: https://issues.apache.org/jira/browse/SPARK-7452
> Project: Spark
> Issue Type: Bug
> Reporter: Shuo Xiang
>
> the toArray function of the PriorityQueue does not necessarily preserve order. Add a counter-example as the test, which would fail the original impl.
--
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