grundprinzip commented on code in PR #45907:
URL: https://github.com/apache/spark/pull/45907#discussion_r1554649659


##########
connector/connect/server/src/main/scala/org/apache/spark/sql/connect/execution/ConnectProgressExecutionListener.scala:
##########
@@ -82,10 +82,14 @@ private[connect] class ConnectProgressExecutionListener 
extends SparkListener wi
      *
      * If the tracker was marked as dirty, the state is reset after.
      */
-    def yieldWhenDirty(thunk: (Seq[StageInfo], Long) => Unit): Unit = {
-      if (dirty.get()) {
+    def yieldWhenDirty(force: Boolean = false, thunk: (Seq[StageInfo], Long) 
=> Unit): Unit = {

Review Comment:
   Yes correct, i was looking for this particular syntax. Will change to that. 
Thanks. 



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