Commit 54e6fa0
[SPARK-7237] Clean function in several RDD methods
Author: tedyu <[email protected]>
Closes #5959 from ted-yu/master and squashes the following commits:
f83d445 [tedyu] Move cleaning outside of mapPartitionsWithIndex
56d7c92 [tedyu] Consolidate import of Random
f6014c0 [tedyu] Remove cleaning in RDD#filterWith
36feb6c [tedyu] Try to get correct syntax
55d01eb [tedyu] Try to get correct syntax
c2786df [tedyu] Correct syntax
d92bfcf [tedyu] Correct syntax in test
164d3e4 [tedyu] Correct variable name
8b50d93 [tedyu] Address Andrew's review comments
0c8d47e [tedyu] Add test for mapWith()
6846e40 [tedyu] Add test for flatMapWith()
6c124a9 [tedyu] Clean function in several RDD methods1 parent bd61f07 commit 54e6fa0
File tree
2 files changed
+41
-10
lines changed- core/src
- main/scala/org/apache/spark/rdd
- test/scala/org/apache/spark/util
2 files changed
+41
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
717 | 717 | | |
718 | 718 | | |
719 | 719 | | |
720 | | - | |
| 720 | + | |
| 721 | + | |
721 | 722 | | |
722 | 723 | | |
723 | 724 | | |
| |||
741 | 742 | | |
742 | 743 | | |
743 | 744 | | |
| 745 | + | |
| 746 | + | |
744 | 747 | | |
745 | | - | |
746 | | - | |
| 748 | + | |
| 749 | + | |
747 | 750 | | |
748 | 751 | | |
749 | 752 | | |
| |||
756 | 759 | | |
757 | 760 | | |
758 | 761 | | |
| 762 | + | |
| 763 | + | |
759 | 764 | | |
760 | | - | |
761 | | - | |
| 765 | + | |
| 766 | + | |
762 | 767 | | |
763 | 768 | | |
764 | 769 | | |
| |||
769 | 774 | | |
770 | 775 | | |
771 | 776 | | |
| 777 | + | |
| 778 | + | |
772 | 779 | | |
773 | | - | |
774 | | - | |
| 780 | + | |
| 781 | + | |
775 | 782 | | |
776 | 783 | | |
777 | 784 | | |
| |||
782 | 789 | | |
783 | 790 | | |
784 | 791 | | |
| 792 | + | |
| 793 | + | |
785 | 794 | | |
786 | | - | |
787 | | - | |
| 795 | + | |
| 796 | + | |
788 | 797 | | |
789 | 798 | | |
790 | 799 | | |
| |||
901 | 910 | | |
902 | 911 | | |
903 | 912 | | |
904 | | - | |
| 913 | + | |
| 914 | + | |
905 | 915 | | |
906 | 916 | | |
907 | 917 | | |
| |||
Lines changed: 21 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
92 | 93 | | |
93 | 94 | | |
94 | 95 | | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
95 | 101 | | |
96 | 102 | | |
97 | 103 | | |
| |||
260 | 266 | | |
261 | 267 | | |
262 | 268 | | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
263 | 284 | | |
264 | 285 | | |
265 | 286 | | |
| |||
0 commit comments