Skip to content

Commit b551aea

Browse files
committed
fix
1 parent 7a7cb3f commit b551aea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

paimon-spark/paimon-spark-ut/src/test/scala/org/apache/paimon/spark/sql/LanceFormatTest.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ class LanceFormatTest extends PaimonSparkTestBase {
3030
"CREATE TABLE t (a INT, b STRING, scores ARRAY<DOUBLE>) TBLPROPERTIES ('file.format' = 'lance')")
3131
sql(
3232
"INSERT INTO t VALUES (1, 'a', ARRAY(CAST(90.5 as double), CAST(88.0 as double))), (2, 'b', ARRAY(CAST(90.6 as double), CAST(88.1 as double)))")
33-
checkAnswer(sql("SELECT * FROM t LIMIT 1"), Seq(Row(1, "a", Array(90.5, 88.0))))
33+
assert(sql("SELECT * FROM t LIMIT 1").collect().length == 1)
3434
checkAnswer(
3535
sql("SELECT * FROM t LIMIT 10"),
36-
Seq(Row(1, "a", Array(90.5, 88.0)), Row(2, "b", Array(90.6, 88.1))))
36+
Row(1, "a", Array(90.5, 88.0)) :: Row(2, "b", Array(90.6, 88.1)) :: Nil)
3737

3838
assert(
3939
sql("SELECT file_size_in_bytes FROM `t$files`")

0 commit comments

Comments
 (0)