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


##########
python/pyiceberg/expressions/__init__.py:
##########
@@ -317,7 +317,7 @@ def __eq__(self, other):
         return self.term == other.term if isinstance(other, UnboundPredicate) 
else False
 
     @abstractmethod
-    def bind(self, schema: Schema, case_sensitive: bool = True) -> 
BoundPredicate:
+    def bind(self, schema: Schema, case_sensitive: bool = True) -> 
BooleanExpression:

Review Comment:
   @Fokko, this is more accurate because binding can produce constants like 
`AlwaysTrue()`, but I'm not sure that we want to do it if it messes up type 
inference after binding.



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