GitHub user gatorsmile opened a pull request:

    https://github.com/apache/spark/pull/10484

    [SPARK-12520] [PySpark] [1.5] Ensure the join type is `inner` for 
equi-Join. 

    This PR is to add `assert` to ensure the join type is `inner` for 
equi-Join. 
    
    JIRA: https://issues.apache.org/jira/browse/SPARK-12520
     
    In the JIRA, users specify the join type `outer` when using the equi-join. 
However, the result we returned is the `inner` join, which is the only type 
Spark 1.5 supports. (Note, starting from Spark 1.6, we can support the other 
types for equi-join). 
    
    For example, 
    ```scala
    joined_table = left_table.join(right_table, "joining_column", "outer")
    ```
    
    Should we also back port it to 1.4? @davies @JoshRosen Thanks!

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/gatorsmile/spark pythonEquiOuterJoin

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/10484.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #10484
    
----
commit 4a392dd8cd5072c913d2e886e42aad86172d2f66
Author: gatorsmile <[email protected]>
Date:   2015-12-26T18:16:54Z

    add assert.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to