Kaique G. Viana
07/30/2025, 4:44 PMkapa.ai
07/30/2025, 4:44 PMKaique G. Viana
07/30/2025, 4:50 PMkapa.ai
07/30/2025, 4:50 PMkapa.ai
07/30/2025, 4:50 PMSET STATEMENT max_statement_time=60 FOR flush table is not recognized by Debezium's parser. This type of error is similar to other known issues where Debezium fails to parse certain DDL statements, such as ALTER USER ... DISCARD OLD PASSWORD or ALTER USER ... RETAIN CURRENT PASSWORD statements, which have also been reported to cause sync failures or warnings in Airbyte [Sync fails upon encountering ALTER USER DISCARD OLD PASSWORD statement in binlog](https://github.com/airbytehq/airbyte/issues/48497), [DDL statement couldn't be parsed](https://github.com/airbytehq/airbyte/issues/50865). In most cases, these errors are logged as warnings and the statement is ignored, but if the statement is critical or if Debezium cannot recover, it may cause the sync to fail. The root cause is that Debezium's MySQL DDL parser does not support all possible MySQL statements, especially those that are less common or specific to certain MySQL/MariaDB versions. What you can do: - If the sync continues despite the warning, you may be able to ignore it, as Debezium is designed to skip unparseable DDLs that do not affect the replicated tables. - If the sync fails, you may need to avoid running such statements on your source database during CDC syncs, or consider filtering them out of the binlog if possible. - Upgrading to the latest Airbyte and connector versions may help, as parser support is improved over time. - If this is blocking your sync and you need support for this DDL, you may need to open an issue with Airbyte or Debezium, as suggested in the error message. This is a known limitation with Debezium-based connectors and unparseable DDL statements in the MySQL binlog. If you continue to encounter issues, please provide the full logs and connector versions for further troubleshooting.