GitHub user viirya opened a pull request:

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

    [WIP] Pull non-deterministic conditions from Join operator if possible

    ## What changes were proposed in this pull request?
    
    Currently we can't use non-deterministic conditions in Join operator. 
However, under certain scenarios, we may be able to pull non-deterministic 
conditions from Join operator.
    
    Related discussion:
    
    1. https://github.com/apache/spark/pull/15417#discussion_r85295977
    2. 
http://apache-spark-developers-list.1001551.n3.nabble.com/SQL-Syntax-quot-case-when-quot-doesn-t-be-supported-in-JOIN-tc21953.html#a21973
    
    ## How was this patch tested?
    
    Added unit test.


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

    $ git pull https://github.com/viirya/spark-1 nondeter-join

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

    https://github.com/apache/spark/pull/18652.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 #18652
    
----
commit ef5394027b0033a772757497d79ac0c04ccf37e0
Author: Liang-Chi Hsieh <vii...@gmail.com>
Date:   2017-07-17T07:46:54Z

    Pull non-deterministic conditions from Join operator if possible.

----


---
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