SuccessChanges

Summary

  1. [SPARK-24214][SS] Fix toJSON for (commit: 8889d78643154a0eb5ce81363ba471a80a1e64f1) (details)
Commit 8889d78643154a0eb5ce81363ba471a80a1e64f1 by zsxwing
[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.
Author: Shixiong Zhu <zsxwing@gmail.com>
Closes #21275 from zsxwing/SPARK-24214.
(cherry picked from commit fd1179c17273283d32f275d5cd5f97aaa2aca1f7)
Signed-off-by: Shixiong Zhu <zsxwing@gmail.com>
(commit: 8889d78643154a0eb5ce81363ba471a80a1e64f1)
The file was modifiedsql/core/src/main/scala/org/apache/spark/sql/execution/streaming/StreamingRelation.scala (diff)
The file was modifiedsql/core/src/test/scala/org/apache/spark/sql/streaming/StreamingQuerySuite.scala (diff)