GitHub user coderxiang opened a pull request:

    https://github.com/apache/spark/pull/5990

    fix bug in topBykey and update test

    the toArray function of the BoundedPriorityQueue does not necessarily 
preserve order. Add a counter-example as the test, which would fail the 
original impl.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/coderxiang/spark topbykey-test

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/5990.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #5990
    
----
commit 98804c9816b5fc5d650ae9670d5b8b340068690d
Author: Shuo Xiang <shuoxiang...@gmail.com>
Date:   2015-05-07T21:52:36Z

    fix bug in topBykey and update test

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to