[SPARK-19126][Docs] Update Join Documentation Across Languages#16504
[SPARK-19126][Docs] Update Join Documentation Across Languages#16504bllchmbrs wants to merge 5 commits into
Conversation
|
Test build #71042 has finished for PR 16504 at commit
|
| #' 'right_outer', 'rightouter', 'right', and 'leftsemi'. The default joinType is "inner". | ||
| #' @param joinType The type of join to perform, default 'inner'. | ||
| #' Must be any of: 'inner', 'cross', 'outer', 'full', 'full_outer', | ||
| #' 'left', 'left_outer', 'right', 'right_outer', 'left_semi', and 'left_anti'. |
There was a problem hiding this comment.
this isn't really quite matching the code -
we need to add cross, full_outer, left_anti, left_semi to L2347 and L2354
There was a problem hiding this comment.
Thanks, didn't know those were there. Added them now.
There was a problem hiding this comment.
new changes should be good, let me know!
| the column(s) must exist on both sides, and this performs an equi-join. | ||
| :param how: str, default 'inner'. | ||
| One of `inner`, `outer`, `left_outer`, `right_outer`, `leftsemi`. | ||
| :param how: str, default ``inner``. Must be any of: ``inner``, ``cross``, ``outer``, |
There was a problem hiding this comment.
perhaps Must be one of is more concise and consistent?
There was a problem hiding this comment.
I'm not really sure I agree with either or those. It's concise because both "must be one of" and "must be any of" are the same number of characters and words. It's consistent because that's what I used everywhere and there are virtually no instances of "must be one of" in Spark except in some random examples and docs.
With all that being said, I guess it is a bit strange grammatically and I am happy to change it.
There was a problem hiding this comment.
agreed, I'd say the differences are minor
|
LGTM. |
|
Test build #71046 has finished for PR 16504 at commit
|
|
jenkins test |
|
Test build #71048 has finished for PR 16504 at commit
|
|
@anabranch the failure is not from Jenkins but from (R changes triggered) AppVeyor tests, to run on Windows. It looks like it is nothing related - it failed at access github. And the earlier iteration passed. |
## What changes were proposed in this pull request? - [X] Make sure all join types are clearly mentioned - [X] Make join labeling/style consistent - [X] Make join label ordering docs the same - [X] Improve join documentation according to above for Scala - [X] Improve join documentation according to above for Python - [X] Improve join documentation according to above for R ## How was this patch tested? No tests b/c docs. Please review http://spark.apache.org/contributing.html before opening a pull request. Author: anabranch <wac.chambers@gmail.com> Closes #16504 from anabranch/SPARK-19126. (cherry picked from commit 19d9d4c) Signed-off-by: Felix Cheung <felixcheung@apache.org>
|
merged to master & branch-2.1 |
## What changes were proposed in this pull request? - [X] Make sure all join types are clearly mentioned - [X] Make join labeling/style consistent - [X] Make join label ordering docs the same - [X] Improve join documentation according to above for Scala - [X] Improve join documentation according to above for Python - [X] Improve join documentation according to above for R ## How was this patch tested? No tests b/c docs. Please review http://spark.apache.org/contributing.html before opening a pull request. Author: anabranch <wac.chambers@gmail.com> Closes apache#16504 from anabranch/SPARK-19126.
## What changes were proposed in this pull request? - [X] Make sure all join types are clearly mentioned - [X] Make join labeling/style consistent - [X] Make join label ordering docs the same - [X] Improve join documentation according to above for Scala - [X] Improve join documentation according to above for Python - [X] Improve join documentation according to above for R ## How was this patch tested? No tests b/c docs. Please review http://spark.apache.org/contributing.html before opening a pull request. Author: anabranch <wac.chambers@gmail.com> Closes apache#16504 from anabranch/SPARK-19126.
What changes were proposed in this pull request?
How was this patch tested?
No tests b/c docs.
Please review http://spark.apache.org/contributing.html before opening a pull request.