yzeng1618 commented on code in PR #9380:
URL: https://github.com/apache/seatunnel/pull/9380#discussion_r2131439620


##########
docs/en/connector-v2/source/Jdbc.md:
##########
@@ -73,6 +73,49 @@ supports query SQL and can achieve projection effect.
 | split.string_split_mode                    | String  | No       | sample     
     | Supports different string splitting algorithms. By default, `sample` is 
used to determine the split by sampling the string value. You can switch to 
`charset_based` to enable charset-based string splitting algorithm. When set to 
`charset_based`, the algorithm assumes characters of partition_column are 
within ASCII range 32-126, which covers most character-based splitting 
scenarios.                                                                      
                                                                                
                                                                                
              |
 | split.string_split_mode_collate            | String  | No       | -          
     | Specifies the collation to use when string_split_mode is set to 
`charset_based` and the table has a special collation. If not specified, the 
database's default collation will be used.                                      
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
      |
 
+### Table Matching
+
+The JDBC Source connector supports two ways to specify tables:
+
+1. **Exact Table Path**: Use `table_path` to specify a single table with its 
full path.
+   ```hocon
+   table_path = "testdb.table1"
+   ```
+
+2. **Regular Expression**: Use `table_path` with a regex pattern to match 
multiple tables.
+   ```hocon
+   table_path = "testdb.table\\d+"  # Matches table1, table2, table3, etc.
+   ```
+
+#### Regular Expression Support
+
+The JDBC Source connector supports regular expressions for table matching. 
This is useful when you want to read multiple tables that follow a specific 
naming pattern.
+
+Examples:
+- `testdb.table+` - Matches all tables starting with "table" followed by 
numbers
+- `testdb.*` - Matches all tables in the `testdb` database

Review Comment:
   The regular expression testdb.* will only match all the tables in the testdb 
database and will not match the testdb2 database.



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