[MINOR] Issue: Change "slice" vs "partition" in exception messages (and code?)#17565
[MINOR] Issue: Change "slice" vs "partition" in exception messages (and code?)#17565asmith26 wants to merge 2 commits intoapache:masterfrom
Conversation
|
Can you look for other similar occurrences? I generally agree that 'partitions' is preferred in docs and messages. See http://spark.apache.org/contributing.html too. Add [MINOR] to the title for example. |
|
Thanks for the info @srowen Regarding similar occurrences, I can't find any usages of "slice" within any remaining exception messages (searching with |
|
Look at |
|
Great find! I found a possible few more running the following from the spark root dir (which I know won't necessarily find all): Shall I substitute "partition" for "slice" in all of the above? |
|
I agree with fixing all of the examples. The catalyst class is something else, shouldn't be changed. |
|
Thanks for confirming, all done - please feel free to let me know if you find any others (or if I've made a mistake with my commits). Thanks for your help! |
|
Merged to master |
|
Test build #3650 has started for PR 17565 at commit |
What changes were proposed in this pull request?
Came across the term "slice" when running some spark scala code. Consequently, a Google search indicated that "slices" and "partitions" refer to the same things; indeed see:
Thus this pull request fixes the occurrence of slice I came accross. Nonetheless, it would appear there are still many references to "slice/slices" - thus I thought I'd raise this Pull Request to address the issue (sorry if this is the wrong place, I'm not too familar with raising apache issues).
How was this patch tested?
(Not tested locally - only a minor exception message change.)
Please review http://spark.apache.org/contributing.html before opening a pull request.