peter-toth commented on code in PR #53859:
URL: https://github.com/apache/spark/pull/53859#discussion_r2740844979


##########
sql/core/src/main/scala/org/apache/spark/sql/execution/QueryExecution.scala:
##########
@@ -622,6 +623,11 @@ object QueryExecution {
       sparkSession: SparkSession,
       adaptiveExecutionRule: Option[InsertAdaptiveSparkPlan] = None,
       subquery: Boolean): Seq[Rule[SparkPlan]] = {
+    val requiredDistribution = if (subquery) {

Review Comment:
   Fixed in 
https://github.com/apache/spark/pull/53859/commits/b04bb614cd5b5d56b40855c509ef770949b0eaa1
 and added comments in 
https://github.com/apache/spark/pull/53859/commits/c28fc3fdd7ddca3e7431fd749b3cb4878ca45c32.



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to