diff --git a/paimon-core/src/test/java/org/apache/paimon/partition/PartitionPredicateTest.java b/paimon-core/src/test/java/org/apache/paimon/partition/PartitionPredicateTest.java index 1263529db1fc..b4e1f5ed1e16 100644 --- a/paimon-core/src/test/java/org/apache/paimon/partition/PartitionPredicateTest.java +++ b/paimon-core/src/test/java/org/apache/paimon/partition/PartitionPredicateTest.java @@ -45,10 +45,7 @@ public class PartitionPredicateTest { public void testNoPartition() { PartitionPredicate predicate = PartitionPredicate.fromMultiple(RowType.of(), Collections.singletonList(EMPTY_ROW)); - - assertThat(predicate.test(EMPTY_ROW)).isTrue(); - assertThat(predicate.test(1, EMPTY_ROW, EMPTY_ROW, BinaryArray.fromLongArray(new Long[0]))) - .isTrue(); + assertThat(predicate).isNull(); } @Test