GitHub user 10110346 opened a pull request:

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

    [SPARK-26300][SS] The `checkForStreaming`  mothod  may be called twice in 
`createQuery`

    ## What changes were proposed in this pull request?
    If `checkForContinuous`  is called ( `checkForStreaming` is called in 
`checkForContinuous`  ), the `checkForStreaming`  mothod  will be called twice 
in `createQuery` , this is not necessary,  and the `checkForStreaming` method 
has a lot of statements,  so it's better to remove one of them.
    
    ## How was this patch tested?
    
    Existing unit tests in `StreamingQueryManagerSuite`

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

    $ git pull https://github.com/10110346/spark 
isUnsupportedOperationCheckEnabled

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

    https://github.com/apache/spark/pull/23251.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 #23251
    
----
commit b1e71ee7a723d63f1cf3c0754f2372eb185439d3
Author: liuxian <liu.xian3@...>
Date:   2018-12-07T03:08:26Z

    fix

----


---

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

Reply via email to