Skip to content

source-salesforce/destination-bigquery: Normalization failed with SyncMode Incremental Deduped+History #28264

Open
@ghost

Description

Connector Name

source-salesforce

Connector Version

2.1.0

What step the error happened?

During the sync

Revelant information

Airbyte OSS version 0.50.7 running on GCP VM
source-salesforce version 2.1.0 using Salesforce Sandbox
destination-bigquery version 1.5.1 using GCS Staging

I am running a sync between Salesforce and BigQuery with SyncMode Incremental Deduped+History and the sync fails while normalization. The log states that "2023-07-12 12:18:14 source > Finished syncing SourceSalesforce" and the data arrives in GCS. The airbyte_raw tables are filled with data too but the normalized tables are empty in BigQuery. The sync with Salesforce, GCS and airbyte_raw data transfer seems to be working but the nomalization part fails.

I tested syncing in SyncMode full-refresh overwrite and the sync and normalization worked.

The log delivers another error "$.SystemModstamp: 2023-07-11T11:07:16.000+0000 is an invalid date-time". This is the cursor of SyncMode Incremental Deduped+History. I received this invalid date-time error for two streams (Account, Order). I tested removing these two streams but the sync still fails while normalization without the invalid date-time errors but with similar errors -> relevant log output Row 1294-1297.

Here are the failure reasons stated by the Airbyte UI and the log file:

Relevant log output

Rows 933, 934
2023-07-12 12:18:14 WARN i.a.w.i.FieldSelector(lambda$reportMetrics$1):124 - Schema validation errors found for stream _Order. Error messages: [$.LastModifiedDate: 2023-07-12T11:57:06.000+0000 is an invalid date-time, $.LastModifiedDate: 2023-07-12T11:57:07.000+0000 is an invalid date-time, $.LastModifiedDate: 2023-07-12T09:35:46.000+0000 is an invalid date-time, $.LastModifiedDate: 2023-07-10T14:59:51.000+0000 is an invalid date-time, $.CreatedDate: 2021-11-15T16:21:36.000+0000 is an invalid date-time, $.CreatedDate: 2021-11-15T16:21:37.000+0000 is an invalid date-time, $.LastReferencedDate: 2023-04-18T08:56:03.000+0000 is an invalid date-time, $.SystemModstamp: 2023-07-11T11:07:16.000+0000 is an invalid date-time, $.LastModifiedDate: 2023-07-10T06:45:47.000+0000 is an invalid date-time, $.SystemModstamp: 2023-07-12T12:03:03.000+0000 is an invalid date-time, $.SystemModstamp: 2023-07-11T11:29:46.000+0000 is an invalid date-time, $.SystemModstamp: 2023-07-12T11:28:35.000+0000 is an invalid date-time, $.SystemModstamp: 2023-07-11T06:49:24.000+0000 is an invalid date-time, $.CreatedDate: 2021-11-15T16:21:41.000+0000 is an invalid date-time, $.CreatedDate: 2021-11-15T16:21:43.000+0000 is an invalid date-time, $.SystemModstamp: 2023-07-10T08:34:25.000+0000 is an invalid date-time, $.LastViewedDate: 2023-04-18T08:56:03.000+0000 is an invalid date-time, $.CreatedDate: 2021-11-15T16:19:50.000+0000 is an invalid date-time, $.CreatedDate: 2021-11-15T16:20:01.000+0000 is an invalid date-time, $.CreatedDate: 2021-11-16T14:50:43.000+0000 is an invalid date-time, $.CreatedDate: 2021-11-17T16:31:41.000+0000 is an invalid date-time, $.LastModifiedDate: 2023-07-12T11:16:28.000+0000 is an invalid date-time, $.LastReferencedDate: 2023-04-18T05:48:57.000+0000 is an invalid date-time, $.SystemModstamp: 2023-07-12T11:16:28.000+0000 is an invalid date-time, $.SystemModstamp: 2023-07-10T06:45:47.000+0000 is an invalid date-time, $.CreatedDate: 2021-11-17T16:31:50.000+0000 is an invalid date-time, $.SystemModstamp: 2023-07-12T11:57:06.000+0000 is an invalid date-time, $.CreatedDate: 2021-11-15T16:20:16.000+0000 is an invalid date-time, $.SystemModstamp: 2023-07-10T14:59:51.000+0000 is an invalid date-time, $.LastModifiedDate: 2023-07-12T11:12:53.000+0000 is an invalid date-time, $.LastViewedDate: 2023-04-18T05:48:57.000+0000 is an invalid date-time, $.LastModifiedDate: 2023-07-12T11:28:35.000+0000 is an invalid date-time, $.LastModifiedDate: 2023-07-11T11:29:46.000+0000 is an invalid date-time, $.SystemModstamp: 2023-07-12T11:12:53.000+0000 is an invalid date-time, $.LastModifiedDate: 2023-07-10T08:34:25.000+0000 is an invalid date-time, $.LastModifiedDate: 2023-07-11T11:07:16.000+0000 is an invalid date-time, $.SystemModstamp: 2023-07-12T11:57:07.000+0000 is an invalid date-time, $.CreatedDate: 2022-01-31T19:03:01.000+0000 is an invalid date-time, $.LastModifiedDate: 2023-07-11T06:49:24.000+0000 is an invalid date-time, $.SystemModstamp: 2023-07-12T09:35:46.000+0000 is an invalid date-time, $.CreatedDate: 2022-01-07T14:45:28.000+0000 is an invalid date-time, $.LastModifiedDate: 2023-07-12T12:03:03.000+0000 is an invalid date-time]
2023-07-12 12:18:14 WARN i.a.w.i.FieldSelector(lambda$reportMetrics$1):124 - Schema validation errors found for stream _Account. Error messages: [$.SystemModstamp: 2023-07-12T05:30:10.000+0000 is an invalid date-time, $.CreatedDate: 2021-11-15T09:27:26.000+0000 is an invalid date-time, $.LastModifiedDate: 2023-07-12T05:30:10.000+0000 is an invalid date-time]

Rows 1294-1297. This error repeats for all streams.
2023-07-12 12:19:03 normalization > Unhandled error while executing model.airbyte_utils.Domain__c_stg
Pickling client objects is explicitly not supported.
Clients have non-trivial state that is local and unpickleable.
2023-07-12 12:19:03 normalization > 1 of 83 ERROR creating view model _airbyte_salesforce_staging.Domain__c_stg............................................. [ERROR in 1.39s]

Contribute

  • Yes, I want to contribute

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions