File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
sql/pipelines/src/test/scala/org/apache/spark/sql/pipelines/graph Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -434,9 +434,8 @@ class MaterializeTablesSuite extends BaseCoreExecutionTest {
434
434
435
435
val table2 = catalog.loadTable(identifier)
436
436
assert(
437
- table2.columns().toSet == CatalogV2Util
437
+ table2.columns() sameElements CatalogV2Util
438
438
.structTypeToV2Columns(new StructType ().add(" x" , BooleanType ).add(" y" , IntegerType ))
439
- .toSet
440
439
)
441
440
assert(table2.partitioning().toSeq == Seq (Expressions .identity(" x" )))
442
441
@@ -457,9 +456,8 @@ class MaterializeTablesSuite extends BaseCoreExecutionTest {
457
456
458
457
val table3 = catalog.loadTable(identifier)
459
458
assert(
460
- table3.columns().toSet == CatalogV2Util
459
+ table3.columns() sameElements CatalogV2Util
461
460
.structTypeToV2Columns(new StructType ().add(" x" , BooleanType ).add(" y" , IntegerType ))
462
- .toSet
463
461
)
464
462
assert(table3.partitioning().toSeq == Seq (Expressions .identity(" x" )))
465
463
}
You can’t perform that action at this time.
0 commit comments