tdas commented on a change in pull request #26162: [SPARK-29438][SS] Use 
partition ID of StateStoreAwareZipPartitionsRDD for determining partition ID of 
state store in stream-stream join
URL: https://github.com/apache/spark/pull/26162#discussion_r368338271
 
 

 ##########
 File path: 
sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/memory.scala
 ##########
 @@ -206,8 +209,12 @@ case class MemoryStream[A : Encoder](id: Int, sqlContext: 
SQLContext)
 
       logDebug(generateDebugString(newBlocks.flatten, startOrdinal, 
endOrdinal))
 
-      newBlocks.map { block =>
-        new MemoryStreamInputPartition(block)
+      val inputRows = newBlocks.flatten.toArray
 
 Review comment:
   Add a comment here to explain what this block of code does and why?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to