-
Notifications
You must be signed in to change notification settings - Fork 28.5k
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
[SPARK-19126][Docs] Update Join Documentation Across Languages #16504
Changes from 3 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -730,8 +730,9 @@ def join(self, other, on=None, how=None): | |
a join expression (Column), or a list of Columns. | ||
If `on` is a string or a list of strings indicating the name of the join column(s), | ||
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. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. perhaps There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ditto in other cases. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 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. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. done. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. agreed, I'd say the differences are minor |
||
``full``, ``full_outer``, ``left``, ``left_outer``, ``right``, ``right_outer``, | ||
``left_semi``, and ``left_anti``. | ||
|
||
The following performs a full outer join between ``df1`` and ``df2``. | ||
|
||
|
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.
this isn't really quite matching the code -
we need to add
cross
,full_outer
,left_anti
,left_semi
to L2347 and L2354There 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.
Thanks, didn't know those were there. Added them now.
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.
new changes should be good, let me know!