zhangshenghang commented on code in PR #10049:
URL: https://github.com/apache/seatunnel/pull/10049#discussion_r2533988083
##########
seatunnel-connectors-v2/connector-file/connector-file-base/src/main/java/org/apache/seatunnel/connectors/seatunnel/file/source/reader/AbstractReadStrategy.java:
##########
@@ -118,7 +119,7 @@ public List<String> getFileNamesByPath(String path) throws
IOException {
if (fileStatus.isDirectory()) {
// skip hidden tmp directory, such as .hive-staging_hive
if (!fileStatus.getPath().getName().startsWith(".")) {
-
fileNames.addAll(getFileNamesByPath(fileStatus.getPath().toString()));
+
fileNames.addAll(getFileNamesByPath(fileStatus.getPath().toUri().getPath()));
Review Comment:
Will there be any problem with this change? If the file path is this:
`s3a://my-bucket/data/2025/11/report.csv`, is there a problem with it?
--
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]