rdblue commented on a change in pull request #357: Jun/in and not in predicates URL: https://github.com/apache/incubator-iceberg/pull/357#discussion_r311684316
########## File path: api/src/main/java/org/apache/iceberg/expressions/Expressions.java ########## @@ -105,6 +105,16 @@ public static Expression not(Expression child) { return new UnboundPredicate<>(Expression.Operation.NOT_EQ, ref(name), value); } + public static <T> UnboundPredicate<T> in(String name, T value, T... values) { Review comment: If there is only one value in the set, this should return an `equal` predicate. Similarly, `notIn` should return a `notEqual` predicate for a single value. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org