From 6bc94134ac3cf7f77f0a176cd61453d2d9209add Mon Sep 17 00:00:00 2001 From: Askwang <135721692+Askwang@users.noreply.github.com> Date: Mon, 9 Dec 2024 22:29:30 +0800 Subject: [PATCH] 1 --- .../spark/procedure/ExpirePartitionsProcedureTest.scala | 5 ----- 1 file changed, 5 deletions(-) diff --git a/paimon-spark/paimon-spark-ut/src/test/scala/org/apache/paimon/spark/procedure/ExpirePartitionsProcedureTest.scala b/paimon-spark/paimon-spark-ut/src/test/scala/org/apache/paimon/spark/procedure/ExpirePartitionsProcedureTest.scala index ed59d6011a9a..9ed0c8aa0b65 100644 --- a/paimon-spark/paimon-spark-ut/src/test/scala/org/apache/paimon/spark/procedure/ExpirePartitionsProcedureTest.scala +++ b/paimon-spark/paimon-spark-ut/src/test/scala/org/apache/paimon/spark/procedure/ExpirePartitionsProcedureTest.scala @@ -672,11 +672,6 @@ class ExpirePartitionsProcedureTest extends PaimonSparkTestBase with StreamTest "Never-expire", "9999-09-09") :: Nil) - // no 'partition.expiration-time' value in table property or procedure parameter. - assertThatThrownBy( - () => spark.sql("CALL paimon.sys.expire_partitions(table => 'test.T')")) - .hasMessageContaining("The partition expiration time is must been required") - // 'partition.timestamp-formatter' value using table property. // 'partition.expiration-time' value using procedure parameter. checkAnswer(