LiJie20190102 commented on code in PR #10049:
URL: https://github.com/apache/seatunnel/pull/10049#discussion_r2536023824


##########
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:
   configuration file:
   <img width="801" height="275" alt="image" 
src="https://github.com/user-attachments/assets/0e926607-9fff-498d-a0fd-ae8467e55219";
 />
   Debugging results:
   <img width="1520" height="613" alt="image" 
src="https://github.com/user-attachments/assets/f239591e-8a59-46d5-a570-3639606f478d";
 />
    I think the logic is correct, what do you think?



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