You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by sandeep-katta <gi...@git.apache.org> on 2018/10/25 14:25:50 UTC

[GitHub] spark pull request #22824: [SPARK-25834] Update Mode should not be supported...

GitHub user sandeep-katta opened a pull request:

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

    [SPARK-25834] Update Mode should not be supported for Outer Joins

    ## What changes were proposed in this pull request?
    
    As per spark documentation only Append mode is supported for stream stream join, Need to add check for this in case of left outer and right outer join
    
    ## How was this patch tested?
    
    With UT 


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

    $ git pull https://github.com/sandeep-katta/spark outerJoin

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

    https://github.com/apache/spark/pull/22824.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 #22824
    
----
commit f36e30761de1a3960451987774187b9b4bd68d24
Author: sandeep-katta <sa...@...>
Date:   2018-10-25T14:15:35Z

    Update Mode should not be supported for Outer Joins

----


---

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


[GitHub] spark issue #22824: [SPARK-25834] [Structured Streaming]Update Mode should n...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/22824
  
    Merged build finished. Test PASSed.


---

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


[GitHub] spark issue #22824: [SPARK-25834] [Structured Streaming]Update Mode should n...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/22824
  
    **[Test build #98101 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/98101/testReport)** for PR 22824 at commit [`f36e307`](https://github.com/apache/spark/commit/f36e30761de1a3960451987774187b9b4bd68d24).
     * This patch **fails PySpark unit tests**.
     * This patch merges cleanly.
     * This patch adds no public classes.


---

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


[GitHub] spark issue #22824: [SPARK-25834] [Structured Streaming]Update Mode should n...

Posted by shaneknapp <gi...@git.apache.org>.
Github user shaneknapp commented on the issue:

    https://github.com/apache/spark/pull/22824
  
    ok to test


---

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


[GitHub] spark issue #22824: [SPARK-25834] [Structured Streaming]Update Mode should n...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/22824
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/98221/
    Test PASSed.


---

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


[GitHub] spark issue #22824: [SPARK-25834] [Structured Streaming]Update Mode should n...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/22824
  
    **[Test build #98101 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/98101/testReport)** for PR 22824 at commit [`f36e307`](https://github.com/apache/spark/commit/f36e30761de1a3960451987774187b9b4bd68d24).


---

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


[GitHub] spark issue #22824: [SPARK-25834] [Structured Streaming]Update Mode should n...

Posted by arunmahadevan <gi...@git.apache.org>.
Github user arunmahadevan commented on the issue:

    https://github.com/apache/spark/pull/22824
  
    It may be enough to do the check just once than repeating similar checks for inner, leftOuter and rightOuter. For example have a single check before the `joinType match {` clause.
    



---

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


[GitHub] spark issue #22824: [SPARK-25834] [Structured Streaming]Update Mode should n...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/22824
  
    **[Test build #98221 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/98221/testReport)** for PR 22824 at commit [`f36e307`](https://github.com/apache/spark/commit/f36e30761de1a3960451987774187b9b4bd68d24).


---

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


[GitHub] spark issue #22824: [SPARK-25834] [Structured Streaming]Update Mode should n...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/22824
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/4596/
    Test PASSed.


---

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


[GitHub] spark issue #22824: [SPARK-25834] [Structured Streaming]Update Mode should n...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/22824
  
    Merged build finished. Test PASSed.


---

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


[GitHub] spark issue #22824: [SPARK-25834] [Structured Streaming]Update Mode should n...

Posted by sandeep-katta <gi...@git.apache.org>.
Github user sandeep-katta commented on the issue:

    https://github.com/apache/spark/pull/22824
  
    retest this please


---

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


[GitHub] spark issue #22824: [SPARK-25834] [Structured Streaming]Update Mode should n...

Posted by sandeep-katta <gi...@git.apache.org>.
Github user sandeep-katta commented on the issue:

    https://github.com/apache/spark/pull/22824
  
    cc @koeninger can you please review this


---

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


[GitHub] spark issue #22824: [SPARK-25834] [Structured Streaming]Update Mode should n...

Posted by sandeep-katta <gi...@git.apache.org>.
Github user sandeep-katta commented on the issue:

    https://github.com/apache/spark/pull/22824
  
    > I mean its easy to miss if a new "case" is added and "update" mode is not supported. Even now how about LeftSemi, LeftAnti, FullOuter etc?
    
    Currently Stream stream join is supported for inner , left outer and right outer join . Please refer the document 
    http://spark.apache.org/docs/2.3.2/structured-streaming-programming-guide.html#support-matrix-for-joins-in-streaming-queries


---

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


[GitHub] spark issue #22824: [SPARK-25834] [Structured Streaming]Update Mode should n...

Posted by sandeep-katta <gi...@git.apache.org>.
Github user sandeep-katta commented on the issue:

    https://github.com/apache/spark/pull/22824
  
    cc @zsxwing @jose-torres @brkyvz 


---

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


[GitHub] spark issue #22824: [SPARK-25834] [Structured Streaming]Update Mode should n...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/22824
  
    **[Test build #98218 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/98218/testReport)** for PR 22824 at commit [`f36e307`](https://github.com/apache/spark/commit/f36e30761de1a3960451987774187b9b4bd68d24).
     * This patch **fails Spark unit tests**.
     * This patch merges cleanly.
     * This patch adds no public classes.


---

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


[GitHub] spark issue #22824: [SPARK-25834] [Structured Streaming]Update Mode should n...

Posted by koeninger <gi...@git.apache.org>.
Github user koeninger commented on the issue:

    https://github.com/apache/spark/pull/22824
  
    @tdas or @jose-torres any opinion on whether it's worth refactoring these checks as suggested by @arunmahadevan 


---

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


[GitHub] spark issue #22824: [SPARK-25834] Update Mode should not be supported for Ou...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/22824
  
    Can one of the admins verify this patch?


---

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


[GitHub] spark issue #22824: [SPARK-25834] [Structured Streaming]Update Mode should n...

Posted by koeninger <gi...@git.apache.org>.
Github user koeninger commented on the issue:

    https://github.com/apache/spark/pull/22824
  
    jenkins, ok to test


---

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


[GitHub] spark issue #22824: [SPARK-25834] [Structured Streaming]Update Mode should n...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/22824
  
    Merged build finished. Test PASSed.


---

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


[GitHub] spark issue #22824: [SPARK-25834] [Structured Streaming]Update Mode should n...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/22824
  
    Can one of the admins verify this patch?


---

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


[GitHub] spark issue #22824: [SPARK-25834] [Structured Streaming]Update Mode should n...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/22824
  
    Merged build finished. Test FAILed.


---

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


[GitHub] spark issue #22824: [SPARK-25834] [Structured Streaming]Update Mode should n...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/22824
  
    Test FAILed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/98101/
    Test FAILed.


---

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


[GitHub] spark issue #22824: [SPARK-25834] [Structured Streaming]Update Mode should n...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/22824
  
    **[Test build #98221 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/98221/testReport)** for PR 22824 at commit [`f36e307`](https://github.com/apache/spark/commit/f36e30761de1a3960451987774187b9b4bd68d24).
     * This patch passes all tests.
     * This patch merges cleanly.
     * This patch adds no public classes.


---

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


[GitHub] spark issue #22824: [SPARK-25834] [Structured Streaming]Update Mode should n...

Posted by sandeep-katta <gi...@git.apache.org>.
Github user sandeep-katta commented on the issue:

    https://github.com/apache/spark/pull/22824
  
    @koeninger , is this PR okay to merge or some other review comments are pending ?


---

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


[GitHub] spark issue #22824: [SPARK-25834] [Structured Streaming]Update Mode should n...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/22824
  
    Test FAILed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/98218/
    Test FAILed.


---

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


[GitHub] spark issue #22824: [SPARK-25834] [Structured Streaming]Update Mode should n...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/22824
  
    Merged build finished. Test FAILed.


---

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


[GitHub] spark issue #22824: [SPARK-25834] [Structured Streaming]Update Mode should n...

Posted by arunmahadevan <gi...@git.apache.org>.
Github user arunmahadevan commented on the issue:

    https://github.com/apache/spark/pull/22824
  
    I mean its easy to miss if a new "case" is added and "update" mode is not supported. Even now how about LeftSemi, LeftAnti, FullOuter etc?


---

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


[GitHub] spark issue #22824: [SPARK-25834] [Structured Streaming]Update Mode should n...

Posted by koeninger <gi...@git.apache.org>.
Github user koeninger commented on the issue:

    https://github.com/apache/spark/pull/22824
  
    @arunmahadevan I think this is clear, even if it is redundant.


---

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


[GitHub] spark issue #22824: [SPARK-25834] [Structured Streaming]Update Mode should n...

Posted by sandeep-katta <gi...@git.apache.org>.
Github user sandeep-katta commented on the issue:

    https://github.com/apache/spark/pull/22824
  
    retest this please


---

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


[GitHub] spark issue #22824: [SPARK-25834] [Structured Streaming]Update Mode should n...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/22824
  
    **[Test build #98218 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/98218/testReport)** for PR 22824 at commit [`f36e307`](https://github.com/apache/spark/commit/f36e30761de1a3960451987774187b9b4bd68d24).


---

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


[GitHub] spark issue #22824: [SPARK-25834] [Structured Streaming]Update Mode should n...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/22824
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/4599/
    Test PASSed.


---

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


[GitHub] spark issue #22824: [SPARK-25834] [Structured Streaming]Update Mode should n...

Posted by shaneknapp <gi...@git.apache.org>.
Github user shaneknapp commented on the issue:

    https://github.com/apache/spark/pull/22824
  
    test this please


---

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


[GitHub] spark issue #22824: [SPARK-25834] [Structured Streaming]Update Mode should n...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/22824
  
    Can one of the admins verify this patch?


---

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