rdblue commented on code in PR #18629:
URL: https://github.com/apache/iceberg/pull/18629#discussion_r4745731300


##########
api/src/main/java/org/apache/iceberg/expressions/UnboundPredicate.java:
##########
@@ -45,30 +47,71 @@ public class UnboundPredicate<T> extends Predicate<T, 
UnboundTerm<T>>
   UnboundPredicate(Operation op, UnboundTerm<T> term) {
     super(op, term);
     this.literals = null;
+    this.left = null;

Review Comment:
   `UnboundTerm` is a `ValueExpression`, so I would expect this to set `left` 
to `term` and treat `term` like a `ValueExpression` in all cases. Otherwise, it 
looks like this keeps the existing term handling separate, which doesn't seem 
right.



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to