malon64 commented on PR #4496: URL: https://github.com/apache/iceberg-python/pull/4496#issuecomment-7357754781
Thanks for the test ! Java rejects this because it checks that no snapshot has a sequence number above last-sequence-number when it builds the metadata (indexAndValidateSnapshots). PyIceberg doesn't have that check, so the stale replace goes through. I'll port it to the AddSnapshot validation, which covers other branches too. The main assertion stays so the common case still fails with a clean CommitFailedException -- 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]
