Rajeev-01 commented on PR #14404:
URL: https://github.com/apache/iceberg/pull/14404#issuecomment-3452641822

   Agree @pvary, but since it's always better to have object equal check 
instead of reference equality. 
   
   > Could we solve your original issue in another way?
   It's the same since I'm using my own TableOperations where commit can cause 
to commit the same data again. I thought instead of reference check we can go 
with actual object equal check. 
   With the current behavior we will create the new metadata file even with 
same metadata. I didn't added the changes() since it can be empty while reading 
from the metadata.json file and added all the necessary fields to make the two 
metadata objects differ


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