rdblue commented on code in PR #4816:
URL: https://github.com/apache/iceberg/pull/4816#discussion_r884327952
##########
python/src/iceberg/expressions/base.py:
##########
@@ -285,6 +270,9 @@ def __str__(self):
def __repr__(self):
return f"BoundReference(field={repr(self.field)},
accessor={repr(self._accessor)})"
+ def __eq__(self, other) -> bool:
Review Comment:
If you convert this to a `@dataclass`, I think you'd get these for free.
--
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]