maropu commented on a change in pull request #30859:
URL: https://github.com/apache/spark/pull/30859#discussion_r546325515
##########
File path: sql/core/src/test/scala/org/apache/spark/sql/ExplainSuite.scala
##########
@@ -228,6 +228,25 @@ class ExplainSuite extends ExplainSuiteHelper with
DisableAdaptiveExecutionSuite
}
}
+ test("SPARK-33853: explain codegen - check presence of subquery") {
+ withSQLConf(SQLConf.WHOLESTAGE_CODEGEN_ENABLED.key -> "true") {
+ withTable("df1") {
+ spark.range(1, 100)
+ .write
+ .format("parquet")
+ .mode("overwrite")
+ .saveAsTable("df1")
Review comment:
nit: for better test performance, could you use a temporary view instead?
----------------------------------------------------------------
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]