Commit d4aed26
[SPARK-4304] [PySpark] Fix sort on empty RDD (1.0 branch)
This PR fix sortBy()/sortByKey() on empty RDD.
This should be back ported into 1.0
Author: Davies Liu <[email protected]>
Closes #3163 from davies/fix_sort_1.0 and squashes the following commits:
9be984f [Davies Liu] fix sort on empty RDD1 parent 18c8c38 commit d4aed26
2 files changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
496 | 496 | | |
497 | 497 | | |
498 | 498 | | |
| 499 | + | |
| 500 | + | |
499 | 501 | | |
500 | 502 | | |
501 | 503 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
201 | 204 | | |
202 | 205 | | |
203 | 206 | | |
| |||
0 commit comments