LiJie20190102 commented on code in PR #10049:
URL: https://github.com/apache/seatunnel/pull/10049#discussion_r2540612085
##########
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:
Sorry, after careful consideration, this is the area where I adapted the
code previously modified, and this code can be left unchanged
--
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]