GitHub user srinathshankar opened a pull request:

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

    [SPARK-17946][PYSPARK] Python crossJoin API similar to Scala

    ## What changes were proposed in this pull request?
    
    Add a crossJoin function to the DataFrame API similar to that in Scala. 
Joins with no condition (cartesian products) must be specified with the 
crossJoin API
     
    ## How was this patch tested?
    Added python tests to ensure that an AnalysisException if a cartesian 
product is specified without crossJoin(), and that cartesian products can 
execute if specified via crossJoin()
    
    (Please explain how this patch was tested. E.g. unit tests, integration 
tests, manual tests)
    (If this patch involves UI changes, please attach a screenshot; otherwise, 
remove this)
    
    Please review 
https://cwiki.apache.org/confluence/display/SPARK/Contributing+to+Spark before 
opening a pull request.
    


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

    $ git pull https://github.com/srinathshankar/spark crosspython

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

    https://github.com/apache/spark/pull/15493.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 #15493
    
----
commit 9b4d995fa5e7ca0d9636b708fcec1088054c1022
Author: Srinath Shankar <srin...@databricks.com>
Date:   2016-10-14T21:00:08Z

    [SPARK-17946][PYSPARK] Python crossJoin API similar to Scala

----


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to