WweiL commented on code in PR #52642:
URL: https://github.com/apache/spark/pull/52642#discussion_r2460959069


##########
sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/runtime/ProgressReporter.scala:
##########
@@ -544,7 +546,10 @@ abstract class ProgressContext(
       val finalLogicalPlan = unrollCTE(lastExecution.logical)
 
       val allLogicalPlanLeaves = finalLogicalPlan.collectLeaves() // includes 
non-streaming
-      val allExecPlanLeaves = lastExecution.executedPlan.collectLeaves()
+      val allExecPlanLeaves = StreamingQueryPlanTraverseHelper
+        .collectFromUnfoldedPlan(lastExecution.executedPlan) {

Review Comment:
   Would it be slow to traverse the plan all the time?



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