CTTY commented on code in PR #1523:
URL: https://github.com/apache/iceberg-rust/pull/1523#discussion_r2217167604
##########
crates/catalog/glue/src/catalog.rs:
##########
@@ -395,10 +395,7 @@ impl Catalog for GlueCatalog {
.metadata;
let metadata_location = create_metadata_location(&location, 0)?;
- self.file_io
- .new_output(&metadata_location)?
- .write(serde_json::to_vec(&metadata)?.into())
- .await?;
+ TableMetadata::write(&self.file_io, &metadata,
&metadata_location).await?;
Review Comment:
I also found `MetadataLocation` proposed
[here](https://github.com/apache/iceberg-rust/pull/1405/files#diff-202adb538eb8bce001ab1109cd54b3fc4a607cbee4171aa6cb3f67d92718c453R330)
quite interesting:
Would love to hear more thoughts about it
--
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]