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

[jira] [Created] (SPARK-7452) need to sort when convert to array in topByKey

Shuo Xiang created SPARK-7452:
---------------------------------

             Summary: 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