From f2a5210748f7919258620641d960ed6a42581303 Mon Sep 17 00:00:00 2001 From: PHILO-HE Date: Wed, 21 Aug 2024 21:55:09 +0800 Subject: [PATCH] Initial --- .../org/apache/spark/sql/sources/GlutenInsertSuite.scala | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gluten-ut/spark35/src/test/scala/org/apache/spark/sql/sources/GlutenInsertSuite.scala b/gluten-ut/spark35/src/test/scala/org/apache/spark/sql/sources/GlutenInsertSuite.scala index 084c2faa8c5c2..dd0567f546031 100644 --- a/gluten-ut/spark35/src/test/scala/org/apache/spark/sql/sources/GlutenInsertSuite.scala +++ b/gluten-ut/spark35/src/test/scala/org/apache/spark/sql/sources/GlutenInsertSuite.scala @@ -117,15 +117,15 @@ class GlutenInsertSuite } testGluten("Cleanup staging files if job is failed") { - withTable("t") { - spark.sql("CREATE TABLE t (c1 int, c2 string) USING PARQUET") - val table = spark.sessionState.catalog.getTableMetadata(TableIdentifier("t")) + withTable("t1") { + spark.sql("CREATE TABLE t1 (c1 int, c2 string) USING PARQUET") + val table = spark.sessionState.catalog.getTableMetadata(TableIdentifier("t1")) assert(new File(table.location).list().length == 0) intercept[Exception] { spark.sql( """ - |INSERT INTO TABLE t + |INSERT INTO TABLE t1 |SELECT id, assert_true(SPARK_PARTITION_ID() = 1) FROM range(1, 3, 1, 2) |""".stripMargin )