GitHub user zsxwing opened a pull request:

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

    [SPARK-18908] Creating StreamingQueryException should check if logicalPlan 
is created

    ## What changes were proposed in this pull request?
    
    This PR audits places using `logicalPlan` in StreamExecution and ensures 
they all handles the case that `logicalPlan` cannot be created.
    
    ## How was this patch tested?
    
    The updated `test("max files per trigger - incorrect values")`. I found 
this issue when I switched from `testStream` to the real codes to verify the 
failure in this test.


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

    $ git pull https://github.com/zsxwing/spark SPARK-18907

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

    https://github.com/apache/spark/pull/16322.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 #16322
    
----
commit 11a27e95ad1a7a7454de8be2f909e11e64288d76
Author: Shixiong Zhu <[email protected]>
Date:   2016-12-17T00:16:00Z

    Fix flaky test: o.a.s.sql.streaming.FileStreamSourceSuite max files per 
trigger - incorrect values

commit 183be5aa9822d54641bf40f18f3f238d893219e3
Author: Shixiong Zhu <[email protected]>
Date:   2016-12-17T01:15:02Z

    Fix the crash when StreamExecution fails to create the logical plan

----


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