jqin61 commented on code in PR #569: URL: https://github.com/apache/iceberg-python/pull/569#discussion_r1597063514
########## pyiceberg/table/__init__.py: ########## @@ -434,6 +460,8 @@ def overwrite( if table_arrow_schema != df.schema: df = df.cast(table_arrow_schema) + self.delete(delete_filter=overwrite_filter, snapshot_properties=snapshot_properties) + with self.update_snapshot(snapshot_properties=snapshot_properties).overwrite() as update_snapshot: Review Comment: Does it make more sense to use self.update_snapshot(snapshot_properties=snapshot_properties).append() here since the overwrite already happens inside of self.delete() -- 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