yzeng1618 commented on issue #10565:
URL: https://github.com/apache/seatunnel/issues/10565#issuecomment-4020870574

   In older versions such as 2.3.8 and 2.3.11, `file_filter_pattern` actually 
only matches file names instead of full paths. As a result, writing the full 
path will almost always fail to match any files.
   
   In the subsequent fixed versions, support was added for the following 
matching rule: if the pattern starts with the value of `path`, the match will 
be performed against the full path; otherwise, it will only match file names. 
The main PRs involved in this fix are:
   - https://github.com/apache/seatunnel/pull/10049
   - https://github.com/apache/seatunnel/pull/10268
   
   #### Current Temporary Workaround
   Configuration example:
   ```properties
   path = "/opt/module/qingyang"
   file_filter_pattern = ".*\\.pdf"
   ```
   


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