zhoujinsong commented on code in PR #3841:
URL: https://github.com/apache/amoro/pull/3841#discussion_r2454327552
##########
amoro-ams/src/main/java/org/apache/amoro/server/utils/RollingFileCleaner.java:
##########
@@ -59,7 +59,24 @@ public void addFile(String filePath) {
}
collectedFiles.add(filePath);
- String parentDir = new
Path(URI.create(filePath).getPath()).getParent().toString();
+ // Preserve the full URI including scheme (e.g., s3://, s3a://, hdfs://)
for S3 and other remote
Review Comment:
Thanks a lot for contributing!
Do you think we should add a util method for it in `TableFileUtil`?
--
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]