GitHub user koertkuipers opened a pull request:
https://github.com/apache/spark/pull/2962
implement secondary sort: sorting by values in addition to keys
see:
https://issues.apache.org/jira/browse/SPARK-3655
this is the first of 2 competing pullreqs that try to address this issue.
this one does so by modifying spark internal sort routines to support sorting
by (key, value) pairs in general, instead of just by key. this is the most
"invasive" solution, in that it makes (small) changes to many core functions.
but if we think there are other parts of spark that can also benefit of this
new sorting capability (besides PairRDDFunctions.PairsfoldLeft which is part of
this pullreq) then this could be the appropriate change.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/tresata/spark feat-secondary-sort-pullreq
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/2962.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 #2962
----
commit f7ffc5333aab8ecef7b887478aaa0eb0900c7bbb
Author: Koert Kuipers <[email protected]>
Date: 2014-10-27T19:38:25Z
implement secondary sort: sorting by values in addition to keys
----
---
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 [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]