You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| database_pattern | string | no || Specify database filter pattern, the default value is null, which means no filtering. If you want to filter the database name, please set it to a regular expression. |
14
+
| schema_pattern | string | no || Specify schema filter pattern, the default value is null, which means no filtering. If you want to filter the schema name, please set it to a regular expression. |
15
+
| table_pattern | string | no || Specify table filter pattern, the default value is null, which means no filtering. If you want to filter the table name, please set it to a regular expression. |
16
+
| pattern_mode | string | no | INCLUDE | Specify pattern mode, the default value is INCLUDE, which means include the matched table. If you want to exclude the matched table, please set it to EXCLUDE. |
17
+
18
+
## Examples
19
+
20
+
### Include filter tables
21
+
22
+
Include filter tables with the name matching the regular expression `user_\d+` in the database `test`.
23
+
24
+
```hocon
25
+
transform {
26
+
TableFilter {
27
+
plugin_input = "source1"
28
+
plugin_output = "transform_a_1"
29
+
30
+
database_pattern = "test"
31
+
table_pattern = "user_\\d+"
32
+
}
33
+
}
34
+
```
35
+
36
+
### Exclude filter tables
37
+
38
+
Exclude filter tables with the name matching the regular expression `user_\d+` in the database `test`.
0 commit comments