Skip to content

Commit

Permalink
API: Fix Expressions.notNull operation (apache#1722)
Browse files Browse the repository at this point in the history
  • Loading branch information
yyanyy authored Nov 6, 2020
1 parent 89c8796 commit 59fb458
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public static <T> UnboundPredicate<T> notNull(String name) {
}

public static <T> UnboundPredicate<T> notNull(UnboundTerm<T> expr) {
return new UnboundPredicate<>(Expression.Operation.IS_NULL, expr);
return new UnboundPredicate<>(Expression.Operation.NOT_NULL, expr);
}

public static <T> UnboundPredicate<T> lessThan(String name, T value) {
Expand Down

0 comments on commit 59fb458

Please sign in to comment.