Github user tdas commented on a diff in the pull request:
https://github.com/apache/spark/pull/21239#discussion_r186321310
--- Diff:
sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/sources/ContinuousMemoryStream.scala
---
@@ -47,18 +47,17 @@ import org.apache.spark.util.RpcUtils
* ContinuousMemoryStreamDataReader instances to poll. It returns the
record at the specified
* offset within the list, or null if that offset doesn't yet have a
record.
*/
-class ContinuousMemoryStream[A : Encoder](id: Int, sqlContext: SQLContext)
+class ContinuousMemoryStream[A : Encoder](id: Int, sqlContext: SQLContext,
numPartitions: Int = 2)
--- End diff --
+1, I had a itch about this in the continuous memory stream PR.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]