This is an automated email from the ASF dual-hosted git repository.
lzljs3620320 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/paimon.git
The following commit(s) were added to refs/heads/master by this push:
new 536abee379 [test] Fix unstable case in PaimonFormatTableTest (#6979)
536abee379 is described below
commit 536abee37921c553d4ade4819ad6d867358adfc6
Author: Zouxxyy <[email protected]>
AuthorDate: Thu Jan 8 15:22:36 2026 +0800
[test] Fix unstable case in PaimonFormatTableTest (#6979)
---
.../scala/org/apache/paimon/spark/table/PaimonFormatTableTest.scala | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git
a/paimon-spark/paimon-spark-ut/src/test/scala/org/apache/paimon/spark/table/PaimonFormatTableTest.scala
b/paimon-spark/paimon-spark-ut/src/test/scala/org/apache/paimon/spark/table/PaimonFormatTableTest.scala
index 048f3111b8..374383d316 100644
---
a/paimon-spark/paimon-spark-ut/src/test/scala/org/apache/paimon/spark/table/PaimonFormatTableTest.scala
+++
b/paimon-spark/paimon-spark-ut/src/test/scala/org/apache/paimon/spark/table/PaimonFormatTableTest.scala
@@ -126,11 +126,10 @@ class PaimonFormatTableTest extends
PaimonSparkTestWithRestCatalogBase {
s"'format-table.implementation'='paimon') PARTITIONED BY (`ds`,
`ds1`, `ds2`)")
val table =
paimonCatalog.getTable(Identifier.create("test_db",
tableName)).asInstanceOf[FormatTable]
- val partition = 20250920
table.fileIO().mkdirs(new Path(table.location()))
spark.sql(s"INSERT INTO $tableName VALUES (5, 11, 12, 'ab', 13), (7,
11, 12, 'Larry', 13)")
checkAnswer(
- spark.sql(s"SELECT ds, age, ds1, name, ds2 FROM $tableName ORDER BY
age"),
+ spark.sql(s"SELECT ds, age, ds1, name, ds2 FROM $tableName ORDER BY
ds"),
Row(5, 11, 12, "ab", 13) :: Row(7, 11, 12, "Larry", 13) :: Nil
)
}