diff --git a/paimon-common/src/main/java/org/apache/paimon/predicate/PredicateUtils.java b/paimon-common/src/main/java/org/apache/paimon/predicate/PredicateUtils.java index a6b86f32854d..4503ddd2f3ad 100644 --- a/paimon-common/src/main/java/org/apache/paimon/predicate/PredicateUtils.java +++ b/paimon-common/src/main/java/org/apache/paimon/predicate/PredicateUtils.java @@ -41,7 +41,7 @@ public static void traverseCompoundPredicate( Consumer unMatchConsumer) { Preconditions.checkState( predicate instanceof CompoundPredicate, - "PredicateUtils##handleCompoundPredicate should handle with a CompoundPredicate."); + "PredicateUtils.traverseCompoundPredicate only supports processing Predicates of CompoundPredicate type."); CompoundPredicate compoundPredicate = (CompoundPredicate) predicate; List children = compoundPredicate.children();