xuanyuanking commented on a change in pull request #20303: [SPARK-23128][SQL] A
new approach to do adaptive execution in Spark SQL
URL: https://github.com/apache/spark/pull/20303#discussion_r251890578
##########
File path:
sql/core/src/main/scala/org/apache/spark/sql/execution/QueryExecution.scala
##########
@@ -104,6 +110,17 @@ class QueryExecution(
ReuseExchange(sparkSession.sessionState.conf),
ReuseSubquery(sparkSession.sessionState.conf))
+ // With adaptive execution, whole stage codegen will be done inside
`QueryStageExecutor`.
+ protected def adaptivePreparations: Seq[Rule[SparkPlan]] = Seq(
+ PlanSubqueries(sparkSession),
+ EnsureRequirements(sparkSession.sessionState.conf),
Review comment:
The work for join types changing will be done in the runtime, we still need
`EnsureRequirements` here.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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]