@@ -22,8 +22,8 @@ class TableUtilsFormatTest {
22
22
23
23
@ Test
24
24
def testInsertPartitionsAddColumns (): Unit = {
25
- val tableName = s " db .test_table_1_ $format"
26
- spark.sql(" CREATE DATABASE IF NOT EXISTS db " )
25
+ val tableName = s " db_format .test_table_1_ $format"
26
+ spark.sql(" CREATE DATABASE IF NOT EXISTS db_format " )
27
27
val columns1 = Array (
28
28
StructField (" long_field" , LongType ),
29
29
StructField (" int_field" , IntType ),
@@ -57,8 +57,8 @@ class TableUtilsFormatTest {
57
57
58
58
@ Test
59
59
def testInsertPartitionsAddRemoveColumns (): Unit = {
60
- val tableName = s " db .test_table_2_ $format"
61
- spark.sql(" CREATE DATABASE IF NOT EXISTS db " )
60
+ val tableName = s " db_format .test_table_2_ $format"
61
+ spark.sql(" CREATE DATABASE IF NOT EXISTS db_format " )
62
62
val columns1 = Array (
63
63
StructField (" long_field" , LongType ),
64
64
StructField (" int_field" , IntType ),
@@ -92,8 +92,8 @@ class TableUtilsFormatTest {
92
92
93
93
@ Test
94
94
def testInsertPartitionsAddModifyColumns (): Unit = {
95
- val tableName = s " db .test_table_3_ $format"
96
- spark.sql(" CREATE DATABASE IF NOT EXISTS db " )
95
+ val tableName = s " db_format .test_table_3_ $format"
96
+ spark.sql(" CREATE DATABASE IF NOT EXISTS db_format " )
97
97
val columns1 = Array (
98
98
StructField (" long_field" , LongType ),
99
99
StructField (" int_field" , IntType )
0 commit comments