Repository: spark Updated Branches: refs/heads/master 499ac3e69 -> a073a73a5
[SQL] Fix mistake doc of join type for dataframe.join Fix mistake doc of join type for ```dataframe.join```. Author: Yanbo Liang <[email protected]> Closes #10378 from yanboliang/leftsemi. Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/a073a73a Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/a073a73a Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/a073a73a Branch: refs/heads/master Commit: a073a73a561e78c734119c8b764d37a4e5e70da4 Parents: 499ac3e Author: Yanbo Liang <[email protected]> Authored: Sat Dec 19 00:34:30 2015 -0800 Committer: Reynold Xin <[email protected]> Committed: Sat Dec 19 00:34:30 2015 -0800 ---------------------------------------------------------------------- python/pyspark/sql/dataframe.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/spark/blob/a073a73a/python/pyspark/sql/dataframe.py ---------------------------------------------------------------------- diff --git a/python/pyspark/sql/dataframe.py b/python/pyspark/sql/dataframe.py index 24fc291..4b3791e 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)] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
