neilramaswamy commented on code in PR #48297:
URL: https://github.com/apache/spark/pull/48297#discussion_r1797524619
##########
sql/core/src/test/scala/org/apache/spark/sql/streaming/StreamingJoinSuite.scala:
##########
@@ -223,6 +224,27 @@ abstract class StreamingJoinSuite
(inputStream, select)
}
+
+ protected def assertStateStoreRows(
+ opId: Long,
+ joinSide: String,
+ expectedRows: Seq[Row])(projFn: DataFrame => DataFrame): AssertOnQuery =
Execute { q =>
+ val checkpointLoc = q.resolvedCheckpointRoot
+
+ // just make sure the query have no leftover data
+ q.processAllAvailable()
+
+ // By default, it reads the state store from lastest committed batch.
+ // (Do we have a case where we have to look back on testing?)
Review Comment:
Remove ?
--
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]