nastra commented on code in PR #9234: URL: https://github.com/apache/iceberg/pull/9234#discussion_r1422342150
########## core/src/main/java/org/apache/iceberg/TableMetadata.java: ########## @@ -1384,7 +1386,9 @@ public Builder setPreviousFileLocation(String previousFileLocation) { private boolean hasChanges() { return changes.size() != startingChangeCount || (discardChanges && !changes.isEmpty()) - || metadataLocation != null; + || metadataLocation != null + || suppressHistoricalSnapshots + || null != snapshotsSupplier; Review Comment: this is for the client-side so that it doesn't exit early in https://github.com/apache/iceberg/blob/f19643a93f5dac99bbdbc9881ef19c89d7bcd3eb/core/src/main/java/org/apache/iceberg/rest/RESTSessionCatalog.java#L359-L368 -- 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-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org