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


##########
docs/en/connector-v2/source/FtpFile.md:
##########
@@ -106,12 +106,12 @@ Whether to enable remote host verification for FTP data 
channels, default is `tr
 
 ### file_filter_pattern [string]
 
-Filter pattern, which used for filtering files.
+Filter pattern, which used for filtering files.  If you only want to filter 
based on file names, simply write the regular file names; If you want to filter 
based on the file directory at the same time, the expression needs to start 
with `path`.
 
 The pattern follows standard regular expressions. For details, please refer to 
https://en.wikipedia.org/wiki/Regular_expression.
 There are some examples.
 
-File Structure Example:
+If the `path` is `/data/setunnel`, and the file structure example is:

Review Comment:
   ditto



##########
docs/en/connector-v2/source/HdfsFile.md:
##########
@@ -118,12 +118,12 @@ default `\n`
 
 ### file_filter_pattern [string]
 
-Filter pattern, which used for filtering files.
+Filter pattern, which used for filtering files.  If you only want to filter 
based on file names, simply write the regular file names; If you want to filter 
based on the file directory at the same time, the expression needs to start 
with `path`.
 
 The pattern follows standard regular expressions. For details, please refer to 
https://en.wikipedia.org/wiki/Regular_expression.
 There are some examples.
 
-File Structure Example:
+If the `path` is `/data/setunnel`, and the file structure example is:

Review Comment:
   ditto



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