We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f6a53b commit 022d363Copy full SHA for 022d363
sql/core/src/test/scala/org/apache/spark/sql/ExplainSuite.scala
@@ -230,11 +230,11 @@ class ExplainSuite extends ExplainSuiteHelper with DisableAdaptiveExecutionSuite
230
231
test("SPARK-33853: explain codegen - check presence of subquery") {
232
withSQLConf(SQLConf.WHOLESTAGE_CODEGEN_ENABLED.key -> "true") {
233
- withTable("df1") {
+ withTable("df") {
234
val df1 = spark.range(1, 100)
235
- df1.createTempView("df1")
+ df1.createTempView("df")
236
237
- val sqlText = "EXPLAIN CODEGEN SELECT (SELECT min(id) FROM df1)"
+ val sqlText = "EXPLAIN CODEGEN SELECT (SELECT min(id) FROM df)"
238
val expectedText = "Found 3 WholeStageCodegen subtrees."
239
240
withNormalizedExplain(sqlText) { normalizedOutput =>
0 commit comments