You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "XiDuo You (Jira)" <ji...@apache.org> on 2022/01/25 04:42:00 UTC
[jira] [Created] (SPARK-38013) Fix AQE can change bhj to smj if the build side is aggregate
XiDuo You created SPARK-38013:
---------------------------------
Summary: Fix AQE can change bhj to smj if the build side is aggregate
Key: SPARK-38013
URL: https://issues.apache.org/jira/browse/SPARK-38013
Project: Spark
Issue Type: Bug
Components: SQL
Affects Versions: 3.3.0
Reporter: XiDuo You
The condition of isBroadcastStage is not completed. It does not catch the plan whose build side is Aggregate.
{code:java}
private def isBroadcastStage(plan: LogicalPlan): Boolean = plan match {
case LogicalQueryStage(_, _: BroadcastQueryStageExec) => true
case _ => false
}
{code}
We should add the pattern if the BroadcastQueryStageExec is inside Aggregate.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org