zhijia3278 opened a new issue, #7887:
URL: https://github.com/apache/seatunnel/issues/7887

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22bug%22)
 and found no similar issues.
   
   
   ### What happened
   
   When I use the localfile, I need to filter some files, but the current 
documentation does not provide detailed instructions on how to configure the 
file_filter_mattern property of the connector, which has caused me to 
continuously fail to filter files
   
   ### SeaTunnel Version
   
   V2.3.7
   
   ### SeaTunnel Config
   
   ```conf
   env {
     parallelism = 1
     job.mode = "BATCH"
   }
   
   source {
     LocalFile {
       path = "/seatunnel/read/"
       file_format_type = "csv"
       skip_header_row_number = 1
       // file example abcD2024.csv
       file_filter_pattern = "abc*"
     }
   }
   sink {
     Console {
     }
   }
   ```
   
   
   ### Running Command
   
   ```shell
   ./bin/seatunnel.sh --config job/test.config -e local
   ```
   
   
   ### Error Exception
   
   ```log
   Unable to filter out files
   ```
   
   
   ### Zeta or Flink or Spark Version
   
   Zeta
   
   ### Java or Scala Version
   
   _No response_
   
   ### Screenshots
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


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