You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Ruan Hang (Jira)" <ji...@apache.org> on 2024/08/08 06:42:00 UTC
[jira] [Commented] (FLINK-35432) Support catch modify-event for mysql-cdc
[ https://issues.apache.org/jira/browse/FLINK-35432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17871875#comment-17871875 ]
Ruan Hang commented on FLINK-35432:
-----------------------------------
fix via master(3.2-SNAPSHOT): 21fade0e22155b82fa9560afde8a55dfd3c65a53
> Support catch modify-event for mysql-cdc
> ----------------------------------------
>
> Key: FLINK-35432
> URL: https://issues.apache.org/jira/browse/FLINK-35432
> Project: Flink
> Issue Type: Improvement
> Components: Flink CDC
> Affects Versions: cdc-3.1.0
> Reporter: hk__lrzy
> Assignee: hk__lrzy
> Priority: Major
> Labels: pull-request-available
>
> Now users common use sql like to modify the column type in MySQL.
> {code:java}
> Alter table MODIFY COLUMN `new_name` new_type{code}
>
> Flink-CDC use *CustomAlterTableParserListener* to parse the ddl and wrap it as ChangeEevent now. But i noticed that *CustomAlterTableParserListener* not implement the method *enterAlterByModifyColumn* and {*}exitAlterByModifyColumn{*}, and it will cause we can't received the *AlterColumnTypeEvent* now
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)