gaogaotiantian commented on PR #53113:
URL: https://github.com/apache/spark/pull/53113#issuecomment-3549354581

   I think the general direction should be making `__eq__` strict. It's not too 
bad to fallback to the simple `is` comparison. If the user wants it to be 
smarter, they can implement their own. Without knowing the structure of an 
arbitrary user defined type, it's too dangerous to guess whether two instances 
are the same.


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