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


##########
seatunnel-connectors-v2/connector-cdc/connector-cdc-sqlserver/src/main/java/io/debezium/connector/sqlserver/SqlServerConnection.java:
##########
@@ -705,6 +705,20 @@ public Table getTableSchemaFromTable(String databaseName, 
SqlServerChangeTable c
                         changeTable.getSourceTableId().table(),
                         null)) {
             while (rs.next()) {
+                // `tableNamePattern` is treated as a SQL LIKE pattern by many 
drivers, so filter

Review Comment:
   This is not a SQL Server-specific case; it is caused by the pattern 
semantics of JDBC getColumns combined with differences in driver 
implementations.
   The reason SqlServerConnection.java appears in the PR is that SQL Server CDC 
follows a separate code path in Debezium and does not reuse SeaTunnel’s JDBC 
CatalogUtils or JdbcDialectTypeMapper. Therefore, the same protection logic 
must also be applied to the CDC code path.



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