mgaido91 commented on a change in pull request #24214: [SPARK-27279][SQL] Reuse
subquery should compare child plan of `SubqueryExec`
URL: https://github.com/apache/spark/pull/24214#discussion_r269457757
##########
File path:
sql/core/src/main/scala/org/apache/spark/sql/execution/basicPhysicalOperators.scala
##########
@@ -674,6 +674,8 @@ case class SubqueryExec(name: String, child: SparkPlan)
extends UnaryExecNode {
override def outputOrdering: Seq[SortOrder] = child.outputOrdering
+ override def doCanonicalize(): SparkPlan = child.canonicalized
Review comment:
@gatorsmile may you please share if you remember why it was reverted? Thanks.
----------------------------------------------------------------
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]