Fokko commented on code in PR #6139:
URL: https://github.com/apache/iceberg/pull/6139#discussion_r1022009005


##########
python/pyiceberg/expressions/literals.py:
##########
@@ -108,7 +110,7 @@ def __ge__(self, other):
 
 
 @singledispatch
-def literal(value) -> Literal:
+def literal(value: Any) -> Literal[T]:

Review Comment:
   There are more: 
https://github.com/apache/iceberg/blob/master/python/pyiceberg/expressions/literals.py#L159-L161
 For example here we convert the `bytearray` into `bytes`. Do you want to do 
this in this PR?



-- 
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: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to