-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-12638] [API DOC] Parameter explanation not very accurate for rdd function "aggregate" #10587
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Jenkins, test this please. |
|
I like this, but how about adding similar docs to other similar methods like treeAggregate, fold, etc? the semantics of fold were brought up just last week, for example. Your point about it being per-partition is quite pertinent there too. |
|
Thanks, @srowen I will try to add parameter explanation to fold. |
|
LGTM |
|
Test build #2334 has finished for PR 10587 at commit
|
|
Fix scala style test failed. |
|
Test build #2345 has finished for PR 10587 at commit
|
|
Fix it. For example, jenkins result But real line number should be 1077. Is that a issues? Please test again, jenkins. |
|
It looks unrelated to your change, I agree. I can try retesting, but you may somehow need a rebase to work around it. |
|
Test build #2346 has finished for PR 10587 at commit
|
|
@srowen it pass test now. ready for merge. Thanks for review. Wenpei |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are some typos now, like conbOp instead of combOp. Also there's a dangling phrase in both starting with "-" which is supposed to join the previous sentence? while you're here you can back-tick Nil
|
Thank you @srowen, I refine parameter explanation base on your suggestion. |
|
Test build #2361 has finished for PR 10587 at commit
|
|
@srowen Do you know what happened? |
|
Test build #2363 has finished for PR 10587 at commit
|
|
I can't imagine it's related as it's just a doc change, so must be flaky tests, but let me just run it again |
|
Test build #2364 has finished for PR 10587 at commit
|
|
retest this please. |
|
Test build #2369 has finished for PR 10587 at commit
|
|
merged to master/1.6 |
…d function "aggregate" Currently, RDD function aggregate's parameter doesn't explain well, especially parameter "zeroValue". It's helpful to let junior scala user know that "zeroValue" attend both "seqOp" and "combOp" phase. Author: Tommy YU <tummyyu@163.com> Closes #10587 from Wenpei/rdd_aggregate_doc. (cherry picked from commit 9f0995b) Signed-off-by: Sean Owen <sowen@cloudera.com>
Currently, RDD function aggregate's parameter doesn't explain well, especially parameter "zeroValue".
It's helpful to let junior scala user know that "zeroValue" attend both "seqOp" and "combOp" phase.