Skip to content

Commit 4fbcae0

Browse files
committed
switch back order
1 parent c6280c4 commit 4fbcae0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sql/pipelines/src/test/scala/org/apache/spark/sql/pipelines/graph/MaterializeTablesSuite.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ class MaterializeTablesSuite extends BaseCoreExecutionTest {
435435
val table2 = catalog.loadTable(identifier)
436436
assert(
437437
table2.columns() sameElements CatalogV2Util
438-
.structTypeToV2Columns(new StructType().add("x", BooleanType).add("y", IntegerType))
438+
.structTypeToV2Columns(new StructType().add("y", IntegerType).add("x", BooleanType))
439439
)
440440
assert(table2.partitioning().toSeq == Seq(Expressions.identity("x")))
441441

@@ -457,7 +457,7 @@ class MaterializeTablesSuite extends BaseCoreExecutionTest {
457457
val table3 = catalog.loadTable(identifier)
458458
assert(
459459
table3.columns() sameElements CatalogV2Util
460-
.structTypeToV2Columns(new StructType().add("x", BooleanType).add("y", IntegerType))
460+
.structTypeToV2Columns(new StructType().add("y", IntegerType).add("x", BooleanType))
461461
)
462462
assert(table3.partitioning().toSeq == Seq(Expressions.identity("x")))
463463
}

0 commit comments

Comments
 (0)