SML0127 commented on code in PR #4104:
URL: https://github.com/apache/flink-cdc/pull/4104#discussion_r2328623613


##########
docs/content/docs/connectors/pipeline-connectors/mysql.md:
##########
@@ -293,6 +293,17 @@ pipeline:
           scan.binlog.newly-added-table.enabled: only do binlog-reading for 
newly added table during binlog reading phase.
       </td>
     </tr>
+    <tr>
+      <td>scan.snapshot.filters</td>
+      <td>optional</td>
+      <td style="word-wrap: break-word;">(none)</td>
+      <td>String</td>
+      <td>When reading a table snapshot, the rows of captured tables will be 
filtered using the specified filter expression (AKA a SQL WHERE clause). <br>
+          By default, no filter is applied, meaning the entire table will be 
synchronized. <br>
+          A colon (:) separates table name and filter expression, while a 
semicolon (;) separate multiple filters, 
+          e.g. `db1.user_table_[0-9]+:id > 100;db[1-2].[app|web]_order_\\.*:id 
< 0;`.
+      </td>
+    </tr>

Review Comment:
   How about explicitly stating that the filter conditions are combined using 
`AND` and that it has nothing to do with the binlog step?



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