maryannxue commented on a change in pull request #29266:
URL: https://github.com/apache/spark/pull/29266#discussion_r465149665
##########
File path:
sql/core/src/main/scala/org/apache/spark/sql/execution/adaptive/OptimizeSkewedJoin.scala
##########
@@ -250,6 +251,85 @@ case class OptimizeSkewedJoin(conf: SQLConf) extends
Rule[SparkPlan] {
}
}
+ def optimizeSingleStageSkewJoin(plan: SparkPlan): SparkPlan =
plan.transformUp {
Review comment:
Is it possible to integrate this logic into the two-query-stage skew
processing?
We can just treat the non-query-stage side as "canSplitXXXSide(...) =
false", right?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]