[
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: [email protected]
For additional commands, e-mail: [email protected]