<@U04S8PLJWMT>, first (earliest) record in our por...
# ask-ai
n
@kapa.ai, first (earliest) record in our portgres to bq connection has timestamp _ab_cdc_updated_at column is this format 2025-10-20T101127.234311841Z while the rest are like this 2025-10-20T104234.113Z what might be the reason?
k
New message text here
n
@kapa.ai, is there a way to fix this on airbyte level?
k
A message from kapa.ai
Based on the available knowledge sources, there is no explicit, documented way in Airbyte to enforce consistent timestamp precision (e.g., always milliseconds or always nanoseconds) across all records in the
_ab_cdc_updated_at
column for a Postgres to BigQuery connection. The issue of inconsistent timestamp precision is known and has been discussed in the Airbyte community and GitHub issues. For example, [this issue](https://github.com/airbytehq/airbyte/issues/8904) highlights that some destinations, including BigQuery, may not fully support nanosecond precision, and normalization or connector logic may reduce precision to milliseconds or seconds. The issue tracker suggests that improvements are planned or in progress, but there is no mention of a user-configurable setting to control this behavior at the Airbyte level. If you require consistent timestamp precision, you may need to handle this normalization downstream in your data warehouse or processing pipeline until Airbyte provides a built-in solution. You can also monitor or contribute to the relevant GitHub issues to track progress or request this feature. In summary: I'm sorry, but the knowledge sources do not describe a built-in Airbyte setting to enforce consistent timestamp precision for CDC syncs. This remains an open area for improvement in Airbyte's handling of timestamps between sources and destinations like BigQuery. [Destinations should support timestamp with millisecond precision](https://github.com/airbytehq/airbyte/issues/8904)
n
@kapa.ai so why this issue appears only for the initial load?
k
A message from kapa.ai
The issue of higher timestamp precision (e.g., nanoseconds) appearing only for the initial load in Airbyte CDC syncs is due to how Airbyte handles the initial snapshot versus subsequent CDC events: - Initial Load (Snapshot): The very first sync takes a snapshot of the current state of the data using a
SELECT
statement. This snapshot can capture the full native precision of the Postgres timestamp, which can include nanoseconds. - Subsequent CDC Events: After the initial snapshot, Airbyte reads changes from the database's transaction log (WAL). During this process, the timestamp precision may be reduced—often to milliseconds—due to how the CDC connector, normalization, or the destination (like BigQuery) handles or stores these values. This reduction in precision is a known issue and has been discussed in the Airbyte community, especially for destinations that do not support nanosecond precision or where normalization logic truncates the value [Destinations should support timestamp with millisecond precision](https://github.com/airbytehq/airbyte/issues/8904). In summary: The initial load uses a direct query and preserves full timestamp precision, while CDC events may lose precision due to connector or destination limitations. This is why you see the issue only for the initial load.