*[MySQL → BigQuery replication issue: date fields ...
# replication-troubleshooting
l
[MySQL → BigQuery replication issue: date fields replaced by NULL (
DESTINATION_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`:
Copy code
{
  "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 !!
k
This issue—where MySQL date/datetime fields are replaced by NULL in BigQuery with a `DESTINATION_SERIALIZATION_ERROR`—has been reported by other Airbyte users. The
_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.
d
Hi I have the same issue! Did you get the help?
l
Hi, no, the answers didn't help me solve the problem, especially since I use Airbyte Cloud, so I can't force the types myself. I have to go through support, which takes 5-6 days to respond. Unfortunately, I'm going to try to bypass Airbyte for this connection because I have too many problems with BigQuery
d
I have airbyte cloud too and we were planning to use this connection to transfer our analytics data. But if it doesn't work I see no point....
Have you tries to roll back to the previous version of BigQuery Destination? I can't find how to do it:(
l
From what I understand, it's not possible to do it with Airbyte Cloud without going through support 😥
😢 1
d
thank you for the answer
j
make sure to put a support ticket in with Cloud-related issues, as Slack isn't an official support channel for them (although sometimes they'll respond on here when they see things). They should be able to escalate from there. Also often worth checking GitHub issues, but in this case I don't see anything landed there yet
d
Hi Justin! I created support issue several hours ago and I saw Louis added thread to github. None of them got responds yet, but for me this issue is critical:(
l
Yes, thank you for the advice. I have already sent an email to support and to someone at Airbyte, but they are not very quick to respond.
j
We're heavy BigQuery destination users (on OSS though) and not seeing this . . . are you both using the MySQL source?
l
Yes for me
d
Yes and in raw airbyte data I receive dates \"created_at\": \"2025-09-08 201900\" so it successfully imported from the source. The issue is when parsing it to bigquery schema
Louis, did you do any schema update on the day you catched this issue?
j
I'd also be curious if this is CDC mode or normal syncs
I know that sometimes you need to pass
zerodatetimebehavior=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 datetimes
d
We don't use CDC but datetime cursors. and actually it keeps working just fine. null datetime values in BQ is the only issue I think if it was about zero-date it should affect only such cases, but we don't have it
l
@Diana Kot After quite a few exchanges, I have just received confirmation that the problem has been resolved on Airbyte's end ✅
🙌 1
d
@Louis Demet me too! Happy it's finally resolved:)
j
Did they happen to give any details about who was affected or what the issue was that might be useful to other people searching here after seeing failures? One thing I've learned is that Airbyte Cloud runs more of a CI/CD flow, so changes land there first. But their system does canary the changes before rolling them out to everyone and monitor error rates and such. So I'm curious if there was some unique factor that made this not show up in the initial rollout
d
Hi, no, there were no details, so I think it was not possible to resolve without the tech support.
t
Hey guys, we are having the same issue (using Airbyte OSS). We are getting:
Copy code
{
  "_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?
d
Hi Tomas, it was solved for me and Louis
t
Thanks Diana. I see that we are using the last version of Airbyte OSS, so there is no solution for us I guess. Are you all using Airbyte Cloud?
l
Hello Thomas, yes Airbyte Cloud for me
I checked my version of BigQuery and it corresponds to the version dated 09/02/2025. However, the problem was resolved after that date, so I don't know what was fixed or where it was fixed.
t
I am having issues with a connector between MariaDB >> S3, so I am not using Bigquery. Looks like the Mysql connector is not 100% useful for MariaDB databases.
d
@Tomas Baidal the problem we faced was not on BQ side but wit MySQL connector. So you need to report it to support and ask them to update your connections for MySQL