Skip to content

Commit ba6913f

Browse files
committed
update the test case
1 parent 65b0ff7 commit ba6913f

File tree

1 file changed

+4
-7
lines changed
  • sql/core/src/test/scala/org/apache/spark/sql/execution/command

1 file changed

+4
-7
lines changed

sql/core/src/test/scala/org/apache/spark/sql/execution/command/DDLSuite.scala

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2299,20 +2299,17 @@ abstract class DDLSuite extends QueryTest with SQLTestUtils {
22992299
test(s"basic DDL using locale tr - caseSensitive $caseSensitive") {
23002300
withSQLConf(SQLConf.CASE_SENSITIVE.key -> s"$caseSensitive") {
23012301
withLocale("tr") {
2302-
val dbName = "DaTaBaSeI"
2302+
val dbName = "DaTaBaSe_I"
23032303
withDatabase(dbName) {
23042304
sql(s"CREATE DATABASE $dbName")
23052305
sql(s"USE $dbName")
23062306

2307-
val tabName = "tAbI"
2307+
val tabName = "tAb_I"
23082308
withTable(tabName) {
2309-
sql(s"CREATE TABLE $tabName(c1 int) USING PARQUET")
2309+
sql(s"CREATE TABLE $tabName(col_I int) USING PARQUET")
23102310
sql(s"INSERT OVERWRITE TABLE $tabName SELECT 1")
2311-
checkAnswer(sql(s"SELECT c1 FROM $tabName"), Row(1) :: Nil)
2312-
sql(s"DROP TABLE $tabName")
2311+
checkAnswer(sql(s"SELECT col_I FROM $tabName"), Row(1) :: Nil)
23132312
}
2314-
2315-
sql(s"DROP DATABASE $dbName")
23162313
}
23172314
}
23182315
}

0 commit comments

Comments
 (0)