Github user zsxwing commented on a diff in the pull request:
https://github.com/apache/spark/pull/20896#discussion_r176925878
--- Diff:
sql/core/src/test/scala/org/apache/spark/sql/streaming/StreamingQuerySuite.scala
---
@@ -550,22 +550,22 @@ class StreamingQuerySuite extends StreamTest with
BeforeAndAfter with Logging wi
.start()
}
- val input = MemoryStream[Int]
- val q1 = startQuery(input.toDS, "stream_serializable_test_1")
- val q2 = startQuery(input.toDS.map { i =>
+ val input = MemoryStream[Int] :: MemoryStream[Int] ::
MemoryStream[Int] :: Nil
--- End diff --
I think this is just to save several lines.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]