QuakeWang commented on code in PR #101:
URL: https://github.com/apache/paimon-rust/pull/101#discussion_r2872665332


##########
crates/paimon/src/io/file_io.rs:
##########
@@ -137,7 +138,7 @@ impl FileIO {
             statuses.push(FileStatus {
                 size: meta.content_length(),
                 is_dir: meta.is_dir(),
-                path: entry.path().to_string(),
+                path: format!("{base_path}{}", entry.path()),

Review Comment:
   @luoyuxia Thanks for the comment. `entry.path()` in OpenDAL is relative to 
operator root, while `FileStatus.path` here is expected to preserve the 
original FileIO path prefix (e.g., `memory:/` or
     `file:/`) for consistency with `get_status` and follow-up FileIO 
operations. `normalize_path` applies to Operator input paths, not to 
`Entry::path()` output.



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