Xuanwo commented on code in PR #1230: URL: https://github.com/apache/iceberg-rust/pull/1230#discussion_r2051957284
########## 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: Seems typo? -- 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