GitHub user tdas opened a pull request:

    [SPARK-23406][SS] Enable stream-stream self-joins for branch-2.3

    ## What changes were proposed in this pull request?
    This is limited but safe-to-backport version of self-join-fix made in 
    That PR solved two bugs
    1. Add MultiInstanceRelation trait to leaf logical nodes to allow 
resolution - This is the major fix required to allow streaming self-joins, and 
is safe to backport.
    2. Fix attribute rewriting in MicroBatchExecution when micro-batch plans 
are spliced into the streaming logical plan - This is a minor fix that is not 
safe to backport. Without this fix only a very small fraction self-join cases 
will have issues, but those issues may lead to incorrect results.
    ## How was this patch tested?
    New unit test

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

    $ git pull SPARK-23406-2.3

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

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

    This closes #20755
commit 484babb58d9cf61d5dcc6521865cd2a5db64dd82
Author: Tathagata Das <tathagata.das1565@...>
Date:   2018-03-07T00:53:34Z




To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to