Skip to content

Commit fee7e9c

Browse files
committed
A test?
1 parent 5416b0f commit fee7e9c

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/SQLQuerySuite.scala

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -457,4 +457,15 @@ class SQLQuerySuite extends QueryTest {
457457
dropTempTable("data")
458458
setConf("spark.sql.hive.convertCTAS", originalConf)
459459
}
460+
461+
test("sanity test for SPARK-6618") {
462+
(1 to 100).par.map { i =>
463+
val tableName = s"SPARK_6618_table_$i"
464+
sql(s"CREATE TABLE $tableName (col1 string)")
465+
catalog.lookupRelation(Seq(tableName))
466+
table(tableName)
467+
tables()
468+
sql(s"DROP TABLE $tableName")
469+
}
470+
}
460471
}

0 commit comments

Comments
 (0)