Louis Demet
09/09/2025, 8:55 AMDESTINATION_SERIALIZATION_ERROR)]
Hi everyone,
I’ve been running a MySQL → BigQuery replication with Airbyte for months without issues, but since a few days I’ve noticed that date/datetime fields are being progressively replaced with NULL in BigQuery.
Example from `_airbyte_meta`:
{
"changes": [
{
"change": "NULLED",
"field": "checkout_completed_at",
"reason": "DESTINATION_SERIALIZATION_ERROR"
},
{
"change": "NULLED",
"field": "created_at",
"reason": "DESTINATION_SERIALIZATION_ERROR"
},
{
"change": "NULLED",
"field": "updated_at",
"reason": "DESTINATION_SERIALIZATION_ERROR"
}
],
"sync_id": 49221008
}
The source values in MySQL are valid (e.g. 2025-07-30 14:22:03), so it seems Airbyte fails to serialize them properly when inserting into BigQuery. This was working fine for weeks before suddenly starting to fail.
Does this ring a bell for anyone ? Any known fixes or workarounds ?
Thaaanks !!kapa.ai
09/09/2025, 8:55 AM_airbyte_meta field showing "change":"NULLED" and "reason":"DESTINATION_SERIALIZATION_ERROR" indicates that Airbyte encountered a serialization problem when writing those fields to BigQuery, even though the source values are valid. Possible causes and context from the knowledge sources: - Schema or Format Mismatch: There have been several reports of date/datetime fields being nulled or converted to strings in BigQuery, often after connector or Airbyte upgrades. For example, one user noted that after replication, all date columns changed to STRING except for the Airbyte emitted at column, and there was no clear solution other than investigating the source schema and connector versions involved. The support response requested more details about the source schema and datatypes, suggesting that mismatches or unexpected formats can cause this behavior, especially if the source or destination connector versions changed recently or if the schema evolved in a way that Airbyte's normalization or typing logic can't handle cleanly [BigQuery destination field data type](https://discuss.airbyte.io/t/2507). - Connector Version Issues: There are known issues where connector updates or mismatches between source and destination connector versions can cause type handling bugs. For example, a BigQuery destination update once caused the _airbyte_emitted_at field to change from TIMESTAMP to STRING, breaking syncs until the connector was rolled back [Destination Bigquery: Field _airbyte_emitted_at has changed type from TIMESTAMP to STRING](https://discuss.airbyte.io/t/60). - Timezone and Format Handling: There are also cases where timezone or date format mismatches between MySQL and BigQuery cause serialization errors. For example, if the MySQL source is using a timezone or date format that BigQuery doesn't accept, or if the connector expects RFC 3339 format but receives something else, fields may be nulled [Replication errors incorrect date format](https://github.com/airbytehq/airbyte/issues/47713). - Recent Changes or Bugs: If this issue started suddenly after working for weeks, consider whether there was a recent Airbyte or connector upgrade, or a schema change in your MySQL source. There have been cases where connector updates introduced bugs in date/datetime handling, which were later fixed or required a rollback [BigQuery destination field data type](https://discuss.airbyte.io/t/2507). What you can do: 1. Check Connector Versions: Review if either the MySQL source or BigQuery destination connector was recently updated. If so, try rolling back to the previous working version to see if the issue resolves. 2. Inspect Source Data and Schema: Double-check that the MySQL date/datetime fields are consistently formatted and do not contain edge cases (e.g., zero dates like 0000-00-00, which are known to cause issues and be nulled by Airbyte [Sync Stops / Infinite Hanging on UI - Out of Memory because of Zero Dates in Table Column](https://github.com/airbytehq/airbyte/issues/51014)). 3. Review Airbyte Logs: Look for specific serialization errors in the Airbyte logs for the affected syncs. The logs may indicate if a particular value or format is causing the failure. 4. Check for Open Issues: There are ongoing and past issues related to date/datetime serialization in Airbyte. If your case matches a known bug, consider upvoting or commenting on the relevant GitHub issue to help prioritize a fix. 5. Temporary Workaround: If urgent, you may be able to work around the issue by casting date/datetime fields to strings in MySQL, or by using a previous connector version that handled the fields correctly. Summary: This is a known class of issue in Airbyte, often related to connector version changes, schema mismatches, or edge-case date values. Review recent changes, check your connector versions, and inspect your source data for problematic values. If the problem persists, consider rolling back to a previous connector version or reaching out on the Airbyte forums with detailed logs and schema information for further assistance. If you have more details (e.g., connector versions, recent changes, or sample logs), sharing them may help pinpoint the root cause more precisely.Diana Kot
09/09/2025, 9:39 AMLouis Demet
09/09/2025, 9:44 AMDiana Kot
09/09/2025, 9:45 AMDiana Kot
09/09/2025, 10:23 AMLouis Demet
09/09/2025, 10:34 AMDiana Kot
09/09/2025, 10:53 AMJustin Beasley
09/09/2025, 1:35 PMDiana Kot
09/09/2025, 2:12 PMLouis Demet
09/09/2025, 2:12 PMJustin Beasley
09/09/2025, 2:13 PMLouis Demet
09/09/2025, 2:13 PMDiana Kot
09/09/2025, 2:14 PMDiana Kot
09/09/2025, 2:28 PMJustin Beasley
09/09/2025, 2:30 PMJustin Beasley
09/09/2025, 2:37 PMzerodatetimebehavior=Converttonull in the JDBC parameters field on the source, but that should only affect MySQL's zero-date (0000-00-00 00:00:00) value, not normal datetimesDiana Kot
09/09/2025, 2:55 PMLouis Demet
09/11/2025, 12:04 PMDiana Kot
09/11/2025, 12:25 PMJustin Beasley
09/11/2025, 1:53 PMDiana Kot
09/11/2025, 3:46 PMTomas Baidal
09/22/2025, 1:08 PM{
"_airbyte_extracted_at": "2025-09-22 12:34:45.201",
"_airbyte_generation_id": 298,
"_airbyte_meta": {
"changes": [
{
"change": "NULLED",
"field": "cart_created_at",
"reason": "DESTINATION_SERIALIZATION_ERROR"
}
}
Is this issue solve in Airbyte Cloud or you still have the issue?Diana Kot
09/22/2025, 1:09 PMTomas Baidal
09/22/2025, 1:17 PMLouis Demet
09/22/2025, 3:50 PMLouis Demet
09/22/2025, 3:52 PMTomas Baidal
09/22/2025, 6:04 PMDiana Kot
09/23/2025, 9:13 AM