GitHub user zsxwing opened a pull request:

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

    [SPARK-24214][SS]Fix toJSON for 
StreamingRelationV2/StreamingExecutionRelation/ContinuousExecutionRelation

    ## What changes were proposed in this pull request?
    
    We should overwrite "otherCopyArgs" to provide the SparkSession parameter 
otherwise TreeNode.toJSON cannot get the full constructor parameter list.
    
    ## How was this patch tested?
    
    The new unit test.


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

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

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

    https://github.com/apache/spark/pull/21275.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 #21275
    
----
commit 6ec8d9a26ca1ce190d95bf2545ffc45854dbddb3
Author: Shixiong Zhu <zsxwing@...>
Date:   2018-05-08T22:07:33Z

    Fix toJSON for 
StreamingRelationV2/StreamingExecutionRelation/ContinuousExecutionRelation

----


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to