airbytehq / airbyte

The leading data integration platform for ETL / ELT data pipelines from APIs, databases & files to data warehouses, data lakes & data lakehouses. Both self-hosted and Cloud-hosted.
https://airbyte.com
Other
16.09k stars 4.12k forks source link

🐛 Source Zendesk Support: [ticket stream] "via" fields not extracted properly after normalization #8330

Closed asyarif93 closed 2 years ago

asyarif93 commented 2 years ago

Enviroment

Current Behavior

in table tickets item in field via is {"channel":"api","source":{"rel":null,"from":{},"to":{}}} however in table tickets the via field is null

Expected Behavior

in table tickets_custom_fields the value field should be string or json object

Logs

If applicable, please upload the logs from the failing operation. For sync jobs, you can download the full logs from the UI by going to the sync attempt page and clicking the download logs button at the top right of the logs display window.

LOG ``` replace this with your long log output here ```

Queries

Queries ```sql /* {"app": "dbt", "dbt_version": "0.19.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.tickets_scd"} */ create or replace table `d291209`.zendesk_staging.`tickets_scd` OPTIONS() as ( with __dbt__CTE__tickets_ab1 as ( -- SQL model to parse JSON blob stored in a single column and extract into separated field columns as described by the JSON Schema select json_extract_scalar(_airbyte_data, "$['id']") as id, json_extract_scalar(_airbyte_data, "$['url']") as url, json_extract(table_alias._airbyte_data, "$['']") as via, json_extract_array(_airbyte_data, "$['tags']") as tags, json_extract_scalar(_airbyte_data, "$['type']") as type, json_extract_scalar(_airbyte_data, "$['due_at']") as due_at, json_extract_scalar(_airbyte_data, "$['status']") as status, json_extract_scalar(_airbyte_data, "$['subject']") as subject, json_extract_scalar(_airbyte_data, "$['brand_id']") as brand_id, json_extract_scalar(_airbyte_data, "$['group_id']") as group_id, json_extract_scalar(_airbyte_data, "$['priority']") as priority, json_extract_scalar(_airbyte_data, "$['is_public']") as is_public, json_extract_scalar(_airbyte_data, "$['recipient']") as recipient, json_extract_scalar(_airbyte_data, "$['created_at']") as created_at, json_extract_scalar(_airbyte_data, "$['problem_id']") as problem_id, json_extract_scalar(_airbyte_data, "$['updated_at']") as updated_at, json_extract_scalar(_airbyte_data, "$['assignee_id']") as assignee_id, json_extract_scalar(_airbyte_data, "$['description']") as description, json_extract_scalar(_airbyte_data, "$['external_id']") as external_id, json_extract_scalar(_airbyte_data, "$['raw_subject']") as raw_subject, json_extract_array(_airbyte_data, "$['email_cc_ids']") as email_cc_ids, json_extract_array(_airbyte_data, "$['follower_ids']") as follower_ids, json_extract_array(_airbyte_data, "$['followup_ids']") as followup_ids, json_extract_scalar(_airbyte_data, "$['requester_id']") as requester_id, json_extract_scalar(_airbyte_data, "$['submitter_id']") as submitter_id, json_extract_array(_airbyte_data, "$['custom_fields']") as custom_fields, json_extract_scalar(_airbyte_data, "$['has_incidents']") as has_incidents, json_extract_scalar(_airbyte_data, "$['forum_topic_id']") as forum_topic_id, json_extract_scalar(_airbyte_data, "$['ticket_form_id']") as ticket_form_id, json_extract_scalar(_airbyte_data, "$['organization_id']") as organization_id, json_extract_array(_airbyte_data, "$['collaborator_ids']") as collaborator_ids, json_extract_scalar(_airbyte_data, "$['allow_attachments']") as allow_attachments, json_extract_scalar(_airbyte_data, "$['allow_channelback']") as allow_channelback, json_extract_scalar(_airbyte_data, "$['generated_timestamp']") as generated_timestamp, json_extract(table_alias._airbyte_data, "$['satisfaction_rating']") as satisfaction_rating, json_extract_array(_airbyte_data, "$['sharing_agreement_ids']") as sharing_agreement_ids, _airbyte_emitted_at from `d291209`.zendesk_staging._airbyte_raw_tickets as table_alias -- tickets ), __dbt__CTE__tickets_ab2 as ( -- SQL model to cast each column to its adequate SQL type converted from the JSON schema type select cast(id as int64 ) as id, cast(url as string ) as url, via, tags, cast(type as string ) as type, cast(nullif(due_at, '') as timestamp ) as due_at, cast(status as string ) as status, cast(subject as string ) as subject, cast(brand_id as int64 ) as brand_id, cast(group_id as int64 ) as group_id, cast(priority as string ) as priority, cast(is_public as boolean) as is_public, cast(recipient as string ) as recipient, cast(nullif(created_at, '') as timestamp ) as created_at, cast(problem_id as int64 ) as problem_id, cast(nullif(updated_at, '') as timestamp ) as updated_at, cast(assignee_id as int64 ) as assignee_id, cast(description as string ) as description, cast(external_id as string ) as external_id, cast(raw_subject as string ) as raw_subject, email_cc_ids, follower_ids, followup_ids, cast(requester_id as int64 ) as requester_id, cast(submitter_id as int64 ) as submitter_id, custom_fields, cast(has_incidents as boolean) as has_incidents, cast(forum_topic_id as int64 ) as forum_topic_id, cast(ticket_form_id as int64 ) as ticket_form_id, cast(organization_id as int64 ) as organization_id, collaborator_ids, cast(allow_attachments as boolean) as allow_attachments, cast(allow_channelback as boolean) as allow_channelback, cast(generated_timestamp as int64 ) as generated_timestamp, cast(satisfaction_rating as string ) as satisfaction_rating, sharing_agreement_ids, _airbyte_emitted_at from __dbt__CTE__tickets_ab1 -- tickets ), __dbt__CTE__tickets_ab3 as ( -- SQL model to build a hash column based on the values of this record select to_hex(md5(cast(concat(coalesce(cast(id as string ), ''), '-', coalesce(cast(url as string ), ''), '-', coalesce(cast(via as string ), ''), '-', coalesce(cast(array_to_string(tags, "|", "") as string ), ''), '-', coalesce(cast(type as string ), ''), '-', coalesce(cast(due_at as string ), ''), '-', coalesce(cast(status as string ), ''), '-', coalesce(cast(subject as string ), ''), '-', coalesce(cast(brand_id as string ), ''), '-', coalesce(cast(group_id as string ), ''), '-', coalesce(cast(priority as string ), ''), '-', coalesce(cast(is_public as string ), ''), '-', coalesce(cast(recipient as string ), ''), '-', coalesce(cast(created_at as string ), ''), '-', coalesce(cast(problem_id as string ), ''), '-', coalesce(cast(updated_at as string ), ''), '-', coalesce(cast(assignee_id as string ), ''), '-', coalesce(cast(description as string ), ''), '-', coalesce(cast(external_id as string ), ''), '-', coalesce(cast(raw_subject as string ), ''), '-', coalesce(cast(array_to_string(email_cc_ids, "|", "") as string ), ''), '-', coalesce(cast(array_to_string(follower_ids, "|", "") as string ), ''), '-', coalesce(cast(array_to_string(followup_ids, "|", "") as string ), ''), '-', coalesce(cast(requester_id as string ), ''), '-', coalesce(cast(submitter_id as string ), ''), '-', coalesce(cast(array_to_string(custom_fields, "|", "") as string ), ''), '-', coalesce(cast(has_incidents as string ), ''), '-', coalesce(cast(forum_topic_id as string ), ''), '-', coalesce(cast(ticket_form_id as string ), ''), '-', coalesce(cast(organization_id as string ), ''), '-', coalesce(cast(array_to_string(collaborator_ids, "|", "") as string ), ''), '-', coalesce(cast(allow_attachments as string ), ''), '-', coalesce(cast(allow_channelback as string ), ''), '-', coalesce(cast(generated_timestamp as string ), ''), '-', coalesce(cast(satisfaction_rating as string ), ''), '-', coalesce(cast(array_to_string(sharing_agreement_ids, "|", "") as string ), '')) as string ))) as _airbyte_tickets_hashid, tmp.* from __dbt__CTE__tickets_ab2 tmp -- tickets ), __dbt__CTE__tickets_ab4 as ( -- SQL model to prepare for deduplicating records based on the hash record column select row_number() over ( partition by _airbyte_tickets_hashid order by _airbyte_emitted_at asc ) as _airbyte_row_num, tmp.* from __dbt__CTE__tickets_ab3 tmp -- tickets from `d291209`.zendesk_staging._airbyte_raw_tickets )-- SQL model to build a Type 2 Slowly Changing Dimension (SCD) table for each record identified by their primary key select id, url, via, tags, type, due_at, status, subject, brand_id, group_id, priority, is_public, recipient, created_at, problem_id, updated_at, assignee_id, description, external_id, raw_subject, email_cc_ids, follower_ids, followup_ids, requester_id, submitter_id, custom_fields, has_incidents, forum_topic_id, ticket_form_id, organization_id, collaborator_ids, allow_attachments, allow_channelback, generated_timestamp, satisfaction_rating, sharing_agreement_ids, generated_timestamp as _airbyte_start_at, lag(generated_timestamp) over ( partition by id order by generated_timestamp is null asc, generated_timestamp desc, _airbyte_emitted_at desc ) as _airbyte_end_at, case when lag(generated_timestamp) over ( partition by id order by generated_timestamp is null asc, generated_timestamp desc, _airbyte_emitted_at desc ) is null then 1 else 0 end as _airbyte_active_row, _airbyte_emitted_at, _airbyte_tickets_hashid from __dbt__CTE__tickets_ab4 -- tickets from `d291209`.zendesk_staging._airbyte_raw_tickets where _airbyte_row_num = 1 ); ```

Steps to Reproduce

  1. set catalog schema to tickets

Are you willing to submit a PR?

Not Sure

harshithmullapudi commented 2 years ago

Hey @asyarif93 I think the problem here is because the schema doesn't have the ref https://github.com/airbytehq/airbyte/blob/c97fe680bf6c01e92755584ccb63d753014e2e51/airbyte-integrations/connectors/source-zendesk-support/source_zendesk_support/schemas/tickets.json#L119. The fix I think would be to provide the required object here.

asyarif93 commented 2 years ago

I bit not understand, doesn't via have ref to via_channel? and there's via_channel file in schema/shared

harshithmullapudi commented 2 years ago

Oops my bad. Yeah I could see the file. I just tried reproducing this issue. When I tried this

  1. Create new source - Zendesk support
  2. Create a new connection with bigquery as destination, tickets from the catalog and basic normalisation
  3. I could see tickets and tickets_via tables created and I am able to see that data.
asyarif93 commented 2 years ago

this is odd. I'll try to make separate connection. to replicate my issue

asyarif93 commented 2 years ago

I tried to make new connection by creating new source, with same destination (different prefix). via fields is no longer null and tickets_via table is created. I'm still puzzled why in old source it doesn't write query properly, as it has same exact version.

Old Connections Log ``` 2021-12-01 01:43:03 INFO () WorkerRun(call):47 - Executing worker wrapper. Airbyte version: 0.30.20-alpha 2021-12-01 01:43:04 INFO () TemporalAttemptExecution(get):94 - Executing worker wrapper. Airbyte version: 0.30.20-alpha 2021-12-01 01:43:04 WARN () Databases(createPostgresDatabaseWithRetry):38 - Waiting for database to become available... 2021-12-01 01:43:04 INFO () JobsDatabaseInstance(lambda$static$2):25 - Testing if jobs database is ready... 2021-12-01 01:43:04 INFO () Databases(createPostgresDatabaseWithRetry):55 - Database available! 2021-12-01 01:43:04 INFO () DefaultReplicationWorker(run):82 - start sync worker. job id: 27646 attempt id: 0 2021-12-01 01:43:04 INFO () DefaultReplicationWorker(run):91 - configured sync modes: {null.tickets=incremental - append_dedup} 2021-12-01 01:43:04 INFO () DefaultAirbyteDestination(start):58 - Running destination... 2021-12-01 01:43:04 INFO () LineGobbler(voidCall):65 - Checking if airbyte/destination-bigquery:0.4.1 exists... 2021-12-01 01:43:04 INFO () LineGobbler(voidCall):65 - airbyte/destination-bigquery:0.4.1 was found locally. 2021-12-01 01:43:04 INFO () DockerProcessFactory(create):127 - Preparing command: docker run --rm --init -i -v airbyte_workspace:/data -v /tmp/airbyte_local:/local -w /data/27646/0 --network host --log-driver none airbyte/destination-bigquery:0.4.1 write --config destination_config.json --catalog destination_catalog.json 2021-12-01 01:43:04 INFO () LineGobbler(voidCall):65 - Checking if airbyte/source-zendesk-support:0.1.8 exists... 2021-12-01 01:43:04 INFO () DockerProcessFactory(create):127 - Preparing command: docker run --rm --init -i -v airbyte_workspace:/data -v /tmp/airbyte_local:/local -w /data/27646/0 --network host --log-driver none airbyte/source-zendesk-support:0.1.8 read --config source_config.json --catalog source_catalog.json --state input_state.json 2021-12-01 01:43:04 INFO () LineGobbler(voidCall):65 - airbyte/source-zendesk-support:0.1.8 was found locally. 2021-12-01 01:43:04 INFO () DefaultReplicationWorker(lambda$getDestinationOutputRunnable$3):226 - Destination output thread started. 2021-12-01 01:43:04 INFO () DefaultReplicationWorker(run):119 - Waiting for source thread to join. 2021-12-01 01:43:04 INFO () DefaultReplicationWorker(lambda$getReplicationRunnable$2):190 - Replication thread started. 2021-12-01 01:43:06 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Starting syncing SourceZendeskSupport 2021-12-01 01:43:06 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Syncing stream: tickets 2021-12-01 01:43:06 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Setting state of tickets stream to {'_last_end_time': 1638319317, 'generated_timestamp': 1638319317} 2021-12-01 01:43:07 INFO () DefaultAirbyteStreamFactory(lambda$create$0):53 - 2021-12-01 01:43:07 INFO i.a.i.d.b.BigQueryDestination(main):336 - {} - starting destination: class io.airbyte.integrations.destination.bigquery.BigQueryDestination 2021-12-01 01:43:08 INFO () DefaultAirbyteStreamFactory(lambda$create$0):53 - 2021-12-01 01:43:08 INFO i.a.i.b.IntegrationRunner(run):76 - {} - Running integration: io.airbyte.integrations.destination.bigquery.BigQueryDestination 2021-12-01 01:43:08 INFO () DefaultAirbyteStreamFactory(lambda$create$0):53 - 2021-12-01 01:43:08 INFO i.a.i.b.IntegrationCliParser(parseOptions):115 - {} - integration args: {catalog=destination_catalog.json, write=null, config=destination_config.json} 2021-12-01 01:43:08 INFO () DefaultAirbyteStreamFactory(lambda$create$0):53 - 2021-12-01 01:43:08 INFO i.a.i.b.IntegrationRunner(run):80 - {} - Command: WRITE 2021-12-01 01:43:08 INFO () DefaultAirbyteStreamFactory(lambda$create$0):53 - 2021-12-01 01:43:08 INFO i.a.i.b.IntegrationRunner(run):81 - {} - Integration config: IntegrationConfig{command=WRITE, configPath='destination_config.json', catalogPath='destination_catalog.json', statePath='null'} 2021-12-01 01:43:08 INFO () DefaultAirbyteStreamFactory(lambda$create$0):53 - 2021-12-01 01:43:08 WARN c.n.s.JsonMetaSchema(newValidator):338 - {} - Unknown keyword examples - you should define your own Meta Schema. If the keyword is irrelevant for validation, just use a NonValidationKeyword 2021-12-01 01:43:08 INFO () DefaultAirbyteStreamFactory(lambda$create$0):53 - 2021-12-01 01:43:08 WARN c.n.s.JsonMetaSchema(newValidator):338 - {} - Unknown keyword airbyte_secret - you should define your own Meta Schema. If the keyword is irrelevant for validation, just use a NonValidationKeyword 2021-12-01 01:43:08 INFO () DefaultAirbyteStreamFactory(lambda$create$0):53 - 2021-12-01 01:43:08 INFO i.a.i.d.b.BigQueryDestination(getLoadingMethod):311 - {} - Selected loading method is set to: STANDARD 2021-12-01 01:43:08 INFO () DefaultAirbyteStreamFactory(lambda$create$0):53 - 2021-12-01 01:43:08 INFO i.a.i.d.b.BigQueryDestination(isKeepFilesInGcs):324 - {} - All tmp files will be removed from GCS when migration is finished 2021-12-01 01:43:11 INFO () DefaultAirbyteStreamFactory(lambda$create$0):53 - 2021-12-01 01:43:11 INFO i.a.i.d.b.BigQueryUtils(createTable):92 - {} - Table: GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=zendesk_staging, tableId=_airbyte_tmp_ben_tickets}} created successfully 2021-12-01 01:43:13 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Setting state of tickets stream to {'_last_end_time': 1638322926, 'generated_timestamp': 1638320541} 2021-12-01 01:43:16 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Setting state of tickets stream to {'_last_end_time': 1638322926, 'generated_timestamp': 1638321096} 2021-12-01 01:43:17 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Setting state of tickets stream to {'_last_end_time': 1638322926, 'generated_timestamp': 1638322208} 2021-12-01 01:43:18 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Setting state of tickets stream to {'_last_end_time': 1638322926, 'generated_timestamp': 1638322926} 2021-12-01 01:43:18 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Read 393 records from tickets stream 2021-12-01 01:43:18 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Finished syncing SourceZendeskSupport 2021-12-01 01:43:18 INFO () DefaultReplicationWorker(run):121 - Source thread complete. 2021-12-01 01:43:18 INFO () DefaultReplicationWorker(run):122 - Waiting for destination thread to join. 2021-12-01 01:43:19 INFO () DefaultAirbyteStreamFactory(lambda$create$0):53 - 2021-12-01 01:43:19 INFO i.a.i.b.FailureTrackingAirbyteMessageConsumer(close):60 - {} - Airbyte message consumer: succeeded. 2021-12-01 01:43:19 INFO () DefaultAirbyteStreamFactory(lambda$create$0):53 - 2021-12-01 01:43:19 INFO i.a.i.d.b.BigQueryRecordConsumer(close):143 - {} - Started closing all connections 2021-12-01 01:43:20 INFO () DefaultAirbyteStreamFactory(lambda$create$0):53 - 2021-12-01 01:43:20 INFO i.a.i.d.b.BigQueryRecordConsumer(closeNormalBigqueryStreams):258 - {} - Waiting for jobs to be finished/closed 2021-12-01 01:43:22 INFO () DefaultAirbyteStreamFactory(lambda$create$0):53 - 2021-12-01 01:43:22 INFO i.a.i.d.b.BigQueryRecordConsumer(closeNormalBigqueryStreams):275 - {} - Migration finished with no explicit errors. Copying data from tmp tables to permanent 2021-12-01 01:43:25 INFO () DefaultAirbyteStreamFactory(lambda$create$0):53 - 2021-12-01 01:43:25 INFO i.a.i.d.b.BigQueryRecordConsumer(copyTable):339 - {} - successfully copied tmp table: GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=zendesk_staging, tableId=_airbyte_tmp_ben_tickets}} to final table: GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=zendesk_staging, tableId=_airbyte_raw_tickets}} 2021-12-01 01:43:25 INFO () DefaultReplicationWorker(lambda$getDestinationOutputRunnable$3):231 - state in DefaultReplicationWorker from Destination: io.airbyte.protocol.models.AirbyteMessage@6447911e[type=STATE,log=,spec=,connectionStatus=,catalog=,record=,state=io.airbyte.protocol.models.AirbyteStateMessage@6a8063e6[data={"tickets":{"_last_end_time":1638322926,"generated_timestamp":1638322926}},additionalProperties={}],additionalProperties={}] 2021-12-01 01:43:25 INFO () DefaultAirbyteStreamFactory(lambda$create$0):53 - 2021-12-01 01:43:25 INFO i.a.i.d.b.BigQueryRecordConsumer(closeNormalBigqueryStreams):287 - {} - Removing tmp tables... 2021-12-01 01:43:25 INFO () DefaultAirbyteStreamFactory(lambda$create$0):53 - 2021-12-01 01:43:25 INFO i.a.i.d.b.BigQueryRecordConsumer(closeNormalBigqueryStreams):289 - {} - Finishing destination process...completed 2021-12-01 01:43:25 INFO () DefaultAirbyteStreamFactory(lambda$create$0):53 - 2021-12-01 01:43:25 INFO i.a.i.b.IntegrationRunner(run):133 - {} - Completed integration: io.airbyte.integrations.destination.bigquery.BigQueryDestination 2021-12-01 01:43:25 INFO () DefaultAirbyteStreamFactory(lambda$create$0):53 - 2021-12-01 01:43:25 INFO i.a.i.d.b.BigQueryDestination(main):338 - {} - completed destination: class io.airbyte.integrations.destination.bigquery.BigQueryDestination 2021-12-01 01:43:26 INFO () DefaultReplicationWorker(run):124 - Destination thread complete. 2021-12-01 01:43:26 INFO () DefaultReplicationWorker(run):152 - sync summary: io.airbyte.config.ReplicationAttemptSummary@7ebb1690[status=completed,recordsSynced=393,bytesSynced=4252845,startTime=1638322984076,endTime=1638323006085] 2021-12-01 01:43:26 INFO () DefaultReplicationWorker(run):159 - Source output at least one state message 2021-12-01 01:43:26 INFO () DefaultReplicationWorker(run):165 - State capture: Updated state to: Optional[io.airbyte.config.State@1242cfd5[state={"tickets":{"_last_end_time":1638322926,"generated_timestamp":1638322926}}]] 2021-12-01 01:43:26 INFO () TemporalAttemptExecution(get):115 - Stopping cancellation check scheduling... 2021-12-01 01:43:26 INFO () SyncWorkflow$ReplicationActivityImpl(replicate):178 - sync summary: io.airbyte.config.StandardSyncOutput@718ea4d[standardSyncSummary=io.airbyte.config.StandardSyncSummary@5fc9716c[status=completed,recordsSynced=393,bytesSynced=4252845,startTime=1638322984076,endTime=1638323006085],state=io.airbyte.config.State@1242cfd5[state={"tickets":{"_last_end_time":1638322926,"generated_timestamp":1638322926}}],outputCatalog=io.airbyte.protocol.models.ConfiguredAirbyteCatalog@58453b72[streams=[io.airbyte.protocol.models.ConfiguredAirbyteStream@435cd148[stream=io.airbyte.protocol.models.AirbyteStream@35611ec[name=tickets,jsonSchema={"type":["null","object"],"properties":{"id":{"type":["null","integer"]},"url":{"type":["null","string"]},"via":{"$ref":"#/definitions/via_channel_"},"tags":{"type":["null","array"],"items":{"type":["null","string"]}},"type":{"type":["null","string"]},"due_at":{"type":["null","string"],"format":"date-time"},"status":{"type":["null","string"]},"subject":{"type":["null","string"]},"brand_id":{"type":["null","integer"]},"group_id":{"type":["null","integer"]},"priority":{"type":["null","string"]},"is_public":{"type":["null","boolean"]},"recipient":{"type":["null","string"]},"created_at":{"type":["null","string"],"format":"date-time"},"problem_id":{"type":["null","integer"]},"updated_at":{"type":["null","string"],"format":"date-time"},"assignee_id":{"type":["null","integer"]},"description":{"type":["null","string"]},"external_id":{"type":["null","string"]},"raw_subject":{"type":["null","string"]},"email_cc_ids":{"type":["null","array"],"items":{"type":["null","integer"]}},"follower_ids":{"type":["null","array"],"items":{"type":["null","integer"]}},"followup_ids":{"type":["null","array"],"items":{"type":["null","integer"]}},"requester_id":{"type":["null","integer"]},"submitter_id":{"type":["null","integer"]},"custom_fields":{"type":["null","array"],"items":{"type":["null","object"],"properties":{"id":{"type":["null","integer"]},"value":{}}}},"has_incidents":{"type":["null","boolean"]},"forum_topic_id":{"type":["null","integer"]},"ticket_form_id":{"type":["null","integer"]},"organization_id":{"type":["null","integer"]},"collaborator_ids":{"type":["null","array"],"items":{"type":["null","integer"]}},"allow_attachments":{"type":["null","boolean"]},"allow_channelback":{"type":["null","boolean"]},"generated_timestamp":{"type":["null","integer"]},"satisfaction_rating":{"type":["null","object","string"],"properties":{"id":{"type":["null","integer"]},"url":{"type":["null","string"]},"score":{"type":["null","string"]},"reason":{"type":["null","string"]},"comment":{"type":["null","string"]},"group_id":{"type":["null","integer"]},"reason_id":{"type":["null","integer"]},"ticket_id":{"type":["null","integer"]},"created_at":{"type":["null","string"],"format":"date-time"},"updated_at":{"type":["null","string"],"format":"date-time"},"assignee_id":{"type":["null","integer"]},"requester_id":{"type":["null","integer"]}}},"sharing_agreement_ids":{"type":["null","array"],"items":{"type":["null","integer"]}}},"definitions":{"via_channel_":{"type":["null","object"],"properties":{"source":{"type":["null","object"],"properties":{"to":{"type":["null","object"],"properties":{"name":{"type":["null","string"]},"phone":{"type":["null","string"]},"address":{"type":["null","string"]},"username":{"type":["null","string"]},"email_ccs":{"type":["null","string"]},"facebook_id":{"type":["null","string"]},"profile_url":{"type":["null","string"]},"formatted_phone":{"type":["null","string"]}}},"rel":{"type":["null","string"]},"from":{"type":["null","object"],"properties":{"id":{"type":["null","integer"]},"name":{"type":["null","string"]},"phone":{"type":["null","string"]},"title":{"type":["null","string"]},"address":{"type":["null","string"]},"deleted":{"type":["null","boolean"]},"subject":{"type":["null","string"]},"topic_id":{"type":["null","integer"]},"username":{"type":["null","string"]},"ticket_id":{"type":["null","integer"]},"topic_name":{"type":["null","string"]},"facebook_id":{"type":["null","string"]},"profile_url":{"type":["null","string"]},"revision_id":{"type":["null","integer"]},"formatted_phone":{"type":["null","string"]},"original_recipients":{"type":["null","array"],"items":{"type":["null","string"]}}}}}},"channel":{"type":["null","string"]}}}}},supportedSyncModes=[full_refresh, incremental],sourceDefinedCursor=true,defaultCursorField=[generated_timestamp],sourceDefinedPrimaryKey=[[id]],namespace=,additionalProperties={}],syncMode=incremental,cursorField=[generated_timestamp],destinationSyncMode=append_dedup,primaryKey=[[id]],additionalProperties={}]],additionalProperties={}]] 2021-12-01 01:43:26 INFO () TemporalAttemptExecution(get):94 - Executing worker wrapper. Airbyte version: 0.30.20-alpha 2021-12-01 01:43:26 WARN () Databases(createPostgresDatabaseWithRetry):38 - Waiting for database to become available... 2021-12-01 01:43:26 INFO () JobsDatabaseInstance(lambda$static$2):25 - Testing if jobs database is ready... 2021-12-01 01:43:26 INFO () Databases(createPostgresDatabaseWithRetry):55 - Database available! 2021-12-01 01:43:26 INFO () DefaultNormalizationWorker(run):46 - Running normalization. 2021-12-01 01:43:26 INFO () DefaultNormalizationRunner(runProcess):107 - Running with normalization version: airbyte/normalization:0.1.52 2021-12-01 01:43:26 INFO () LineGobbler(voidCall):65 - Checking if airbyte/normalization:0.1.52 exists... 2021-12-01 01:43:26 INFO () LineGobbler(voidCall):65 - airbyte/normalization:0.1.52 was found locally. 2021-12-01 01:43:26 INFO () DockerProcessFactory(create):127 - Preparing command: docker run --rm --init -i -v airbyte_workspace:/data -v /tmp/airbyte_local:/local -w /data/27646/0/normalize --network host --log-driver none airbyte/normalization:0.1.52 run --integration-type bigquery --config destination_config.json --catalog destination_catalog.json 2021-12-01 01:43:26 INFO () LineGobbler(voidCall):65 - Running: transform-config --config destination_config.json --integration-type bigquery --out /data/27646/0/normalize 2021-12-01 01:43:27 INFO () LineGobbler(voidCall):65 - Namespace(config='destination_config.json', integration_type=, out='/data/27646/0/normalize') 2021-12-01 01:43:27 INFO () LineGobbler(voidCall):65 - transform_bigquery 2021-12-01 01:43:27 INFO () LineGobbler(voidCall):65 - Running: transform-catalog --integration-type bigquery --profile-config-dir /data/27646/0/normalize --catalog destination_catalog.json --out /data/27646/0/normalize/models/generated/ --json-column _airbyte_data 2021-12-01 01:43:27 INFO () LineGobbler(voidCall):65 - Processing destination_catalog.json... 2021-12-01 01:43:27 INFO () LineGobbler(voidCall):65 - Generating airbyte_ctes/zendesk_staging/tickets_ab1.sql from tickets 2021-12-01 01:43:27 INFO () LineGobbler(voidCall):65 - WARN: Unknown type for column via at tickets 2021-12-01 01:43:27 INFO () LineGobbler(voidCall):65 - Generating airbyte_ctes/zendesk_staging/tickets_ab2.sql from tickets 2021-12-01 01:43:27 INFO () LineGobbler(voidCall):65 - Generating airbyte_ctes/zendesk_staging/tickets_ab3.sql from tickets 2021-12-01 01:43:27 INFO () LineGobbler(voidCall):65 - Generating airbyte_ctes/zendesk_staging/tickets_ab4.sql from tickets 2021-12-01 01:43:27 INFO () LineGobbler(voidCall):65 - Generating airbyte_tables/zendesk_staging/tickets_scd.sql from tickets 2021-12-01 01:43:27 INFO () LineGobbler(voidCall):65 - Generating airbyte_tables/zendesk_staging/tickets.sql from tickets 2021-12-01 01:43:27 INFO () LineGobbler(voidCall):65 - Ignoring stream 'tags' from tickets/tags because properties list is empty 2021-12-01 01:43:27 INFO () LineGobbler(voidCall):65 - Ignoring stream 'email_cc_ids' from tickets/email_cc_ids because properties list is empty 2021-12-01 01:43:27 INFO () LineGobbler(voidCall):65 - Ignoring stream 'follower_ids' from tickets/follower_ids because properties list is empty 2021-12-01 01:43:27 INFO () LineGobbler(voidCall):65 - Ignoring stream 'followup_ids' from tickets/followup_ids because properties list is empty 2021-12-01 01:43:27 INFO () LineGobbler(voidCall):65 - Generating airbyte_ctes/zendesk_staging/tickets_custom_fields_ab1.sql from tickets/custom_fields 2021-12-01 01:43:27 INFO () LineGobbler(voidCall):65 - WARN: Unknown type for column value at tickets/custom_fields 2021-12-01 01:43:27 INFO () LineGobbler(voidCall):65 - Generating airbyte_ctes/zendesk_staging/tickets_custom_fields_ab2.sql from tickets/custom_fields 2021-12-01 01:43:27 INFO () LineGobbler(voidCall):65 - Generating airbyte_ctes/zendesk_staging/tickets_custom_fields_ab3.sql from tickets/custom_fields 2021-12-01 01:43:27 INFO () LineGobbler(voidCall):65 - Generating airbyte_tables/zendesk_staging/tickets_custom_fields.sql from tickets/custom_fields 2021-12-01 01:43:27 INFO () LineGobbler(voidCall):65 - Ignoring stream 'collaborator_ids' from tickets/collaborator_ids because properties list is empty 2021-12-01 01:43:27 INFO () LineGobbler(voidCall):65 - Generating airbyte_ctes/zendesk_staging/tickets_satisfaction_rating_ab1.sql from tickets/satisfaction_rating 2021-12-01 01:43:27 INFO () LineGobbler(voidCall):65 - Generating airbyte_ctes/zendesk_staging/tickets_satisfaction_rating_ab2.sql from tickets/satisfaction_rating 2021-12-01 01:43:27 INFO () LineGobbler(voidCall):65 - Generating airbyte_ctes/zendesk_staging/tickets_satisfaction_rating_ab3.sql from tickets/satisfaction_rating 2021-12-01 01:43:27 INFO () LineGobbler(voidCall):65 - Generating airbyte_tables/zendesk_staging/tickets_satisfaction_rating.sql from tickets/satisfaction_rating 2021-12-01 01:43:27 INFO () LineGobbler(voidCall):65 - Ignoring stream 'sharing_agreement_ids' from tickets/sharing_agreement_ids because properties list is empty 2021-12-01 01:43:27 INFO () LineGobbler(voidCall):65 - detected no config file for ssh, assuming ssh is off. 2021-12-01 01:43:28 INFO () LineGobbler(voidCall):65 - Running with dbt=0.19.0 2021-12-01 01:43:31 INFO () LineGobbler(voidCall):65 - [WARNING]: Configuration paths exist in your dbt_project.yml file which do not apply to any resources. 2021-12-01 01:43:31 INFO () LineGobbler(voidCall):65 - There are 1 unused configuration paths: 2021-12-01 01:43:31 INFO () LineGobbler(voidCall):65 - - models.airbyte_utils.generated.airbyte_views 2021-12-01 01:43:31 INFO () LineGobbler(voidCall):65 - 2021-12-01 01:43:31 INFO () LineGobbler(voidCall):65 - Found 14 models, 0 tests, 0 snapshots, 0 analyses, 440 macros, 0 operations, 0 seed files, 1 source, 0 exposures 2021-12-01 01:43:31 INFO () LineGobbler(voidCall):65 - 2021-12-01 01:43:32 INFO () LineGobbler(voidCall):65 - 01:43:32 | Concurrency: 32 threads (target='prod') 2021-12-01 01:43:32 INFO () LineGobbler(voidCall):65 - 01:43:32 | 2021-12-01 01:43:32 INFO () LineGobbler(voidCall):65 - 01:43:32 | 1 of 4 START table model zendesk_staging.tickets_scd......................................................... [RUN] 2021-12-01 01:47:01 INFO () LineGobbler(voidCall):65 - 01:47:01 | 1 of 4 OK created table model zendesk_staging.tickets_scd.................................................... [CREATE TABLE (1.8m rows, 7.9 GB processed) in 208.75s] 2021-12-01 01:47:01 INFO () LineGobbler(voidCall):65 - 01:47:01 | 2 of 4 START table model zendesk_staging.tickets............................................................. [RUN] 2021-12-01 01:47:09 INFO () LineGobbler(voidCall):65 - 01:47:09 | 2 of 4 OK created table model zendesk_staging.tickets........................................................ [CREATE TABLE (825.2k rows, 5.2 GB processed) in 7.61s] 2021-12-01 01:47:09 INFO () LineGobbler(voidCall):65 - 01:47:09 | 3 of 4 START table model zendesk_staging.tickets_custom_fields............................................... [RUN] 2021-12-01 01:47:09 INFO () LineGobbler(voidCall):65 - 01:47:09 | 4 of 4 START table model zendesk_staging.tickets_satisfaction_rating......................................... [RUN] 2021-12-01 01:47:16 INFO () LineGobbler(voidCall):65 - 01:47:16 | 4 of 4 OK created table model zendesk_staging.tickets_satisfaction_rating.................................... [CREATE TABLE (825.2k rows, 71.7 MB processed) in 6.94s] 2021-12-01 01:47:41 INFO () LineGobbler(voidCall):65 - 01:47:41 | 3 of 4 OK created table model zendesk_staging.tickets_custom_fields.......................................... [CREATE TABLE (61.3m rows, 2.0 GB processed) in 32.48s] 2021-12-01 01:47:41 INFO () LineGobbler(voidCall):65 - 01:47:41 | 2021-12-01 01:47:41 INFO () LineGobbler(voidCall):65 - 01:47:41 | Finished running 4 table models in 250.22s. 2021-12-01 01:47:42 INFO () LineGobbler(voidCall):65 - 2021-12-01 01:47:42 INFO () LineGobbler(voidCall):65 - Completed successfully 2021-12-01 01:47:42 INFO () LineGobbler(voidCall):65 - 2021-12-01 01:47:42 INFO () LineGobbler(voidCall):65 - Done. PASS=4 WARN=0 ERROR=0 SKIP=0 TOTAL=4 2021-12-01 01:47:42 INFO () DefaultNormalizationWorker(run):69 - Normalization executed in 4 minutes 16 seconds. 2021-12-01 01:47:42 INFO () TemporalAttemptExecution(get):115 - Stopping cancellation check scheduling... 2021-12-01 01:47:42 WARN () JobNotifier(notifyJob):101 - Failed to successfully notify success: io.airbyte.config.Notification@3754bf94[notificationType=slack,sendOnSuccess=false,sendOnFailure=true,slackConfiguration=io.airbyte.config.SlackNotificationConfiguration@7b58fa99[webhook=https://hooks.slack.com/services/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],additionalProperties={}] ```
New Connections Log ``` 2021-12-01 01:23:53 INFO () WorkerRun(call):47 - Executing worker wrapper. Airbyte version: 0.30.20-alpha 2021-12-01 01:23:53 INFO () TemporalAttemptExecution(get):94 - Executing worker wrapper. Airbyte version: 0.30.20-alpha 2021-12-01 01:23:53 WARN () Databases(createPostgresDatabaseWithRetry):38 - Waiting for database to become available... 2021-12-01 01:23:53 INFO () JobsDatabaseInstance(lambda$static$2):25 - Testing if jobs database is ready... 2021-12-01 01:23:53 INFO () Databases(createPostgresDatabaseWithRetry):55 - Database available! 2021-12-01 01:23:54 INFO () DefaultReplicationWorker(run):82 - start sync worker. job id: 27644 attempt id: 0 2021-12-01 01:23:54 INFO () DefaultReplicationWorker(run):91 - configured sync modes: {null.tickets=incremental - append_dedup} 2021-12-01 01:23:54 INFO () DefaultAirbyteDestination(start):58 - Running destination... 2021-12-01 01:23:54 INFO () LineGobbler(voidCall):65 - Checking if airbyte/destination-bigquery:0.4.1 exists... 2021-12-01 01:23:54 INFO () LineGobbler(voidCall):65 - airbyte/destination-bigquery:0.4.1 was found locally. 2021-12-01 01:23:54 INFO () DockerProcessFactory(create):127 - Preparing command: docker run --rm --init -i -v airbyte_workspace:/data -v /tmp/airbyte_local:/local -w /data/27644/0 --network host --log-driver none airbyte/destination-bigquery:0.4.1 write --config destination_config.json --catalog destination_catalog.json 2021-12-01 01:23:54 INFO () LineGobbler(voidCall):65 - Checking if airbyte/source-zendesk-support:0.1.8 exists... 2021-12-01 01:23:54 INFO () LineGobbler(voidCall):65 - airbyte/source-zendesk-support:0.1.8 was found locally. 2021-12-01 01:23:54 INFO () DockerProcessFactory(create):127 - Preparing command: docker run --rm --init -i -v airbyte_workspace:/data -v /tmp/airbyte_local:/local -w /data/27644/0 --network host --log-driver none airbyte/source-zendesk-support:0.1.8 read --config source_config.json --catalog source_catalog.json 2021-12-01 01:23:54 INFO () DefaultReplicationWorker(lambda$getDestinationOutputRunnable$3):226 - Destination output thread started. 2021-12-01 01:23:54 INFO () DefaultReplicationWorker(run):119 - Waiting for source thread to join. 2021-12-01 01:23:54 INFO () DefaultReplicationWorker(lambda$getReplicationRunnable$2):190 - Replication thread started. 2021-12-01 01:23:56 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Starting syncing SourceZendeskSupport 2021-12-01 01:23:56 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Syncing stream: tickets 2021-12-01 01:23:57 INFO () DefaultAirbyteStreamFactory(lambda$create$0):53 - 2021-12-01 01:23:57 INFO i.a.i.d.b.BigQueryDestination(main):336 - {} - starting destination: class io.airbyte.integrations.destination.bigquery.BigQueryDestination 2021-12-01 01:23:57 INFO () DefaultAirbyteStreamFactory(lambda$create$0):53 - 2021-12-01 01:23:57 INFO i.a.i.b.IntegrationRunner(run):76 - {} - Running integration: io.airbyte.integrations.destination.bigquery.BigQueryDestination 2021-12-01 01:23:57 INFO () DefaultAirbyteStreamFactory(lambda$create$0):53 - 2021-12-01 01:23:57 INFO i.a.i.b.IntegrationCliParser(parseOptions):115 - {} - integration args: {catalog=destination_catalog.json, write=null, config=destination_config.json} 2021-12-01 01:23:57 INFO () DefaultAirbyteStreamFactory(lambda$create$0):53 - 2021-12-01 01:23:57 INFO i.a.i.b.IntegrationRunner(run):80 - {} - Command: WRITE 2021-12-01 01:23:57 INFO () DefaultAirbyteStreamFactory(lambda$create$0):53 - 2021-12-01 01:23:57 INFO i.a.i.b.IntegrationRunner(run):81 - {} - Integration config: IntegrationConfig{command=WRITE, configPath='destination_config.json', catalogPath='destination_catalog.json', statePath='null'} 2021-12-01 01:23:57 INFO () DefaultAirbyteStreamFactory(lambda$create$0):53 - 2021-12-01 01:23:57 WARN c.n.s.JsonMetaSchema(newValidator):338 - {} - Unknown keyword examples - you should define your own Meta Schema. If the keyword is irrelevant for validation, just use a NonValidationKeyword 2021-12-01 01:23:57 INFO () DefaultAirbyteStreamFactory(lambda$create$0):53 - 2021-12-01 01:23:57 WARN c.n.s.JsonMetaSchema(newValidator):338 - {} - Unknown keyword airbyte_secret - you should define your own Meta Schema. If the keyword is irrelevant for validation, just use a NonValidationKeyword 2021-12-01 01:23:58 INFO () DefaultAirbyteStreamFactory(lambda$create$0):53 - 2021-12-01 01:23:58 INFO i.a.i.d.b.BigQueryDestination(getLoadingMethod):311 - {} - Selected loading method is set to: STANDARD 2021-12-01 01:23:58 INFO () DefaultAirbyteStreamFactory(lambda$create$0):53 - 2021-12-01 01:23:58 INFO i.a.i.d.b.BigQueryDestination(isKeepFilesInGcs):324 - {} - All tmp files will be removed from GCS when migration is finished 2021-12-01 01:24:00 INFO () DefaultAirbyteStreamFactory(lambda$create$0):53 - 2021-12-01 01:24:00 INFO i.a.i.d.b.BigQueryUtils(createTable):92 - {} - Table: GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=zendesk_staging, tableId=_airbyte_tmp_ald_testing_tickets}} created successfully 2021-12-01 01:24:11 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Setting state of tickets stream to {'generated_timestamp': 1638155165, '_last_end_time': 1638165755} 2021-12-01 01:24:13 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Setting state of tickets stream to {'generated_timestamp': 1638161742, '_last_end_time': 1638165755} 2021-12-01 01:24:27 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Setting state of tickets stream to {'generated_timestamp': 1638168443, '_last_end_time': 1638180346} 2021-12-01 01:24:29 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Setting state of tickets stream to {'generated_timestamp': 1638173582, '_last_end_time': 1638180346} 2021-12-01 01:24:31 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Setting state of tickets stream to {'generated_timestamp': 1638180191, '_last_end_time': 1638180346} 2021-12-01 01:24:33 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Setting state of tickets stream to {'generated_timestamp': 1638180253, '_last_end_time': 1638180346} 2021-12-01 01:24:34 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Setting state of tickets stream to {'generated_timestamp': 1638180317, '_last_end_time': 1638180346} 2021-12-01 01:24:46 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Setting state of tickets stream to {'generated_timestamp': 1638180379, '_last_end_time': 1638183844} 2021-12-01 01:24:48 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Setting state of tickets stream to {'generated_timestamp': 1638180440, '_last_end_time': 1638183844} 2021-12-01 01:24:50 INFO () DefaultReplicationWorker(lambda$getReplicationRunnable$2):203 - Records read: 1000 2021-12-01 01:24:50 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Setting state of tickets stream to {'generated_timestamp': 1638180503, '_last_end_time': 1638183844} 2021-12-01 01:24:51 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Setting state of tickets stream to {'generated_timestamp': 1638180566, '_last_end_time': 1638183844} 2021-12-01 01:24:53 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Setting state of tickets stream to {'generated_timestamp': 1638180628, '_last_end_time': 1638183844} 2021-12-01 01:24:55 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Setting state of tickets stream to {'generated_timestamp': 1638180691, '_last_end_time': 1638183844} 2021-12-01 01:24:57 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Setting state of tickets stream to {'generated_timestamp': 1638180752, '_last_end_time': 1638183844} 2021-12-01 01:24:58 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Setting state of tickets stream to {'generated_timestamp': 1638180812, '_last_end_time': 1638183844} 2021-12-01 01:25:00 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Setting state of tickets stream to {'generated_timestamp': 1638183806, '_last_end_time': 1638183844} 2021-12-01 01:25:11 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Setting state of tickets stream to {'generated_timestamp': 1638183882, '_last_end_time': 1638187205} 2021-12-01 01:25:13 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Setting state of tickets stream to {'generated_timestamp': 1638183957, '_last_end_time': 1638187205} 2021-12-01 01:25:15 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Setting state of tickets stream to {'generated_timestamp': 1638185212, '_last_end_time': 1638187205} 2021-12-01 01:25:27 INFO () DefaultReplicationWorker(lambda$getReplicationRunnable$2):203 - Records read: 2000 2021-12-01 01:25:27 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Setting state of tickets stream to {'generated_timestamp': 1638187382, '_last_end_time': 1638187792} 2021-12-01 01:25:29 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Setting state of tickets stream to {'generated_timestamp': 1638187432, '_last_end_time': 1638187792} 2021-12-01 01:25:42 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Setting state of tickets stream to {'generated_timestamp': 1638189204, '_last_end_time': 1638191309} 2021-12-01 01:25:44 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Setting state of tickets stream to {'generated_timestamp': 1638191009, '_last_end_time': 1638191309} 2021-12-01 01:25:46 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Setting state of tickets stream to {'generated_timestamp': 1638191056, '_last_end_time': 1638191309} 2021-12-01 01:25:58 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Setting state of tickets stream to {'generated_timestamp': 1638194548, '_last_end_time': 1638194839} 2021-12-01 01:26:00 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Setting state of tickets stream to {'generated_timestamp': 1638194601, '_last_end_time': 1638194839} 2021-12-01 01:26:14 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Setting state of tickets stream to {'generated_timestamp': 1638198143, '_last_end_time': 1638198486} 2021-12-01 01:26:27 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Setting state of tickets stream to {'generated_timestamp': 1638205291, '_last_end_time': 1638243669} 2021-12-01 01:26:29 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Setting state of tickets stream to {'generated_timestamp': 1638230531, '_last_end_time': 1638243669} 2021-12-01 01:26:30 INFO () DefaultReplicationWorker(lambda$getReplicationRunnable$2):203 - Records read: 3000 2021-12-01 01:26:31 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Setting state of tickets stream to {'generated_timestamp': 1638234119, '_last_end_time': 1638243669} 2021-12-01 01:26:32 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Setting state of tickets stream to {'generated_timestamp': 1638237744, '_last_end_time': 1638243669} 2021-12-01 01:26:34 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Setting state of tickets stream to {'generated_timestamp': 1638239188, '_last_end_time': 1638243669} 2021-12-01 01:26:35 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Setting state of tickets stream to {'generated_timestamp': 1638241345, '_last_end_time': 1638243669} 2021-12-01 01:26:49 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Setting state of tickets stream to {'generated_timestamp': 1638244915, '_last_end_time': 1638255929} 2021-12-01 01:26:50 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Setting state of tickets stream to {'generated_timestamp': 1638244983, '_last_end_time': 1638255929} 2021-12-01 01:26:52 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Setting state of tickets stream to {'generated_timestamp': 1638248527, '_last_end_time': 1638255929} 2021-12-01 01:26:53 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Setting state of tickets stream to {'generated_timestamp': 1638248583, '_last_end_time': 1638255929} 2021-12-01 01:26:55 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Setting state of tickets stream to {'generated_timestamp': 1638252115, '_last_end_time': 1638255929} 2021-12-01 01:26:57 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Setting state of tickets stream to {'generated_timestamp': 1638252187, '_last_end_time': 1638255929} 2021-12-01 01:26:58 INFO () DefaultReplicationWorker(lambda$getReplicationRunnable$2):203 - Records read: 4000 2021-12-01 01:26:58 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Setting state of tickets stream to {'generated_timestamp': 1638252306, '_last_end_time': 1638255929} 2021-12-01 01:27:00 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Setting state of tickets stream to {'generated_timestamp': 1638255710, '_last_end_time': 1638255929} 2021-12-01 01:27:02 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Setting state of tickets stream to {'generated_timestamp': 1638255777, '_last_end_time': 1638255929} 2021-12-01 01:27:15 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Setting state of tickets stream to {'generated_timestamp': 1638258345, '_last_end_time': 1638270168} 2021-12-01 01:27:17 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Setting state of tickets stream to {'generated_timestamp': 1638259341, '_last_end_time': 1638270168} 2021-12-01 01:27:19 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Setting state of tickets stream to {'generated_timestamp': 1638260690, '_last_end_time': 1638270168} 2021-12-01 01:27:21 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Setting state of tickets stream to {'generated_timestamp': 1638262972, '_last_end_time': 1638270168} 2021-12-01 01:27:23 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Setting state of tickets stream to {'generated_timestamp': 1638264337, '_last_end_time': 1638270168} 2021-12-01 01:27:24 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Setting state of tickets stream to {'generated_timestamp': 1638266538, '_last_end_time': 1638270168} 2021-12-01 01:27:26 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Setting state of tickets stream to {'generated_timestamp': 1638267619, '_last_end_time': 1638270168} 2021-12-01 01:27:27 INFO () DefaultReplicationWorker(lambda$getReplicationRunnable$2):203 - Records read: 5000 2021-12-01 01:27:28 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Setting state of tickets stream to {'generated_timestamp': 1638270139, '_last_end_time': 1638270168} 2021-12-01 01:27:39 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Setting state of tickets stream to {'generated_timestamp': 1638271123, '_last_end_time': 1638284541} 2021-12-01 01:27:40 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Setting state of tickets stream to {'generated_timestamp': 1638273713, '_last_end_time': 1638284541} 2021-12-01 01:27:42 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Setting state of tickets stream to {'generated_timestamp': 1638273772, '_last_end_time': 1638284541} 2021-12-01 01:27:43 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Setting state of tickets stream to {'generated_timestamp': 1638276354, '_last_end_time': 1638284541} 2021-12-01 01:27:45 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Setting state of tickets stream to {'generated_timestamp': 1638277329, '_last_end_time': 1638284541} 2021-12-01 01:27:47 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Setting state of tickets stream to {'generated_timestamp': 1638277378, '_last_end_time': 1638284541} 2021-12-01 01:27:49 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Setting state of tickets stream to {'generated_timestamp': 1638280901, '_last_end_time': 1638284541} 2021-12-01 01:27:51 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Setting state of tickets stream to {'generated_timestamp': 1638280956, '_last_end_time': 1638284541} 2021-12-01 01:27:54 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Setting state of tickets stream to {'generated_timestamp': 1638284523, '_last_end_time': 1638284541} 2021-12-01 01:28:01 INFO () DefaultReplicationWorker(lambda$getReplicationRunnable$2):203 - Records read: 6000 2021-12-01 01:28:02 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Setting state of tickets stream to {'generated_timestamp': 1638284596, '_last_end_time': 1638321613} 2021-12-01 01:28:04 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Setting state of tickets stream to {'generated_timestamp': 1638288117, '_last_end_time': 1638321613} 2021-12-01 01:28:05 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Setting state of tickets stream to {'generated_timestamp': 1638313288, '_last_end_time': 1638321613} 2021-12-01 01:28:07 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Setting state of tickets stream to {'generated_timestamp': 1638316904, '_last_end_time': 1638321613} 2021-12-01 01:28:09 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Setting state of tickets stream to {'generated_timestamp': 1638316953, '_last_end_time': 1638321613} 2021-12-01 01:28:10 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Setting state of tickets stream to {'generated_timestamp': 1638317001, '_last_end_time': 1638321613} 2021-12-01 01:28:12 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Setting state of tickets stream to {'generated_timestamp': 1638318766, '_last_end_time': 1638321613} 2021-12-01 01:28:13 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Setting state of tickets stream to {'generated_timestamp': 1638320539, '_last_end_time': 1638321613} 2021-12-01 01:28:15 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Setting state of tickets stream to {'generated_timestamp': 1638321088, '_last_end_time': 1638321613} 2021-12-01 01:28:17 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Setting state of tickets stream to {'generated_timestamp': 1638321913, '_last_end_time': 1638322024} 2021-12-01 01:28:18 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Setting state of tickets stream to {'generated_timestamp': 1638322024, '_last_end_time': 1638322024} 2021-12-01 01:28:18 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Read 6916 records from tickets stream 2021-12-01 01:28:18 INFO () DefaultAirbyteStreamFactory(internalLog):90 - Finished syncing SourceZendeskSupport 2021-12-01 01:28:18 INFO () DefaultReplicationWorker(run):121 - Source thread complete. 2021-12-01 01:28:18 INFO () DefaultReplicationWorker(run):122 - Waiting for destination thread to join. 2021-12-01 01:28:18 INFO () DefaultAirbyteStreamFactory(lambda$create$0):53 - 2021-12-01 01:28:18 INFO i.a.i.b.FailureTrackingAirbyteMessageConsumer(close):60 - {} - Airbyte message consumer: succeeded. 2021-12-01 01:28:18 INFO () DefaultAirbyteStreamFactory(lambda$create$0):53 - 2021-12-01 01:28:18 INFO i.a.i.d.b.BigQueryRecordConsumer(close):143 - {} - Started closing all connections 2021-12-01 01:28:18 INFO () DefaultAirbyteStreamFactory(lambda$create$0):53 - 2021-12-01 01:28:18 INFO i.a.i.d.b.BigQueryRecordConsumer(closeNormalBigqueryStreams):258 - {} - Waiting for jobs to be finished/closed 2021-12-01 01:28:24 INFO () DefaultAirbyteStreamFactory(lambda$create$0):53 - 2021-12-01 01:28:24 INFO i.a.i.d.b.BigQueryRecordConsumer(closeNormalBigqueryStreams):275 - {} - Migration finished with no explicit errors. Copying data from tmp tables to permanent 2021-12-01 01:28:26 INFO () DefaultAirbyteStreamFactory(lambda$create$0):53 - 2021-12-01 01:28:26 INFO i.a.i.d.b.BigQueryRecordConsumer(copyTable):339 - {} - successfully copied tmp table: GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=zendesk_staging, tableId=_airbyte_tmp_ald_testing_tickets}} to final table: GenericData{classInfo=[datasetId, projectId, tableId], {datasetId=zendesk_staging, tableId=_airbyte_raw_testing_tickets}} 2021-12-01 01:28:26 INFO () DefaultReplicationWorker(lambda$getDestinationOutputRunnable$3):231 - state in DefaultReplicationWorker from Destination: io.airbyte.protocol.models.AirbyteMessage@3a99ad3b[type=STATE,log=,spec=,connectionStatus=,catalog=,record=,state=io.airbyte.protocol.models.AirbyteStateMessage@345e5418[data={"tickets":{"generated_timestamp":1638322024,"_last_end_time":1638322024}},additionalProperties={}],additionalProperties={}] 2021-12-01 01:28:26 INFO () DefaultAirbyteStreamFactory(lambda$create$0):53 - 2021-12-01 01:28:26 INFO i.a.i.d.b.BigQueryRecordConsumer(closeNormalBigqueryStreams):287 - {} - Removing tmp tables... 2021-12-01 01:28:27 INFO () DefaultAirbyteStreamFactory(lambda$create$0):53 - 2021-12-01 01:28:27 INFO i.a.i.d.b.BigQueryRecordConsumer(closeNormalBigqueryStreams):289 - {} - Finishing destination process...completed 2021-12-01 01:28:27 INFO () DefaultAirbyteStreamFactory(lambda$create$0):53 - 2021-12-01 01:28:27 INFO i.a.i.b.IntegrationRunner(run):133 - {} - Completed integration: io.airbyte.integrations.destination.bigquery.BigQueryDestination 2021-12-01 01:28:27 INFO () DefaultAirbyteStreamFactory(lambda$create$0):53 - 2021-12-01 01:28:27 INFO i.a.i.d.b.BigQueryDestination(main):338 - {} - completed destination: class io.airbyte.integrations.destination.bigquery.BigQueryDestination 2021-12-01 01:28:27 INFO () DefaultReplicationWorker(run):124 - Destination thread complete. 2021-12-01 01:28:27 INFO () DefaultReplicationWorker(run):152 - sync summary: io.airbyte.config.ReplicationAttemptSummary@784791ac[status=completed,recordsSynced=6916,bytesSynced=75237762,startTime=1638321834008,endTime=1638322107201] 2021-12-01 01:28:27 INFO () DefaultReplicationWorker(run):159 - Source output at least one state message 2021-12-01 01:28:27 INFO () DefaultReplicationWorker(run):165 - State capture: Updated state to: Optional[io.airbyte.config.State@21c1d327[state={"tickets":{"generated_timestamp":1638322024,"_last_end_time":1638322024}}]] 2021-12-01 01:28:27 INFO () TemporalAttemptExecution(get):115 - Stopping cancellation check scheduling... 2021-12-01 01:28:27 INFO () SyncWorkflow$ReplicationActivityImpl(replicate):178 - sync summary: io.airbyte.config.StandardSyncOutput@249d12ba[standardSyncSummary=io.airbyte.config.StandardSyncSummary@1503c246[status=completed,recordsSynced=6916,bytesSynced=75237762,startTime=1638321834008,endTime=1638322107201],state=io.airbyte.config.State@21c1d327[state={"tickets":{"generated_timestamp":1638322024,"_last_end_time":1638322024}}],outputCatalog=io.airbyte.protocol.models.ConfiguredAirbyteCatalog@7c86db1[streams=[io.airbyte.protocol.models.ConfiguredAirbyteStream@6c178d64[stream=io.airbyte.protocol.models.AirbyteStream@20d34a9e[name=testing_tickets,jsonSchema={"type":["null","object"],"properties":{"id":{"type":["null","integer"]},"url":{"type":["null","string"]},"via":{"type":["null","object"],"properties":{"source":{"type":["null","object"],"properties":{"to":{"type":["null","object"],"properties":{"name":{"type":["null","string"]},"phone":{"type":["null","string"]},"address":{"type":["null","string"]},"username":{"type":["null","string"]},"email_ccs":{"type":["null","string"]},"facebook_id":{"type":["null","string"]},"profile_url":{"type":["null","string"]},"formatted_phone":{"type":["null","string"]}}},"rel":{"type":["null","string"]},"from":{"type":["null","object"],"properties":{"id":{"type":["null","integer"]},"name":{"type":["null","string"]},"phone":{"type":["null","string"]},"title":{"type":["null","string"]},"address":{"type":["null","string"]},"deleted":{"type":["null","boolean"]},"subject":{"type":["null","string"]},"topic_id":{"type":["null","integer"]},"username":{"type":["null","string"]},"ticket_id":{"type":["null","integer"]},"topic_name":{"type":["null","string"]},"facebook_id":{"type":["null","string"]},"profile_url":{"type":["null","string"]},"revision_id":{"type":["null","integer"]},"formatted_phone":{"type":["null","string"]},"original_recipients":{"type":["null","array"],"items":{"type":["null","string"]}}}}}},"channel":{"type":["null","string"]}}},"tags":{"type":["null","array"],"items":{"type":["null","string"]}},"type":{"type":["null","string"]},"due_at":{"type":["null","string"],"format":"date-time"},"status":{"type":["null","string"]},"subject":{"type":["null","string"]},"brand_id":{"type":["null","integer"]},"group_id":{"type":["null","integer"]},"priority":{"type":["null","string"]},"is_public":{"type":["null","boolean"]},"recipient":{"type":["null","string"]},"created_at":{"type":["null","string"],"format":"date-time"},"problem_id":{"type":["null","integer"]},"updated_at":{"type":["null","string"],"format":"date-time"},"assignee_id":{"type":["null","integer"]},"description":{"type":["null","string"]},"external_id":{"type":["null","string"]},"raw_subject":{"type":["null","string"]},"email_cc_ids":{"type":["null","array"],"items":{"type":["null","integer"]}},"follower_ids":{"type":["null","array"],"items":{"type":["null","integer"]}},"followup_ids":{"type":["null","array"],"items":{"type":["null","integer"]}},"requester_id":{"type":["null","integer"]},"submitter_id":{"type":["null","integer"]},"custom_fields":{"type":["null","array"],"items":{"type":["null","object"],"properties":{"id":{"type":["null","integer"]},"value":{"type":["null","string"]}}}},"has_incidents":{"type":["null","boolean"]},"forum_topic_id":{"type":["null","integer"]},"ticket_form_id":{"type":["null","integer"]},"organization_id":{"type":["null","integer"]},"collaborator_ids":{"type":["null","array"],"items":{"type":["null","integer"]}},"allow_attachments":{"type":["null","boolean"]},"allow_channelback":{"type":["null","boolean"]},"generated_timestamp":{"type":["null","integer"]},"satisfaction_rating":{"type":["null","object","string"],"properties":{"id":{"type":["null","integer"]},"url":{"type":["null","string"]},"score":{"type":["null","string"]},"reason":{"type":["null","string"]},"comment":{"type":["null","string"]},"group_id":{"type":["null","integer"]},"reason_id":{"type":["null","integer"]},"ticket_id":{"type":["null","integer"]},"created_at":{"type":["null","string"],"format":"date-time"},"updated_at":{"type":["null","string"],"format":"date-time"},"assignee_id":{"type":["null","integer"]},"requester_id":{"type":["null","integer"]}}},"sharing_agreement_ids":{"type":["null","array"],"items":{"type":["null","integer"]}}}},supportedSyncModes=[full_refresh, incremental],sourceDefinedCursor=true,defaultCursorField=[generated_timestamp],sourceDefinedPrimaryKey=[[id]],namespace=,additionalProperties={}],syncMode=incremental,cursorField=[generated_timestamp],destinationSyncMode=append_dedup,primaryKey=[[id]],additionalProperties={}]],additionalProperties={}]] 2021-12-01 01:28:27 INFO () TemporalAttemptExecution(get):94 - Executing worker wrapper. Airbyte version: 0.30.20-alpha 2021-12-01 01:28:27 WARN () Databases(createPostgresDatabaseWithRetry):38 - Waiting for database to become available... 2021-12-01 01:28:27 INFO () JobsDatabaseInstance(lambda$static$2):25 - Testing if jobs database is ready... 2021-12-01 01:28:27 INFO () Databases(createPostgresDatabaseWithRetry):55 - Database available! 2021-12-01 01:28:27 INFO () DefaultNormalizationWorker(run):46 - Running normalization. 2021-12-01 01:28:27 INFO () DefaultNormalizationRunner(runProcess):107 - Running with normalization version: airbyte/normalization:0.1.52 2021-12-01 01:28:27 INFO () LineGobbler(voidCall):65 - Checking if airbyte/normalization:0.1.52 exists... 2021-12-01 01:28:27 INFO () LineGobbler(voidCall):65 - airbyte/normalization:0.1.52 was found locally. 2021-12-01 01:28:27 INFO () DockerProcessFactory(create):127 - Preparing command: docker run --rm --init -i -v airbyte_workspace:/data -v /tmp/airbyte_local:/local -w /data/27644/0/normalize --network host --log-driver none airbyte/normalization:0.1.52 run --integration-type bigquery --config destination_config.json --catalog destination_catalog.json 2021-12-01 01:28:27 INFO () LineGobbler(voidCall):65 - Running: transform-config --config destination_config.json --integration-type bigquery --out /data/27644/0/normalize 2021-12-01 01:28:28 INFO () LineGobbler(voidCall):65 - Namespace(config='destination_config.json', integration_type=, out='/data/27644/0/normalize') 2021-12-01 01:28:28 INFO () LineGobbler(voidCall):65 - transform_bigquery 2021-12-01 01:28:28 INFO () LineGobbler(voidCall):65 - Running: transform-catalog --integration-type bigquery --profile-config-dir /data/27644/0/normalize --catalog destination_catalog.json --out /data/27644/0/normalize/models/generated/ --json-column _airbyte_data 2021-12-01 01:28:28 INFO () LineGobbler(voidCall):65 - Processing destination_catalog.json... 2021-12-01 01:28:28 INFO () LineGobbler(voidCall):65 - Generating airbyte_ctes/zendesk_staging/testing_tickets_ab1.sql from testing_tickets 2021-12-01 01:28:28 INFO () LineGobbler(voidCall):65 - Generating airbyte_ctes/zendesk_staging/testing_tickets_ab2.sql from testing_tickets 2021-12-01 01:28:28 INFO () LineGobbler(voidCall):65 - Generating airbyte_ctes/zendesk_staging/testing_tickets_ab3.sql from testing_tickets 2021-12-01 01:28:28 INFO () LineGobbler(voidCall):65 - Generating airbyte_ctes/zendesk_staging/testing_tickets_ab4.sql from testing_tickets 2021-12-01 01:28:28 INFO () LineGobbler(voidCall):65 - Generating airbyte_tables/zendesk_staging/testing_tickets_scd.sql from testing_tickets 2021-12-01 01:28:28 INFO () LineGobbler(voidCall):65 - Generating airbyte_tables/zendesk_staging/testing_tickets.sql from testing_tickets 2021-12-01 01:28:28 INFO () LineGobbler(voidCall):65 - Generating airbyte_ctes/zendesk_staging/testing_tickets_via_ab1.sql from testing_tickets/via 2021-12-01 01:28:28 INFO () LineGobbler(voidCall):65 - Generating airbyte_ctes/zendesk_staging/testing_tickets_via_ab2.sql from testing_tickets/via 2021-12-01 01:28:28 INFO () LineGobbler(voidCall):65 - Generating airbyte_ctes/zendesk_staging/testing_tickets_via_ab3.sql from testing_tickets/via 2021-12-01 01:28:28 INFO () LineGobbler(voidCall):65 - Generating airbyte_tables/zendesk_staging/testing_tickets_via.sql from testing_tickets/via 2021-12-01 01:28:28 INFO () LineGobbler(voidCall):65 - Ignoring stream 'tags' from testing_tickets/tags because properties list is empty 2021-12-01 01:28:28 INFO () LineGobbler(voidCall):65 - Ignoring stream 'email_cc_ids' from testing_tickets/email_cc_ids because properties list is empty 2021-12-01 01:28:28 INFO () LineGobbler(voidCall):65 - Ignoring stream 'follower_ids' from testing_tickets/follower_ids because properties list is empty 2021-12-01 01:28:28 INFO () LineGobbler(voidCall):65 - Ignoring stream 'followup_ids' from testing_tickets/followup_ids because properties list is empty 2021-12-01 01:28:28 INFO () LineGobbler(voidCall):65 - Generating airbyte_ctes/zendesk_staging/testing_tickets_custom_fields_ab1.sql from testing_tickets/custom_fields 2021-12-01 01:28:28 INFO () LineGobbler(voidCall):65 - Generating airbyte_ctes/zendesk_staging/testing_tickets_custom_fields_ab2.sql from testing_tickets/custom_fields 2021-12-01 01:28:28 INFO () LineGobbler(voidCall):65 - Generating airbyte_ctes/zendesk_staging/testing_tickets_custom_fields_ab3.sql from testing_tickets/custom_fields 2021-12-01 01:28:28 INFO () LineGobbler(voidCall):65 - Generating airbyte_tables/zendesk_staging/testing_tickets_custom_fields.sql from testing_tickets/custom_fields 2021-12-01 01:28:28 INFO () LineGobbler(voidCall):65 - Ignoring stream 'collaborator_ids' from testing_tickets/collaborator_ids because properties list is empty 2021-12-01 01:28:28 INFO () LineGobbler(voidCall):65 - Generating airbyte_ctes/zendesk_staging/testing_tickets_satisfaction_rating_ab1.sql from testing_tickets/satisfaction_rating 2021-12-01 01:28:28 INFO () LineGobbler(voidCall):65 - Generating airbyte_ctes/zendesk_staging/testing_tickets_satisfaction_rating_ab2.sql from testing_tickets/satisfaction_rating 2021-12-01 01:28:28 INFO () LineGobbler(voidCall):65 - Generating airbyte_ctes/zendesk_staging/testing_tickets_satisfaction_rating_ab3.sql from testing_tickets/satisfaction_rating 2021-12-01 01:28:28 INFO () LineGobbler(voidCall):65 - Generating airbyte_tables/zendesk_staging/testing_tickets_satisfaction_rating.sql from testing_tickets/satisfaction_rating 2021-12-01 01:28:28 INFO () LineGobbler(voidCall):65 - Ignoring stream 'sharing_agreement_ids' from testing_tickets/sharing_agreement_ids because properties list is empty 2021-12-01 01:28:28 INFO () LineGobbler(voidCall):65 - Generating airbyte_ctes/zendesk_staging/testing_tickets_via_source_ab1.sql from testing_tickets/via/source 2021-12-01 01:28:28 INFO () LineGobbler(voidCall):65 - Generating airbyte_ctes/zendesk_staging/testing_tickets_via_source_ab2.sql from testing_tickets/via/source 2021-12-01 01:28:28 INFO () LineGobbler(voidCall):65 - Generating airbyte_ctes/zendesk_staging/testing_tickets_via_source_ab3.sql from testing_tickets/via/source 2021-12-01 01:28:28 INFO () LineGobbler(voidCall):65 - Generating airbyte_tables/zendesk_staging/testing_tickets_via_source.sql from testing_tickets/via/source 2021-12-01 01:28:28 INFO () LineGobbler(voidCall):65 - Generating airbyte_ctes/zendesk_staging/testing_tickets_via_source_to_ab1.sql from testing_tickets/via/source/to 2021-12-01 01:28:28 INFO () LineGobbler(voidCall):65 - Generating airbyte_ctes/zendesk_staging/testing_tickets_via_source_to_ab2.sql from testing_tickets/via/source/to 2021-12-01 01:28:28 INFO () LineGobbler(voidCall):65 - Generating airbyte_ctes/zendesk_staging/testing_tickets_via_source_to_ab3.sql from testing_tickets/via/source/to 2021-12-01 01:28:28 INFO () LineGobbler(voidCall):65 - Generating airbyte_tables/zendesk_staging/testing_tickets_via_source_to.sql from testing_tickets/via/source/to 2021-12-01 01:28:28 INFO () LineGobbler(voidCall):65 - Generating airbyte_ctes/zendesk_staging/testing_tickets_via_source_from_ab1.sql from testing_tickets/via/source/from 2021-12-01 01:28:28 INFO () LineGobbler(voidCall):65 - Generating airbyte_ctes/zendesk_staging/testing_tickets_via_source_from_ab2.sql from testing_tickets/via/source/from 2021-12-01 01:28:28 INFO () LineGobbler(voidCall):65 - Generating airbyte_ctes/zendesk_staging/testing_tickets_via_source_from_ab3.sql from testing_tickets/via/source/from 2021-12-01 01:28:28 INFO () LineGobbler(voidCall):65 - Generating airbyte_tables/zendesk_staging/testing_tickets_via_source_from.sql from testing_tickets/via/source/from 2021-12-01 01:28:28 INFO () LineGobbler(voidCall):65 - Ignoring stream 'original_recipients' from testing_tickets/via/source/from/original_recipients because properties list is empty 2021-12-01 01:28:28 INFO () LineGobbler(voidCall):65 - detected no config file for ssh, assuming ssh is off. 2021-12-01 01:28:29 INFO () LineGobbler(voidCall):65 - Running with dbt=0.19.0 2021-12-01 01:28:32 INFO () LineGobbler(voidCall):65 - [WARNING]: Configuration paths exist in your dbt_project.yml file which do not apply to any resources. 2021-12-01 01:28:32 INFO () LineGobbler(voidCall):65 - There are 1 unused configuration paths: 2021-12-01 01:28:32 INFO () LineGobbler(voidCall):65 - - models.airbyte_utils.generated.airbyte_views 2021-12-01 01:28:32 INFO () LineGobbler(voidCall):65 - 2021-12-01 01:28:33 INFO () LineGobbler(voidCall):65 - Found 30 models, 0 tests, 0 snapshots, 0 analyses, 440 macros, 0 operations, 0 seed files, 1 source, 0 exposures 2021-12-01 01:28:33 INFO () LineGobbler(voidCall):65 - 2021-12-01 01:28:34 INFO () LineGobbler(voidCall):65 - 01:28:34 | Concurrency: 32 threads (target='prod') 2021-12-01 01:28:34 INFO () LineGobbler(voidCall):65 - 01:28:34 | 2021-12-01 01:28:34 INFO () LineGobbler(voidCall):65 - 01:28:34 | 1 of 8 START table model zendesk_staging.testing_tickets_scd................................................. [RUN] 2021-12-01 01:28:46 INFO () LineGobbler(voidCall):65 - 01:28:46 | 1 of 8 OK created table model zendesk_staging.testing_tickets_scd............................................ [CREATE TABLE (6.9k rows, 72.0 MB processed) in 12.35s] 2021-12-01 01:28:46 INFO () LineGobbler(voidCall):65 - 01:28:46 | 2 of 8 START table model zendesk_staging.testing_tickets..................................................... [RUN] 2021-12-01 01:28:49 INFO () LineGobbler(voidCall):65 - 01:28:49 | 2 of 8 OK created table model zendesk_staging.testing_tickets................................................ [CREATE TABLE (6.9k rows, 37.2 MB processed) in 2.38s] 2021-12-01 01:28:49 INFO () LineGobbler(voidCall):65 - 01:28:49 | 3 of 8 START table model zendesk_staging.testing_tickets_via................................................. [RUN] 2021-12-01 01:28:49 INFO () LineGobbler(voidCall):65 - 01:28:49 | 4 of 8 START table model zendesk_staging.testing_tickets_custom_fields....................................... [RUN] 2021-12-01 01:28:49 INFO () LineGobbler(voidCall):65 - 01:28:49 | 5 of 8 START table model zendesk_staging.testing_tickets_satisfaction_rating................................. [RUN] 2021-12-01 01:28:51 INFO () LineGobbler(voidCall):65 - 01:28:51 | 3 of 8 OK created table model zendesk_staging.testing_tickets_via............................................ [CREATE TABLE (6.9k rows, 1.1 MB processed) in 2.26s] 2021-12-01 01:28:51 INFO () LineGobbler(voidCall):65 - 01:28:51 | 6 of 8 START table model zendesk_staging.testing_tickets_via_source.......................................... [RUN] 2021-12-01 01:28:52 INFO () LineGobbler(voidCall):65 - 01:28:52 | 5 of 8 OK created table model zendesk_staging.testing_tickets_satisfaction_rating............................ [CREATE TABLE (6.9k rows, 610.1 KB processed) in 2.40s] 2021-12-01 01:28:54 INFO () LineGobbler(voidCall):65 - 01:28:54 | 6 of 8 OK created table model zendesk_staging.testing_tickets_via_source..................................... [CREATE TABLE (6.9k rows, 940.9 KB processed) in 2.13s] 2021-12-01 01:28:54 INFO () LineGobbler(voidCall):65 - 01:28:54 | 7 of 8 START table model zendesk_staging.testing_tickets_via_source_to....................................... [RUN] 2021-12-01 01:28:54 INFO () LineGobbler(voidCall):65 - 01:28:54 | 8 of 8 START table model zendesk_staging.testing_tickets_via_source_from..................................... [RUN] 2021-12-01 01:28:55 INFO () LineGobbler(voidCall):65 - 01:28:55 | 4 of 8 OK created table model zendesk_staging.testing_tickets_custom_fields.................................. [CREATE TABLE (995.9k rows, 33.2 MB processed) in 5.91s] 2021-12-01 01:28:56 INFO () LineGobbler(voidCall):65 - 01:28:56 | 8 of 8 OK created table model zendesk_staging.testing_tickets_via_source_from................................ [CREATE TABLE (6.7k rows, 705.7 KB processed) in 1.96s] 2021-12-01 01:28:56 INFO () LineGobbler(voidCall):65 - 01:28:56 | 7 of 8 OK created table model zendesk_staging.testing_tickets_via_source_to.................................. [CREATE TABLE (6.7k rows, 518.9 KB processed) in 2.00s] 2021-12-01 01:28:56 INFO () LineGobbler(voidCall):65 - 01:28:56 | 2021-12-01 01:28:56 INFO () LineGobbler(voidCall):65 - 01:28:56 | Finished running 8 table models in 23.04s. 2021-12-01 01:28:56 INFO () LineGobbler(voidCall):65 - 2021-12-01 01:28:56 INFO () LineGobbler(voidCall):65 - Completed successfully 2021-12-01 01:28:56 INFO () LineGobbler(voidCall):65 - 2021-12-01 01:28:56 INFO () LineGobbler(voidCall):65 - Done. PASS=8 WARN=0 ERROR=0 SKIP=0 TOTAL=8 2021-12-01 01:28:56 INFO () DefaultNormalizationWorker(run):69 - Normalization executed in 29 seconds. 2021-12-01 01:28:56 INFO () TemporalAttemptExecution(get):115 - Stopping cancellation check scheduling... 2021-12-01 01:28:57 WARN () JobNotifier(notifyJob):101 - Failed to successfully notify success: io.airbyte.config.Notification@18e3cd61[notificationType=slack,sendOnSuccess=false,sendOnFailure=true,slackConfiguration=io.airbyte.config.SlackNotificationConfiguration@2fdaf833[webhook=https://hooks.slack.com/services/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],additionalProperties={}] ```
asyarif93 commented 2 years ago

I think catalog.json created by source previous version might have been broken. solution might be updating schema. However in current ui, updating schema means sync from scratch (something I want to avoid)

misteryeo commented 2 years ago

@asyarif93 is this issue still ongoing for you?

asyarif93 commented 2 years ago

it no longer happened in my system since I have update the schema in airbyte UI

misteryeo commented 2 years ago

Thanks! I'll close this issue out as we haven't had other reports of this so far.