gatorsmile commented on a change in pull request #26400: [SPARK-29759][SQL]
LocalShuffleReaderExec.outputPartitioning should use the corrected attributes
URL: https://github.com/apache/spark/pull/26400#discussion_r343217301
##########
File path:
sql/core/src/main/scala/org/apache/spark/sql/execution/adaptive/OptimizeLocalShuffleReader.scala
##########
@@ -99,29 +99,17 @@ case class OptimizeLocalShuffleReader(conf: SQLConf)
extends Rule[SparkPlan] {
}
}
-case class LocalShuffleReaderExec(child: QueryStageExec) extends UnaryExecNode
{
+// `child` is usually `ShuffleQueryStageExec` or `ReusedQueryStageExec`, but
can be the shuffle
+// exchange node during canonicalization.
Review comment:
The same here.
----------------------------------------------------------------
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]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]