maryannxue commented on a change in pull request #30494:
URL: https://github.com/apache/spark/pull/30494#discussion_r530490828
##########
File path:
sql/core/src/main/scala/org/apache/spark/sql/execution/adaptive/OptimizeSkewedJoin.scala
##########
@@ -55,6 +55,11 @@ import org.apache.spark.sql.internal.SQLConf
*/
object OptimizeSkewedJoin extends Rule[SparkPlan] {
+ /**
+ * The list of [[ShuffleOrigin]]s supported by this rule.
+ */
+ val supportedShuffleOrigins: Seq[ShuffleOrigin] = Seq(ENSURE_REQUIREMENTS)
Review comment:
Yes, we better do, to make it more robust, although it's not really
necessary here as we exclude these rules if there's been a repartition shuffle.
----------------------------------------------------------------
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]