HonahX commented on code in PR #140: URL: https://github.com/apache/iceberg-python/pull/140#discussion_r1426238613
########## pyiceberg/catalog/glue.py: ########## @@ -177,6 +191,23 @@ def _create_glue_table(self, database_name: str, table_name: str, table_input: T except self.glue.exceptions.EntityNotFoundException as e: raise NoSuchNamespaceError(f"Database {database_name} does not exist") from e + def _update_glue_table(self, database_name: str, table_name: str, table_input: TableInputTypeDef, version_id: str) -> None: + try: + self.glue.update_table(DatabaseName=database_name, TableInput=table_input, VersionId=version_id) Review Comment: Thanks for the great suggestion! Yes, I think we want to default `SkipArchive` to `TRUE` to avoid the same issue we saw in java: https://github.com/apache/iceberg/pull/6916 -- 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