leonardBang commented on code in PR #3590:
URL: https://github.com/apache/flink-cdc/pull/3590#discussion_r1832247695


##########
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:
   Do we need to consider some config options that makes the parser only parse 
captured table list?



-- 
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: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to