Repository: spark Updated Branches: refs/heads/branch-1.5 afffe24c0 -> eb54c914a
[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. (cherry picked from commit a073a73a561e78c734119c8b764d37a4e5e70da4) Signed-off-by: Reynold Xin <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/eb54c914 Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/eb54c914 Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/eb54c914 Branch: refs/heads/branch-1.5 Commit: eb54c914ad657a393bd6d188a9183a751e8999f4 Parents: afffe24 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:48 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/eb54c914/python/pyspark/sql/dataframe.py ---------------------------------------------------------------------- diff --git a/python/pyspark/sql/dataframe.py b/python/pyspark/sql/dataframe.py index ee2eed2..2b23815 100644 --- a/python/pyspark/sql/dataframe.py +++ b/python/pyspark/sql/dataframe.py @@ -548,7 +548,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]
