HeartSaVioR commented on code in PR #59221:
URL: https://github.com/apache/spark/pull/59221#discussion_r4190652952


##########
sql/core/src/test/scala/org/apache/spark/sql/execution/streaming/OffsetSeqLogSuite.scala:
##########
@@ -292,6 +308,203 @@ class OffsetSeqLogSuite extends SharedSparkSession {
     }
   }
 
+  private def startStatefulQuery(
+      aggregated: DataFrame,
+      checkpointDir: File,
+      shufflePartitions: Int,
+      queryName: String,
+      checkUnfinishedRepartition: Boolean = true): StreamingQueryWrapper = {
+    withSQLConf(
+      SQLConf.STREAMING_OFFSET_LOG_FORMAT_VERSION.key -> "2",
+      SQLConf.SHUFFLE_PARTITIONS.key -> shufflePartitions.toString,
+      SQLConf.STREAMING_CHECK_UNFINISHED_REPARTITION_ON_RESTART.key ->

Review Comment:
   I realized #58929 isn't optional... I'll take a look at #58929 as well. Also 
the merge sequence will be simpler to go #58929 first...



-- 
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]

Reply via email to