Fokko commented on code in PR #2557:
URL: https://github.com/apache/iceberg-python/pull/2557#discussion_r2401846141
##########
pyiceberg/expressions/__init__.py:
##########
@@ -718,7 +733,7 @@ def __new__( # type: ignore # pylint: disable=W0221
def __invert__(self) -> In[L]:
"""Transform the Expression into its negated version."""
- return In[L](self.term, self.literals)
+ return NotIn[L](self.term, self.literals)
Review Comment:
This should be reverted:
```suggestion
return In[L](self.term, self.literals)
```
--
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]