Skip to content

Commit b94eb71

Browse files
committed
update
1 parent b554236 commit b94eb71

File tree

8 files changed

+16
-16
lines changed

8 files changed

+16
-16
lines changed

gluten-ut/spark32/src/test/scala/org/apache/gluten/utils/clickhouse/ClickHouseTestSettings.scala

+2-2
Original file line numberDiff line numberDiff line change
@@ -241,8 +241,8 @@ class ClickHouseTestSettings extends BackendTestSettings {
241241
.exclude("SPARK-24165: CaseWhen/If - nullability of nested types")
242242
.exclude("SPARK-27671: Fix analysis exception when casting null in nested field in struct")
243243
.exclude("summary")
244-
.exclude(
245-
"SPARK-27439: Explain result should match collected result after view change - re-write")
244+
.excludeGlutenTest(
245+
"SPARK-27439: Explain result should match collected result after view change")
246246
.excludeGlutenTest("distributeBy and localSort")
247247
.excludeGlutenTest("describe")
248248
.excludeGlutenTest("Allow leading/trailing whitespace in string before casting")

gluten-ut/spark32/src/test/scala/org/apache/spark/sql/GlutenDataFrameSuite.scala

+2-2
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ class GlutenDataFrameSuite extends DataFrameSuite with GlutenSQLTestsTrait {
360360
checkResult(df, expectedBinaryResult)
361361
}
362362

363-
test("SPARK-27439: Explain result should match collected result after view change - re-write") {
363+
testGluten("SPARK-27439: Explain result should match collected result after view change") {
364364
withTempView("test", "test2", "tmp") {
365365
spark.range(10).createOrReplaceTempView("test")
366366
spark.range(5).createOrReplaceTempView("test2")
@@ -379,7 +379,7 @@ class GlutenDataFrameSuite extends DataFrameSuite with GlutenSQLTestsTrait {
379379
|+- 'UnresolvedRelation [tmp]""".stripMargin))
380380
assert(output.contains("""== Physical Plan ==
381381
|*(1) ColumnarToRow
382-
|+- ColumnarRange 0, 10, 1, 2, 10, [id#0L]""".stripMargin))
382+
|+- ColumnarRange 0, 10, 1, 2, 10""".stripMargin))
383383
}
384384
}
385385

gluten-ut/spark33/src/test/scala/org/apache/gluten/utils/clickhouse/ClickHouseTestSettings.scala

+2-2
Original file line numberDiff line numberDiff line change
@@ -263,8 +263,8 @@ class ClickHouseTestSettings extends BackendTestSettings {
263263
.exclude("SPARK-24165: CaseWhen/If - nullability of nested types")
264264
.exclude("SPARK-27671: Fix analysis exception when casting null in nested field in struct")
265265
.exclude("summary")
266-
.exclude(
267-
"SPARK-27439: Explain result should match collected result after view change - re-write")
266+
.excludeGlutenTest(
267+
"SPARK-27439: Explain result should match collected result after view change")
268268
.excludeGlutenTest("distributeBy and localSort")
269269
.excludeGlutenTest("describe")
270270
.excludeGlutenTest("Allow leading/trailing whitespace in string before casting")

gluten-ut/spark33/src/test/scala/org/apache/spark/sql/GlutenDataFrameSuite.scala

+2-2
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ class GlutenDataFrameSuite extends DataFrameSuite with GlutenSQLTestsTrait {
361361
checkResult(df, expectedBinaryResult)
362362
}
363363

364-
test("SPARK-27439: Explain result should match collected result after view change - re-write") {
364+
testGluten("SPARK-27439: Explain result should match collected result after view change") {
365365
withTempView("test", "test2", "tmp") {
366366
spark.range(10).createOrReplaceTempView("test")
367367
spark.range(5).createOrReplaceTempView("test2")
@@ -380,7 +380,7 @@ class GlutenDataFrameSuite extends DataFrameSuite with GlutenSQLTestsTrait {
380380
|+- 'UnresolvedRelation [tmp]""".stripMargin))
381381
assert(output.contains("""== Physical Plan ==
382382
|*(1) ColumnarToRow
383-
|+- ColumnarRange 0, 10, 1, 2, 10, [id#0L]""".stripMargin))
383+
|+- ColumnarRange 0, 10, 1, 2, 10""".stripMargin))
384384
}
385385
}
386386

gluten-ut/spark34/src/test/scala/org/apache/gluten/utils/clickhouse/ClickHouseTestSettings.scala

+2-2
Original file line numberDiff line numberDiff line change
@@ -261,8 +261,8 @@ class ClickHouseTestSettings extends BackendTestSettings {
261261
.exclude("SPARK-24165: CaseWhen/If - nullability of nested types")
262262
.exclude("SPARK-27671: Fix analysis exception when casting null in nested field in struct")
263263
.exclude("summary")
264-
.exclude(
265-
"SPARK-27439: Explain result should match collected result after view change - re-write")
264+
.excludeGlutenTest(
265+
"SPARK-27439: Explain result should match collected result after view change")
266266
.excludeGlutenTest("distributeBy and localSort")
267267
.excludeGlutenTest("describe")
268268
.excludeGlutenTest("Allow leading/trailing whitespace in string before casting")

gluten-ut/spark34/src/test/scala/org/apache/spark/sql/GlutenDataFrameSuite.scala

+2-2
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ class GlutenDataFrameSuite extends DataFrameSuite with GlutenSQLTestsTrait {
361361
checkResult(df, expectedBinaryResult)
362362
}
363363

364-
test("SPARK-27439: Explain result should match collected result after view change - re-write") {
364+
testGluten("SPARK-27439: Explain result should match collected result after view change") {
365365
withTempView("test", "test2", "tmp") {
366366
spark.range(10).createOrReplaceTempView("test")
367367
spark.range(5).createOrReplaceTempView("test2")
@@ -380,7 +380,7 @@ class GlutenDataFrameSuite extends DataFrameSuite with GlutenSQLTestsTrait {
380380
|+- 'UnresolvedRelation [tmp]""".stripMargin))
381381
assert(output.contains("""== Physical Plan ==
382382
|*(1) ColumnarToRow
383-
|+- ColumnarRange 0, 10, 1, 2, 10, [id#0L]""".stripMargin))
383+
|+- ColumnarRange 0, 10, 1, 2, 10""".stripMargin))
384384
}
385385
}
386386

gluten-ut/spark35/src/test/scala/org/apache/gluten/utils/clickhouse/ClickHouseTestSettings.scala

+2-2
Original file line numberDiff line numberDiff line change
@@ -545,8 +545,8 @@ class ClickHouseTestSettings extends BackendTestSettings {
545545
.excludeCH("SPARK-28067: Aggregate sum should not return wrong results for decimal overflow")
546546
.excludeCH("SPARK-35955: Aggregate avg should not return wrong results for decimal overflow")
547547
.excludeCH("summary")
548-
.exclude(
549-
"SPARK-27439: Explain result should match collected result after view change - re-write")
548+
.excludeGlutenTest(
549+
"SPARK-27439: Explain result should match collected result after view change")
550550
.excludeCH(
551551
"SPARK-8608: call `show` on local DataFrame with random columns should return same value")
552552
.excludeCH(

gluten-ut/spark35/src/test/scala/org/apache/spark/sql/GlutenDataFrameSuite.scala

+2-2
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ class GlutenDataFrameSuite extends DataFrameSuite with GlutenSQLTestsTrait {
372372
}
373373
}
374374

375-
test("SPARK-27439: Explain result should match collected result after view change - re-write") {
375+
testGluten("SPARK-27439: Explain result should match collected result after view change") {
376376
withTempView("test", "test2", "tmp") {
377377
spark.range(10).createOrReplaceTempView("test")
378378
spark.range(5).createOrReplaceTempView("test2")
@@ -391,7 +391,7 @@ class GlutenDataFrameSuite extends DataFrameSuite with GlutenSQLTestsTrait {
391391
|+- 'UnresolvedRelation [tmp]""".stripMargin))
392392
assert(output.contains("""== Physical Plan ==
393393
|*(1) ColumnarToRow
394-
|+- ColumnarRange 0, 10, 1, 2, 10, [id#0L]""".stripMargin))
394+
|+- ColumnarRange 0, 10, 1, 2, 10""".stripMargin))
395395
}
396396
}
397397

0 commit comments

Comments
 (0)