Skip to content

Commit 9154463

Browse files
committed
Fix field anmes in the test
1 parent b233d09 commit 9154463

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sql/core/src/test/scala/org/apache/spark/sql/DataFrameSuite.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1591,11 +1591,11 @@ class DataFrameSuite extends QueryTest with SharedSQLContext {
15911591
val dates = Seq(
15921592
(BigDecimal.valueOf(1), new Timestamp(2)),
15931593
(BigDecimal.valueOf(4), new Timestamp(5))
1594-
).toDF("timestamp", "decimal")
1594+
).toDF("decimal", "timestamp")
15951595

15961596
val widenTypedRows = Seq(
15971597
(10.5D, "string")
1598-
).toDF("timestamp", "decimal")
1598+
).toDF("decimal", "timestamp")
15991599

16001600
dates.union(widenTypedRows).collect()
16011601
dates.except(widenTypedRows).collect()

0 commit comments

Comments
 (0)