viirya commented on code in PR #52502:
URL: https://github.com/apache/spark/pull/52502#discussion_r2431344140
##########
sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/runtime/memory.scala:
##########
@@ -158,6 +158,20 @@ case class MemoryStream[A : Encoder](
id: Int,
sqlContext: SQLContext,
numPartitions: Option[Int] = None)
+ extends MemoryStreamBaseClass[A](
+ id, sqlContext, numPartitions = numPartitions)
+
+/**
+ * A [[Source]] that produces value stored in memory as they are added by the
user. This [[Source]]
+ * is intended for use in unit tests as it can only replay data when the
object is still
+ * available.
+ *
+ * If numPartitions is provided, the rows will be redistributed to the given
number of partitions.
+ */
Review Comment:
Hm, this doc is same and copied from `MemoryStream`. Do we need to update
the doc of `MemoryStream` so it can be more specified or reflect the difference
between it and LowLatencyMemoryStream?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]