<@U04S8PLJWMT> What can be this error Input was fu...
# ask-ai
k
@kapa.ai What can be this error Input was fully read, but some streams did not receive a terminal stream status message. If the destination did not encounter other errors, this likely indicates an error in the source or platform. Streams without a status message:
k
This error message: > Input was fully read, but some streams did not receive a terminal stream status message. If the destination did not encounter other errors, this likely indicates an error in the source or platform. Streams without a status message: [...] means that Airbyte's destination component finished reading all the data it was supposed to process, but for some streams, it never received a final status update (such as "completed" or "failed") from the source or the platform. This typically suggests that the source connector or the Airbyte platform encountered an issue that prevented it from properly signaling the end of the sync for those streams. If the destination logs do not show other errors, the root cause is likely in the source connector or the Airbyte platform itself, rather than the destination. This can happen, for example, if the source connector crashes, loses network connectivity, or hits an unhandled exception before it can send the required status messages for all streams. In the specific example from the knowledge source, this was observed with the HubSpot source connector, where several streams did not receive a terminal status message, likely due to mid-sync failures or platform issues during large syncs [Mid-sync Auth Failures on Associations Make Contacts Stream Unusable on Large Accounts](https://github.com/airbytehq/airbyte/issues/62467). To resolve this, you should: - Check the source connector logs for errors or crashes. - Look for network issues or authentication failures. - Ensure the source connector is up-to-date and compatible with your Airbyte version. - If the problem persists, consider opening an issue with detailed logs for further investigation. This error is a signal that something interrupted the normal sync process before it could be cleanly finalized for all streams.
k
@kapa.ai I rerun the sync and now I get this error Ignoring unparseable DDL statement 'SET STATEMENT max_statement_time=60 FOR flush table' io.debezium.text.ParsingException: DDL statement couldn't be parsed. Please open a Jira issue with the statement 'SET STATEMENT max_statement_time=60 FOR flush table' no viable alternative at input 'SET STATEMENT max_statement_time'
k
A message from kapa.ai
The error message: > Ignoring unparseable DDL statement 'SET STATEMENT max_statement_time=60 FOR flush table' io.debezium.text.ParsingException: DDL statement couldn't be parsed. Please open a Jira issue with the statement 'SET STATEMENT max_statement_time=60 FOR flush table' > no viable alternative at input 'SET STATEMENT max_statement_time' indicates that the Debezium engine (used by Airbyte for MySQL CDC) encountered a DDL (Data Definition Language) statement in the MySQL binlog that it does not know how to parse. Specifically, the statement
SET 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.