liurenjie1024 commented on code in PR #1230:
URL: https://github.com/apache/iceberg-rust/pull/1230#discussion_r2051989294
##########
crates/iceberg/src/io/file_io.rs:
##########
@@ -331,10 +331,17 @@ impl OutputFile {
}
/// Checks if file exists.
- pub async fn exists(&self) -> crate::Result<bool> {
+ pub async fn exists(&self) -> Result<bool> {
Ok(self.op.exists(&self.path[self.relative_path_pos..]).await?)
}
+ /// Deletes file.
+ ///
+ /// If the file does not exist, it will return not return error.
Review Comment:
Fixed.
--
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]