SteNicholas commented on code in PR #1448:
URL: https://github.com/apache/paimon-rust/pull/1448#discussion_r4665171314


##########
crates/paimon/src/io/file_io.rs:
##########
@@ -958,7 +1014,7 @@ impl FileIO {
             }
         }
         let source = self.file_source(path)?;
-        let (op, relative_path, _) = source.resolve(path).await?;
+        let (op, relative_path, cache_path) = source.resolve(path).await?;

Review Comment:
   Fixed in `d1314eb3`. On a native `file:` mount, ordinary `CREATE TABLE` 
falls back to the plain OpenDAL write when `persist_noclobber` reports 
`Unsupported`. CTAS requires atomic, no-overwrite publication. Staging failures 
and uncertain publication outcomes propagate to the caller.
   
   The regressions inject the mount error at the native publish step. They 
verify that optional publication writes `schema-0`, required publication leaves 
it absent on `Unsupported`, and a timeout after `schema-0` becomes visible 
still returns an error. [Regression 
tests](https://github.com/SteNicholas/paimon-rust/blob/d1314eb3c618e5c506ccbec02470637e7ecd43b8/crates/paimon/src/io/file_io.rs#L4653-L4724)
   



-- 
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]

Reply via email to