You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "haruki-830 (via GitHub)" <gi...@apache.org> on 2026/07/17 09:31:36 UTC
[PR] [FLINK-40161] Log original MySQL DDL events before parsing [flink-cdc]
haruki-830 opened a new pull request, #4478:
URL: https://github.com/apache/flink-cdc/pull/4478
#### Summary
This commit adds logging for original MySQL DDL events before they are parsed by the Flink CDC MySQL source. When DDL parsing fails, users can now find the original DDL statement together with its binlog coordinates in the logs, making troubleshooting easier.
#### Key Changes
1. Log Original MySQL DDL Events
- Added info-level logging in `MySqlStreamingChangeEventSource` before calling `parseStreamingDdl(...)`.
- Logs the database name and original DDL SQL.
- Logs binlog file name and event start/end positions when the event header provides them.
2. Keep ROLLBACK Handling Separate
- Keeps the existing dedicated warning path for `ROLLBACK`.
- Avoids logging `ROLLBACK` as a DDL event because it is not a schema change.
#### JIRA Reference
[https://issues.apache.org/jira/browse/FLINK-40161](url)
--
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-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [FLINK-40161] Log original MySQL DDL events before parsing [flink-cdc]
Posted by "lvyanquan (via GitHub)" <gi...@apache.org>.
lvyanquan merged PR #4478:
URL: https://github.com/apache/flink-cdc/pull/4478
--
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-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [FLINK-40161] Log original MySQL DDL events before parsing [flink-cdc]
Posted by "haruki-830 (via GitHub)" <gi...@apache.org>.
haruki-830 commented on PR #4478:
URL: https://github.com/apache/flink-cdc/pull/4478#issuecomment-5001719198
@lvyanquan PTAL.THANKS!
--
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-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org