soumya-ghosh commented on code in PR #956: URL: https://github.com/apache/iceberg-python/pull/956#discussion_r1688481435
########## pyiceberg/table/__init__.py: ########## @@ -1178,10 +1178,15 @@ def update_table_metadata( """ context = _TableMetadataUpdateContext() new_metadata = base_metadata + new_metadata = new_metadata.model_copy(update={"last_updated_ms": 0}) for update in updates: new_metadata = _apply_table_update(update, new_metadata, context) Review Comment: I think we should check it, if individual `_apply_table_update` is setting last-updated-ms, we should honor it, otherwise set the current time as the value. Personally, the approach in Iceberg (referenced above) seems cleaner to me. -- 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