You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2022/01/31 07:16:29 UTC

[GitHub] [iceberg] jun-he commented on pull request #3965: implement __eq__ for iceberg type classes.

jun-he commented on pull request #3965:
URL: https://github.com/apache/iceberg/pull/3965#issuecomment-1025444415


   @rdblue @emkornfield  Thanks for the comments. I improved the type classes using singleton pattern for non parameterized types. No equal or hash overriding is needed for them and default worked well.
   
   For parameterized ones, I still keep the equal method in this PR as currently type objects are not used as key in dict or set. It makes sense to use as key in the future and I will open a new PR to add hash overrides for them.
   
   I also updated the tests according to the comments. Can you please take another look? Thanks.
   


-- 
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-unsubscribe@iceberg.apache.org

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



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