maryannxue commented on a change in pull request #33671:
URL: https://github.com/apache/spark/pull/33671#discussion_r687078471
##########
File path:
sql/core/src/main/scala/org/apache/spark/sql/execution/adaptive/AdaptiveSparkPlanExec.scala
##########
@@ -623,11 +625,6 @@ case class AdaptiveSparkPlanExec(
val newLogicalPlan = logicalPlan.transformDown {
case p if p.eq(logicalNode) => newLogicalNode
}
- assert(newLogicalPlan != logicalPlan,
Review comment:
Because stages in CTE defs with multiple references can be "replaced"
more than once, but those are just the reuses of the same exchange, so we can
ignore them.
--
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]