lvyanquan commented on code in PR #3590:
URL: https://github.com/apache/flink-cdc/pull/3590#discussion_r2354216201
##########
flink-cdc-connect/flink-cdc-pipeline-connectors/flink-cdc-pipeline-connector-mysql/src/main/java/org/apache/flink/cdc/connectors/mysql/source/parser/CustomAlterTableParserListener.java:
##########
@@ -76,6 +77,29 @@ public CustomAlterTableParserListener(
this.changes = changes;
}
+ @Override
+ public void exitCopyCreateTable(MySqlParser.CopyCreateTableContext ctx) {
+ TableId tableId =
parser.parseQualifiedTableId(ctx.tableName(0).fullId());
+ TableId originalTableId =
parser.parseQualifiedTableId(ctx.tableName(1).fullId());
+ Table original = parser.databaseTables().forTable(originalTableId);
Review Comment:
The original sql was already filtered by table name in
https://github.com/apache/flink-cdc/blob/32ec9f57e6be7f8152d5e27cbf2423dc23055b6b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/io/debezium/connector/mysql/MySqlStreamingChangeEventSource.java#L660
--
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]