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

Reply via email to