You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Joseph K. Bradley (JIRA)" <ji...@apache.org> on 2015/05/08 05:55:59 UTC

[jira] [Resolved] (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:all-tabpanel ]

Joseph K. Bradley resolved SPARK-7452.
--------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.4.0

Issue resolved by pull request 5990
[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
>          Components: MLlib
>    Affects Versions: 1.4.0
>            Reporter: Shuo Xiang
>             Fix For: 1.4.0
>
>
> 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