dongjoon-hyun commented on code in PR #34929:
URL: https://github.com/apache/spark/pull/34929#discussion_r893184019
##########
sql/core/src/main/scala/org/apache/spark/sql/execution/QueryExecution.scala:
##########
@@ -64,17 +62,6 @@ class QueryExecution(
// TODO: Move the planner an optimizer into here from SessionState.
protected def planner = sparkSession.sessionState.planner
- // The CTE map for the planner shared by the main query and all subqueries.
- private val cteMap = mutable.HashMap.empty[Long, CTERelationDef]
Review Comment:
Here is the result generation status.
```
$ SPARK_GENERATE_GOLDEN_FILES=1 build/sbt "sql/testOnly *PlanStabilitySuite"
&> /dev/null
$ git status
On branch branch-3.2
Your branch is up to date with 'apache/branch-3.2'.
nothing to commit, working tree clean
$ SPARK_GENERATE_GOLDEN_FILES=1 build/sbt "sql/testOnly *PlanStabilitySuite
-- -z (tpcds-v1.4/q4)" &> /dev/null
$ SPARK_GENERATE_GOLDEN_FILES=1 build/sbt "sql/testOnly *PlanStabilitySuite
-- -z (tpcds-v1.4/q5)" &> /dev/null
$ git diff --stat
sql/core/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q4/explain.txt
| 238
++++++++++++++++++++++++++++++++++++++++++++++++++++----------------------------------------------------
sql/core/src/test/resources/tpcds-plan-stability/approved-plans-v1_4/q5/explain.txt
| 212
++++++++++++++++++++++++++++++++++++++++++++++----------------------------------------------
2 files changed, 225 insertions(+), 225 deletions(-)
```
--
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]