cloud-fan commented on code in PR #46523:
URL: https://github.com/apache/spark/pull/46523#discussion_r1598605127
##########
sql/core/src/main/scala/org/apache/spark/sql/execution/adaptive/AQEPropagateEmptyRelation.scala:
##########
@@ -82,6 +82,11 @@ object AQEPropagateEmptyRelation extends
PropagateEmptyRelationBase {
case _ => false
}
+ override protected def canPropagate(plan: LogicalPlan): Boolean = plan match
{
+ case LogicalQueryStage(_, _: BroadcastQueryStageExec) => false
Review Comment:
let's add code comments to explain why.
--
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]