Skip to content

Commit eb54c91

Browse files
yanboliangrxin
authored andcommitted
[SQL] Fix mistake doc of join type for dataframe.join
Fix mistake doc of join type for ```dataframe.join```. Author: Yanbo Liang <ybliang8@gmail.com> Closes apache#10378 from yanboliang/leftsemi. (cherry picked from commit a073a73) Signed-off-by: Reynold Xin <rxin@databricks.com>
1 parent afffe24 commit eb54c91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/pyspark/sql/dataframe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ def join(self, other, on=None, how=None):
548548
If `on` is a string or a list of string indicating the name of the join column(s),
549549
the column(s) must exist on both sides, and this performs an inner equi-join.
550550
:param how: str, default 'inner'.
551-
One of `inner`, `outer`, `left_outer`, `right_outer`, `semijoin`.
551+
One of `inner`, `outer`, `left_outer`, `right_outer`, `leftsemi`.
552552
553553
>>> df.join(df2, df.name == df2.name, 'outer').select(df.name, df2.height).collect()
554554
[Row(name=None, height=80), Row(name=u'Alice', height=None), Row(name=u'Bob', height=85)]

0 commit comments

Comments
 (0)