cloud-fan commented on code in PR #46830:
URL: https://github.com/apache/spark/pull/46830#discussion_r1626726253


##########
sql/core/src/main/scala/org/apache/spark/sql/execution/SparkPlanInfo.scala:
##########
@@ -58,6 +58,7 @@ private[execution] object SparkPlanInfo {
       case a: AdaptiveSparkPlanExec => a.executedPlan :: Nil
       case stage: QueryStageExec => stage.plan :: Nil
       case inMemTab: InMemoryTableScanExec => inMemTab.relation.cachedPlan :: 
Nil
+      case EmptyRelationExec(plan) => plan :: Nil

Review Comment:
   shall we have some way to indicate that this plan has been optimized to 
empty relation?



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