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


##########
sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/IncrementalExecution.scala:
##########
@@ -70,8 +70,9 @@ class IncrementalExecution(
     val currentStateStoreCkptId:
       MutableMap[Long, Array[Array[String]]] = MutableMap[Long, 
Array[Array[String]]](),
     val stateSchemaMetadatas: MutableMap[Long, StateSchemaBroadcast] =
-      MutableMap[Long, StateSchemaBroadcast]())
-  extends QueryExecution(sparkSession, logicalPlan) with Logging {
+      MutableMap[Long, StateSchemaBroadcast](),
+    mode: CommandExecutionMode.Value = CommandExecutionMode.ALL)
+  extends QueryExecution(sparkSession, logicalPlan, mode = mode) with Logging {

Review Comment:
   But we didn't seem to reproduce the issue I got report, so probably need to 
play more on that. With the scenario of report, just fixing infinite loop can't 
fix the issue.



-- 
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: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to