CTTY commented on code in PR #2080:
URL: https://github.com/apache/iceberg-rust/pull/2080#discussion_r2739394006
##########
crates/iceberg/src/io/file_io.rs:
##########
@@ -433,9 +377,7 @@ impl OutputFile {
/// Calling `write` will overwrite the file if it exists.
/// For continuous writing, use [`Self::writer`].
pub async fn write(&self, bs: Bytes) -> crate::Result<()> {
- let mut writer = self.writer().await?;
- writer.write(bs).await?;
- writer.close().await
+ self.storage.write(&self.path, bs).await
Review Comment:
This seems wrong, will fix 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]