diff options
author | Yanbo Liang <ybliang8@gmail.com> | 2015-12-19 00:34:30 -0800 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2015-12-19 00:34:30 -0800 |
commit | a073a73a561e78c734119c8b764d37a4e5e70da4 (patch) | |
tree | c8826b954dc12a1766f724c1874ef575851d0476 /python/pyspark/sql | |
parent | 499ac3e69a102f9b10a1d7e14382fa191516f7b5 (diff) | |
download | spark-a073a73a561e78c734119c8b764d37a4e5e70da4.tar.gz spark-a073a73a561e78c734119c8b764d37a4e5e70da4.tar.bz2 spark-a073a73a561e78c734119c8b764d37a4e5e70da4.zip |
[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 #10378 from yanboliang/leftsemi.
Diffstat (limited to 'python/pyspark/sql')
-rw-r--r-- | python/pyspark/sql/dataframe.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/pyspark/sql/dataframe.py b/python/pyspark/sql/dataframe.py index 24fc291999..4b3791e1b8 100644 --- a/python/pyspark/sql/dataframe.py +++ b/python/pyspark/sql/dataframe.py @@ -610,7 +610,7 @@ class DataFrame(object): If `on` is a string or a list of string indicating the name of the join column(s), the column(s) must exist on both sides, and this performs an inner equi-join. :param how: str, default 'inner'. - One of `inner`, `outer`, `left_outer`, `right_outer`, `semijoin`. + One of `inner`, `outer`, `left_outer`, `right_outer`, `leftsemi`. >>> df.join(df2, df.name == df2.name, 'outer').select(df.name, df2.height).collect() [Row(name=None, height=80), Row(name=u'Alice', height=None), Row(name=u'Bob', height=85)] |