@@ -407,7 +407,7 @@ class GlutenInsertSuite
407
407
withTable(" t" ) {
408
408
sql(s " create table t(i boolean) using ${config.dataSource}" )
409
409
if (config.useDataFrames) {
410
- Seq (( false ) ).toDF.write.insertInto(" t" )
410
+ Seq (false ).toDF.write.insertInto(" t" )
411
411
} else {
412
412
sql(" insert into t select false" )
413
413
}
@@ -422,12 +422,12 @@ class GlutenInsertSuite
422
422
val incompatibleDefault =
423
423
" Failed to execute ALTER TABLE ADD COLUMNS command because the destination " +
424
424
" table column `s` has a DEFAULT value"
425
- Seq (Config (" parquet" ), Config (" parquet" , true )).foreach {
425
+ Seq (Config (" parquet" ), Config (" parquet" , useDataFrames = true )).foreach {
426
426
config =>
427
427
withTable(" t" ) {
428
428
sql(s " create table t(i boolean) using ${config.dataSource}" )
429
429
if (config.useDataFrames) {
430
- Seq (( false ) ).toDF.write.insertInto(" t" )
430
+ Seq (false ).toDF.write.insertInto(" t" )
431
431
} else {
432
432
sql(" insert into t select false" )
433
433
}
@@ -454,7 +454,7 @@ class GlutenInsertSuite
454
454
withTable(" t" ) {
455
455
sql(s " create table t(i boolean) using ${config.dataSource}" )
456
456
if (config.useDataFrames) {
457
- Seq (( false ) ).toDF.write.insertInto(" t" )
457
+ Seq (false ).toDF.write.insertInto(" t" )
458
458
} else {
459
459
sql(" insert into t select false" )
460
460
}
@@ -471,12 +471,12 @@ class GlutenInsertSuite
471
471
val incompatibleDefault =
472
472
" Failed to execute ALTER TABLE ADD COLUMNS command because the destination " +
473
473
" table column `s` has a DEFAULT value"
474
- Seq (Config (" parquet" ), Config (" parquet" , true )).foreach {
474
+ Seq (Config (" parquet" ), Config (" parquet" , useDataFrames = true )).foreach {
475
475
config =>
476
476
withTable(" t" ) {
477
477
sql(s " create table t(i boolean) using ${config.dataSource}" )
478
478
if (config.useDataFrames) {
479
- Seq (( false ) ).toDF.write.insertInto(" t" )
479
+ Seq (false ).toDF.write.insertInto(" t" )
480
480
} else {
481
481
sql(" insert into t select false" )
482
482
}
@@ -503,7 +503,7 @@ class GlutenInsertSuite
503
503
withTable(" t" ) {
504
504
sql(s " create table t(i boolean) using ${config.dataSource}" )
505
505
if (config.useDataFrames) {
506
- Seq (( false ) ).toDF.write.insertInto(" t" )
506
+ Seq (false ).toDF.write.insertInto(" t" )
507
507
} else {
508
508
sql(" insert into t select false" )
509
509
}
@@ -568,12 +568,12 @@ class GlutenInsertSuite
568
568
val incompatibleDefault =
569
569
" Failed to execute ALTER TABLE ADD COLUMNS command because the destination " +
570
570
" table column `s` has a DEFAULT value"
571
- Seq (Config (" parquet" ), Config (" parquet" , true )).foreach {
571
+ Seq (Config (" parquet" ), Config (" parquet" , useDataFrames = true )).foreach {
572
572
config =>
573
573
withTable(" t" ) {
574
574
sql(s " create table t(i boolean) using ${config.dataSource}" )
575
575
if (config.useDataFrames) {
576
- Seq (( false ) ).toDF.write.insertInto(" t" )
576
+ Seq (false ).toDF.write.insertInto(" t" )
577
577
} else {
578
578
sql(" insert into t select false" )
579
579
}
0 commit comments