Raihan Fathul Bayan
08/22/2025, 8:22 AMkapa.ai
08/22/2025, 8:22 AMRaihan Fathul Bayan
08/22/2025, 8:29 AMkapa.ai
08/22/2025, 8:29 AMkapa.ai
08/22/2025, 8:29 AMTinyIntOneToBooleanConverter (such as via a boolean.selector or similar setting) for the MySQL CDC connector. The default behavior is to treat MySQL TINYINT(1) as boolean, and this is hardcoded in the connector’s implementation. Users have reported that even when setting JDBC parameters like tinyInt1isBit=False, the CDC process (Debezium) still interprets TINYINT(1) as boolean during change event streaming, leading to type mismatches in the destination ([Github Issue: MySQL CDC still in boolean when destination boolean](https://github.com/airbytehq/airbyte/issues/42476), [Forum: MySql Source Connector type tinyint(1)](https://discuss.airbyte.io/t/2171)). Workarounds: - Incremental (non-CDC) + Full Refresh: Yes, using standard Incremental sync (not CDC) with periodic Full Refresh | Overwrite is a recommended workaround if you cannot change the source type and need to preserve numeric values. However, this approach does not capture deletes and may not be suitable for large tables or high-frequency changes ([Incremental Sync - Append: Known Limitations](https://docs.airbyte.com/platform/using-airbyte/core-concepts/sync-modes/incremental-append#known-limitations)). - Change Source Type: The most robust solution is to alter the source schema to use a different type (e.g., TINYINT(2) or higher) for columns that should remain numeric. If a fork is required: The knowledge sources do not provide explicit instructions on where to inject custom Debezium configuration in the Airbyte MySQL source connector. However, users have noted that the conversion is handled by Debezium’s configuration within the connector, and modifying this would require changes in the connector’s codebase, specifically in how Debezium is initialized and which converters are registered ([Github Issue: MySQL CDC still in boolean when destination boolean](https://github.com/airbytehq/airbyte/issues/42476)). There is no documentation on supporting a boolean.selector or similar override in the current Airbyte OSS implementation. Summary: - There is no connector-level config to disable Debezium’s TinyIntOneToBooleanConverter in Airbyte OSS. - The recommended workaround is to use Incremental (non-CDC) + Full Refresh, or change the source column type. - If you must fork, you would need to modify the Debezium initialization in the MySQL source connector, but the exact injection point is not documented in the provided sources. If you need more detailed guidance on forking, you may need to consult the Airbyte or Debezium source code directly, as the knowledge sources do not cover this in detail.