2022-04-22 10:52:39 INFO i.a.w.w.WorkerRun(call):49 - Executing worker wrapper. Airbyte version: 0.35.65-alpha 2022-04-22 10:52:39 INFO i.a.w.t.TemporalAttemptExecution(get):105 - Docker volume job log path: /tmp/workspace/7023/2/logs.log 2022-04-22 10:52:39 INFO i.a.w.t.TemporalAttemptExecution(get):110 - Executing worker wrapper. Airbyte version: 0.35.65-alpha 2022-04-22 10:52:39 INFO i.a.w.DefaultReplicationWorker(run):104 - start sync worker. job id: 7023 attempt id: 2 2022-04-22 10:52:39 INFO i.a.w.DefaultReplicationWorker(run):116 - configured sync modes: {null.sla_policies=full_refresh - overwrite, null.ticket_comments=incremental - append_dedup, null.organizations=incremental - append_dedup, null.ticket_fields=incremental - append_dedup, null.ticket_audits=incremental - append_dedup, null.group_memberships=incremental - append_dedup, null.schedules=full_refresh - overwrite, null.tickets=incremental - append_dedup, null.groups=incremental - append_dedup, null.macros=incremental - append_dedup, null.ticket_metric_events=incremental - append_dedup, null.ticket_forms=incremental - append_dedup, null.ticket_metrics=incremental - append_dedup, null.users=incremental - append_dedup, null.tags=full_refresh - overwrite, null.satisfaction_ratings=incremental - append_dedup} 2022-04-22 10:52:39 INFO i.a.w.p.a.DefaultAirbyteDestination(start):69 - Running destination... 2022-04-22 10:52:39 INFO i.a.c.i.LineGobbler(voidCall):82 - Checking if airbyte/destination-snowflake:0.4.24 exists... 2022-04-22 10:52:39 INFO i.a.c.i.LineGobbler(voidCall):82 - airbyte/destination-snowflake:0.4.24 was found locally. 2022-04-22 10:52:39 INFO i.a.w.p.DockerProcessFactory(create):106 - Creating docker job ID: 7023 2022-04-22 10:52:39 INFO i.a.w.p.DockerProcessFactory(create):158 - Preparing command: docker run --rm --init -i -w /data/7023/2 --log-driver none --network host -v airbyte_workspace:/data -v /tmp/airbyte_local:/local -e WORKER_JOB_ATTEMPT=2 -e WORKER_CONNECTOR_IMAGE=airbyte/destination-snowflake:0.4.24 -e WORKER_ENVIRONMENT=DOCKER -e AIRBYTE_ROLE= -e AIRBYTE_VERSION=0.35.65-alpha -e WORKER_JOB_ID=7023 airbyte/destination-snowflake:0.4.24 write --config destination_config.json --catalog destination_catalog.json 2022-04-22 10:52:39 INFO i.a.c.i.LineGobbler(voidCall):82 - Checking if airbyte/source-zendesk-support:0.1.12 exists... 2022-04-22 10:52:39 INFO i.a.c.i.LineGobbler(voidCall):82 - airbyte/source-zendesk-support:0.1.12 was found locally. 2022-04-22 10:52:39 INFO i.a.w.p.DockerProcessFactory(create):106 - Creating docker job ID: 7023 2022-04-22 10:52:39 INFO i.a.w.p.DockerProcessFactory(create):158 - Preparing command: docker run --rm --init -i -w /data/7023/2 --log-driver none --network host -v airbyte_workspace:/data -v /tmp/airbyte_local:/local -e WORKER_JOB_ATTEMPT=2 -e WORKER_CONNECTOR_IMAGE=airbyte/source-zendesk-support:0.1.12 -e WORKER_ENVIRONMENT=DOCKER -e AIRBYTE_ROLE= -e AIRBYTE_VERSION=0.35.65-alpha -e WORKER_JOB_ID=7023 airbyte/source-zendesk-support:0.1.12 read --config source_config.json --catalog source_catalog.json --state input_state.json 2022-04-22 10:52:39 INFO i.a.w.DefaultReplicationWorker(lambda$getReplicationRunnable$5):279 - Replication thread started. 2022-04-22 10:52:39 INFO i.a.w.DefaultReplicationWorker(lambda$getDestinationOutputRunnable$6):339 - Destination output thread started. 2022-04-22 10:52:39 INFO i.a.w.DefaultReplicationWorker(run):158 - Waiting for source and destination threads to complete. 2022-04-22 10:52:40 destination > SLF4J: Class path contains multiple SLF4J bindings. 2022-04-22 10:52:40 destination > SLF4J: Found binding in [jar:file:/airbyte/lib/log4j-slf4j-impl-2.17.1.jar!/org/slf4j/impl/StaticLoggerBinder.class] 2022-04-22 10:52:40 destination > SLF4J: Found binding in [jar:file:/airbyte/lib/slf4j-log4j12-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class] 2022-04-22 10:52:40 destination > SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. 2022-04-22 10:52:40 destination > SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory] 2022-04-22 10:52:41 source > Starting syncing SourceZendeskSupport 2022-04-22 10:52:41 source > Syncing stream: group_memberships 2022-04-22 10:52:41 source > Setting state of group_memberships stream to {'updated_at': '2022-04-21T20:39:34Z'} 2022-04-22 10:52:41 destination > 2022-04-22 10:52:41 INFO i.a.i.b.IntegrationCliParser(parseOptions):118 - integration args: {catalog=destination_catalog.json, write=null, config=destination_config.json} 2022-04-22 10:52:41 destination > 2022-04-22 10:52:41 INFO i.a.i.b.IntegrationRunner(runInternal):121 - Running integration: io.airbyte.integrations.destination.snowflake.SnowflakeDestination 2022-04-22 10:52:41 destination > 2022-04-22 10:52:41 INFO i.a.i.b.IntegrationRunner(runInternal):122 - Command: WRITE 2022-04-22 10:52:41 destination > 2022-04-22 10:52:41 INFO i.a.i.b.IntegrationRunner(runInternal):123 - Integration config: IntegrationConfig{command=WRITE, configPath='destination_config.json', catalogPath='destination_catalog.json', statePath='null'} 2022-04-22 10:52:41 source > Setting state of group_memberships stream to {'updated_at': '2022-04-21T20:39:34Z'} 2022-04-22 10:52:41 destination > 2022-04-22 10:52:41 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 2022-04-22 10:52:41 destination > 2022-04-22 10:52:41 WARN c.n.s.JsonMetaSchema(newValidator):338 - Unknown keyword order - you should define your own Meta Schema. If the keyword is irrelevant for validation, just use a NonValidationKeyword 2022-04-22 10:52:41 source > Read 0 records from group_memberships stream 2022-04-22 10:52:41 destination > 2022-04-22 10:52:41 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 2022-04-22 10:52:41 source > Finished syncing SourceZendeskSupport 2022-04-22 10:52:41 source > SourceZendeskSupport runtimes: 2022-04-22 10:52:41 source > Syncing stream: groups 2022-04-22 10:52:41 destination > 2022-04-22 10:52:41 WARN c.n.s.JsonMetaSchema(newValidator):338 - Unknown keyword multiline - you should define your own Meta Schema. If the keyword is irrelevant for validation, just use a NonValidationKeyword 2022-04-22 10:52:41 source > Setting state of groups stream to {'updated_at': '2022-04-19T20:34:41Z'} 2022-04-22 10:52:41 destination > 2022-04-22 10:52:41 INFO i.a.i.d.j.c.SwitchingDestination(getConsumer):65 - Using destination type: INTERNAL_STAGING 2022-04-22 10:52:41 source > Setting state of groups stream to {'updated_at': '2022-04-19T20:34:41Z'} 2022-04-22 10:52:41 source > Read 0 records from groups stream 2022-04-22 10:52:41 source > Finished syncing SourceZendeskSupport 2022-04-22 10:52:41 source > SourceZendeskSupport runtimes: 2022-04-22 10:52:41 source > Syncing stream: macros 2022-04-22 10:52:41 source > Setting state of macros stream to {'updated_at': '2022-03-23T18:53:18Z'} 2022-04-22 10:52:41 destination > 2022-04-22 10:52:41 INFO i.a.i.d.s.StagingConsumerFactory(lambda$toWriteConfig$0):96 - Write config: WriteConfig{streamName=group_memberships, namespace=ZENDESK_SUPPORT, outputSchemaName=ZENDESK_SUPPORT, tmpTableName=_airbyte_tmp_ndb_group_memberships, outputTableName=_airbyte_raw_group_memberships, syncMode=append_dedup} 2022-04-22 10:52:41 destination > 2022-04-22 10:52:41 INFO i.a.i.d.s.StagingConsumerFactory(lambda$toWriteConfig$0):96 - Write config: WriteConfig{streamName=groups, namespace=ZENDESK_SUPPORT, outputSchemaName=ZENDESK_SUPPORT, tmpTableName=_airbyte_tmp_gdj_groups, outputTableName=_airbyte_raw_groups, syncMode=append_dedup} 2022-04-22 10:52:41 destination > 2022-04-22 10:52:41 INFO i.a.i.d.s.StagingConsumerFactory(lambda$toWriteConfig$0):96 - Write config: WriteConfig{streamName=macros, namespace=ZENDESK_SUPPORT, outputSchemaName=ZENDESK_SUPPORT, tmpTableName=_airbyte_tmp_uif_macros, outputTableName=_airbyte_raw_macros, syncMode=append_dedup} 2022-04-22 10:52:41 destination > 2022-04-22 10:52:41 INFO i.a.i.d.s.StagingConsumerFactory(lambda$toWriteConfig$0):96 - Write config: WriteConfig{streamName=organizations, namespace=ZENDESK_SUPPORT, outputSchemaName=ZENDESK_SUPPORT, tmpTableName=_airbyte_tmp_iws_organizations, outputTableName=_airbyte_raw_organizations, syncMode=append_dedup} 2022-04-22 10:52:41 destination > 2022-04-22 10:52:41 INFO i.a.i.d.s.StagingConsumerFactory(lambda$toWriteConfig$0):96 - Write config: WriteConfig{streamName=satisfaction_ratings, namespace=ZENDESK_SUPPORT, outputSchemaName=ZENDESK_SUPPORT, tmpTableName=_airbyte_tmp_olj_satisfaction_ratings, outputTableName=_airbyte_raw_satisfaction_ratings, syncMode=append_dedup} 2022-04-22 10:52:41 destination > 2022-04-22 10:52:41 INFO i.a.i.d.s.StagingConsumerFactory(lambda$toWriteConfig$0):96 - Write config: WriteConfig{streamName=schedules, namespace=ZENDESK_SUPPORT, outputSchemaName=ZENDESK_SUPPORT, tmpTableName=_airbyte_tmp_sun_schedules, outputTableName=_airbyte_raw_schedules, syncMode=overwrite} 2022-04-22 10:52:41 destination > 2022-04-22 10:52:41 INFO i.a.i.d.s.StagingConsumerFactory(lambda$toWriteConfig$0):96 - Write config: WriteConfig{streamName=sla_policies, namespace=ZENDESK_SUPPORT, outputSchemaName=ZENDESK_SUPPORT, tmpTableName=_airbyte_tmp_jvt_sla_policies, outputTableName=_airbyte_raw_sla_policies, syncMode=overwrite} 2022-04-22 10:52:41 destination > 2022-04-22 10:52:41 INFO i.a.i.d.s.StagingConsumerFactory(lambda$toWriteConfig$0):96 - Write config: WriteConfig{streamName=tags, namespace=ZENDESK_SUPPORT, outputSchemaName=ZENDESK_SUPPORT, tmpTableName=_airbyte_tmp_cih_tags, outputTableName=_airbyte_raw_tags, syncMode=overwrite} 2022-04-22 10:52:41 destination > 2022-04-22 10:52:41 INFO i.a.i.d.s.StagingConsumerFactory(lambda$toWriteConfig$0):96 - Write config: WriteConfig{streamName=ticket_audits, namespace=ZENDESK_SUPPORT, outputSchemaName=ZENDESK_SUPPORT, tmpTableName=_airbyte_tmp_ggi_ticket_audits, outputTableName=_airbyte_raw_ticket_audits, syncMode=append_dedup} 2022-04-22 10:52:41 destination > 2022-04-22 10:52:41 INFO i.a.i.d.s.StagingConsumerFactory(lambda$toWriteConfig$0):96 - Write config: WriteConfig{streamName=ticket_comments, namespace=ZENDESK_SUPPORT, outputSchemaName=ZENDESK_SUPPORT, tmpTableName=_airbyte_tmp_eef_ticket_comments, outputTableName=_airbyte_raw_ticket_comments, syncMode=append_dedup} 2022-04-22 10:52:41 destination > 2022-04-22 10:52:41 INFO i.a.i.d.s.StagingConsumerFactory(lambda$toWriteConfig$0):96 - Write config: WriteConfig{streamName=ticket_fields, namespace=ZENDESK_SUPPORT, outputSchemaName=ZENDESK_SUPPORT, tmpTableName=_airbyte_tmp_vmo_ticket_fields, outputTableName=_airbyte_raw_ticket_fields, syncMode=append_dedup} 2022-04-22 10:52:41 destination > 2022-04-22 10:52:41 INFO i.a.i.d.s.StagingConsumerFactory(lambda$toWriteConfig$0):96 - Write config: WriteConfig{streamName=ticket_forms, namespace=ZENDESK_SUPPORT, outputSchemaName=ZENDESK_SUPPORT, tmpTableName=_airbyte_tmp_yps_ticket_forms, outputTableName=_airbyte_raw_ticket_forms, syncMode=append_dedup} 2022-04-22 10:52:41 destination > 2022-04-22 10:52:41 INFO i.a.i.d.s.StagingConsumerFactory(lambda$toWriteConfig$0):96 - Write config: WriteConfig{streamName=ticket_metric_events, namespace=ZENDESK_SUPPORT, outputSchemaName=ZENDESK_SUPPORT, tmpTableName=_airbyte_tmp_onz_ticket_metric_events, outputTableName=_airbyte_raw_ticket_metric_events, syncMode=append_dedup} 2022-04-22 10:52:41 destination > 2022-04-22 10:52:41 INFO i.a.i.d.s.StagingConsumerFactory(lambda$toWriteConfig$0):96 - Write config: WriteConfig{streamName=ticket_metrics, namespace=ZENDESK_SUPPORT, outputSchemaName=ZENDESK_SUPPORT, tmpTableName=_airbyte_tmp_hls_ticket_metrics, outputTableName=_airbyte_raw_ticket_metrics, syncMode=append_dedup} 2022-04-22 10:52:41 destination > 2022-04-22 10:52:41 INFO i.a.i.d.s.StagingConsumerFactory(lambda$toWriteConfig$0):96 - Write config: WriteConfig{streamName=tickets, namespace=ZENDESK_SUPPORT, outputSchemaName=ZENDESK_SUPPORT, tmpTableName=_airbyte_tmp_lvv_tickets, outputTableName=_airbyte_raw_tickets, syncMode=append_dedup} 2022-04-22 10:52:41 destination > 2022-04-22 10:52:41 INFO i.a.i.d.s.StagingConsumerFactory(lambda$toWriteConfig$0):96 - Write config: WriteConfig{streamName=users, namespace=ZENDESK_SUPPORT, outputSchemaName=ZENDESK_SUPPORT, tmpTableName=_airbyte_tmp_abs_users, outputTableName=_airbyte_raw_users, syncMode=append_dedup} 2022-04-22 10:52:42 destination > 2022-04-22 10:52:42 INFO i.a.i.d.b.BufferedStreamConsumer(startTracked):116 - class io.airbyte.integrations.destination.buffered_stream_consumer.BufferedStreamConsumer started. 2022-04-22 10:52:42 destination > 2022-04-22 10:52:42 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onStartFunction$2):114 - Preparing tmp tables in destination started for 16 streams 2022-04-22 10:52:42 destination > 2022-04-22 10:52:42 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onStartFunction$2):122 - Preparing staging area in destination started for schema ZENDESK_SUPPORT stream group_memberships: tmp table: _airbyte_tmp_ndb_group_memberships, stage: 2022/04/22/10/6B25A253-9337-46DE-B35C-B1514AD2A983/ 2022-04-22 10:52:42 destination > 2022-04-22 10:52:42 INFO c.z.h.HikariDataSource(getConnection):110 - HikariPool-1 - Starting... 2022-04-22 10:52:42 source > Setting state of macros stream to {'updated_at': '2022-03-23T18:53:18Z'} 2022-04-22 10:52:42 source > Read 0 records from macros stream 2022-04-22 10:52:42 source > Finished syncing SourceZendeskSupport 2022-04-22 10:52:42 source > SourceZendeskSupport runtimes: 2022-04-22 10:52:42 source > Syncing stream: organizations 2022-04-22 10:52:42 source > Setting state of organizations stream to {'updated_at': '2022-04-21T21:06:26Z', '_last_end_time': 1650575186} 2022-04-22 10:52:42 source > Setting state of organizations stream to {'updated_at': '2022-04-21T21:06:26Z', '_last_end_time': 1650575186} 2022-04-22 10:52:42 source > Read 0 records from organizations stream 2022-04-22 10:52:42 source > Finished syncing SourceZendeskSupport 2022-04-22 10:52:42 source > SourceZendeskSupport runtimes: 2022-04-22 10:52:42 source > Syncing stream: satisfaction_ratings 2022-04-22 10:52:42 source > Setting state of satisfaction_ratings stream to {'updated_at': '2022-04-21T22:29:40Z'} 2022-04-22 10:52:42 source > Setting state of satisfaction_ratings stream to {'updated_at': '2022-04-21T23:38:40Z'} 2022-04-22 10:52:42 source > Read 5 records from satisfaction_ratings stream 2022-04-22 10:52:42 source > Finished syncing SourceZendeskSupport 2022-04-22 10:52:42 source > SourceZendeskSupport runtimes: 2022-04-22 10:52:42 source > Syncing stream: schedules 2022-04-22 10:52:43 source > Read 4 records from schedules stream 2022-04-22 10:52:43 source > Finished syncing SourceZendeskSupport 2022-04-22 10:52:43 source > SourceZendeskSupport runtimes: 2022-04-22 10:52:43 source > Syncing stream: sla_policies 2022-04-22 10:52:43 destination > 2022-04-22 10:52:43 INFO c.z.h.p.HikariPool(checkFailFast):565 - HikariPool-1 - Added connection net.snowflake.client.jdbc.SnowflakeConnectionV1@57545c3f 2022-04-22 10:52:43 destination > 2022-04-22 10:52:43 INFO c.z.h.HikariDataSource(getConnection):123 - HikariPool-1 - Start completed. 2022-04-22 10:52:43 destination > 2022-04-22 10:52:43 INFO i.a.d.j.DefaultJdbcDatabase(lambda$unsafeQuery$1):106 - closing connection 2022-04-22 10:52:43 source > Read 2 records from sla_policies stream 2022-04-22 10:52:43 source > Finished syncing SourceZendeskSupport 2022-04-22 10:52:43 source > SourceZendeskSupport runtimes: 2022-04-22 10:52:43 source > Syncing stream: tags 2022-04-22 10:52:43 destination > 2022-04-22 10:52:43 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onStartFunction$2):133 - Preparing staging area in destination completed for schema ZENDESK_SUPPORT stream group_memberships 2022-04-22 10:52:43 destination > 2022-04-22 10:52:43 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onStartFunction$2):122 - Preparing staging area in destination started for schema ZENDESK_SUPPORT stream groups: tmp table: _airbyte_tmp_gdj_groups, stage: 2022/04/22/10/6B25A253-9337-46DE-B35C-B1514AD2A983/ 2022-04-22 10:52:43 destination > 2022-04-22 10:52:43 INFO i.a.d.j.DefaultJdbcDatabase(lambda$unsafeQuery$1):106 - closing connection 2022-04-22 10:52:43 source > Read 154 records from tags stream 2022-04-22 10:52:43 source > Finished syncing SourceZendeskSupport 2022-04-22 10:52:43 source > SourceZendeskSupport runtimes: 2022-04-22 10:52:43 source > Syncing stream: ticket_audits 2022-04-22 10:52:43 source > Setting state of ticket_audits stream to {'created_at': '2022-04-21T22:53:14Z'} 2022-04-22 10:52:44 destination > 2022-04-22 10:52:44 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onStartFunction$2):133 - Preparing staging area in destination completed for schema ZENDESK_SUPPORT stream groups 2022-04-22 10:52:44 destination > 2022-04-22 10:52:44 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onStartFunction$2):122 - Preparing staging area in destination started for schema ZENDESK_SUPPORT stream macros: tmp table: _airbyte_tmp_uif_macros, stage: 2022/04/22/10/6B25A253-9337-46DE-B35C-B1514AD2A983/ 2022-04-22 10:52:44 destination > 2022-04-22 10:52:44 INFO i.a.d.j.DefaultJdbcDatabase(lambda$unsafeQuery$1):106 - closing connection 2022-04-22 10:52:44 destination > 2022-04-22 10:52:44 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onStartFunction$2):133 - Preparing staging area in destination completed for schema ZENDESK_SUPPORT stream macros 2022-04-22 10:52:44 destination > 2022-04-22 10:52:44 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onStartFunction$2):122 - Preparing staging area in destination started for schema ZENDESK_SUPPORT stream organizations: tmp table: _airbyte_tmp_iws_organizations, stage: 2022/04/22/10/6B25A253-9337-46DE-B35C-B1514AD2A983/ 2022-04-22 10:52:44 destination > 2022-04-22 10:52:44 INFO i.a.d.j.DefaultJdbcDatabase(lambda$unsafeQuery$1):106 - closing connection 2022-04-22 10:52:44 destination > 2022-04-22 10:52:44 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onStartFunction$2):133 - Preparing staging area in destination completed for schema ZENDESK_SUPPORT stream organizations 2022-04-22 10:52:44 destination > 2022-04-22 10:52:44 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onStartFunction$2):122 - Preparing staging area in destination started for schema ZENDESK_SUPPORT stream satisfaction_ratings: tmp table: _airbyte_tmp_olj_satisfaction_ratings, stage: 2022/04/22/10/6B25A253-9337-46DE-B35C-B1514AD2A983/ 2022-04-22 10:52:45 destination > 2022-04-22 10:52:45 INFO i.a.d.j.DefaultJdbcDatabase(lambda$unsafeQuery$1):106 - closing connection 2022-04-22 10:52:45 destination > 2022-04-22 10:52:45 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onStartFunction$2):133 - Preparing staging area in destination completed for schema ZENDESK_SUPPORT stream satisfaction_ratings 2022-04-22 10:52:45 destination > 2022-04-22 10:52:45 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onStartFunction$2):122 - Preparing staging area in destination started for schema ZENDESK_SUPPORT stream schedules: tmp table: _airbyte_tmp_sun_schedules, stage: 2022/04/22/10/6B25A253-9337-46DE-B35C-B1514AD2A983/ 2022-04-22 10:52:45 destination > 2022-04-22 10:52:45 INFO i.a.d.j.DefaultJdbcDatabase(lambda$unsafeQuery$1):106 - closing connection 2022-04-22 10:52:45 destination > 2022-04-22 10:52:45 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onStartFunction$2):133 - Preparing staging area in destination completed for schema ZENDESK_SUPPORT stream schedules 2022-04-22 10:52:45 destination > 2022-04-22 10:52:45 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onStartFunction$2):122 - Preparing staging area in destination started for schema ZENDESK_SUPPORT stream sla_policies: tmp table: _airbyte_tmp_jvt_sla_policies, stage: 2022/04/22/10/6B25A253-9337-46DE-B35C-B1514AD2A983/ 2022-04-22 10:52:45 destination > 2022-04-22 10:52:45 INFO i.a.d.j.DefaultJdbcDatabase(lambda$unsafeQuery$1):106 - closing connection 2022-04-22 10:52:45 destination > 2022-04-22 10:52:45 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onStartFunction$2):133 - Preparing staging area in destination completed for schema ZENDESK_SUPPORT stream sla_policies 2022-04-22 10:52:45 destination > 2022-04-22 10:52:45 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onStartFunction$2):122 - Preparing staging area in destination started for schema ZENDESK_SUPPORT stream tags: tmp table: _airbyte_tmp_cih_tags, stage: 2022/04/22/10/6B25A253-9337-46DE-B35C-B1514AD2A983/ 2022-04-22 10:52:46 destination > 2022-04-22 10:52:46 INFO i.a.d.j.DefaultJdbcDatabase(lambda$unsafeQuery$1):106 - closing connection 2022-04-22 10:52:46 destination > 2022-04-22 10:52:46 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onStartFunction$2):133 - Preparing staging area in destination completed for schema ZENDESK_SUPPORT stream tags 2022-04-22 10:52:46 destination > 2022-04-22 10:52:46 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onStartFunction$2):122 - Preparing staging area in destination started for schema ZENDESK_SUPPORT stream ticket_audits: tmp table: _airbyte_tmp_ggi_ticket_audits, stage: 2022/04/22/10/6B25A253-9337-46DE-B35C-B1514AD2A983/ 2022-04-22 10:52:46 destination > 2022-04-22 10:52:46 INFO i.a.d.j.DefaultJdbcDatabase(lambda$unsafeQuery$1):106 - closing connection 2022-04-22 10:52:46 destination > 2022-04-22 10:52:46 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onStartFunction$2):133 - Preparing staging area in destination completed for schema ZENDESK_SUPPORT stream ticket_audits 2022-04-22 10:52:46 destination > 2022-04-22 10:52:46 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onStartFunction$2):122 - Preparing staging area in destination started for schema ZENDESK_SUPPORT stream ticket_comments: tmp table: _airbyte_tmp_eef_ticket_comments, stage: 2022/04/22/10/6B25A253-9337-46DE-B35C-B1514AD2A983/ 2022-04-22 10:52:46 destination > 2022-04-22 10:52:46 INFO i.a.d.j.DefaultJdbcDatabase(lambda$unsafeQuery$1):106 - closing connection 2022-04-22 10:52:47 destination > 2022-04-22 10:52:47 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onStartFunction$2):133 - Preparing staging area in destination completed for schema ZENDESK_SUPPORT stream ticket_comments 2022-04-22 10:52:47 destination > 2022-04-22 10:52:47 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onStartFunction$2):122 - Preparing staging area in destination started for schema ZENDESK_SUPPORT stream ticket_fields: tmp table: _airbyte_tmp_vmo_ticket_fields, stage: 2022/04/22/10/6B25A253-9337-46DE-B35C-B1514AD2A983/ 2022-04-22 10:52:47 destination > 2022-04-22 10:52:47 INFO i.a.d.j.DefaultJdbcDatabase(lambda$unsafeQuery$1):106 - closing connection 2022-04-22 10:52:47 destination > 2022-04-22 10:52:47 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onStartFunction$2):133 - Preparing staging area in destination completed for schema ZENDESK_SUPPORT stream ticket_fields 2022-04-22 10:52:47 destination > 2022-04-22 10:52:47 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onStartFunction$2):122 - Preparing staging area in destination started for schema ZENDESK_SUPPORT stream ticket_forms: tmp table: _airbyte_tmp_yps_ticket_forms, stage: 2022/04/22/10/6B25A253-9337-46DE-B35C-B1514AD2A983/ 2022-04-22 10:52:47 destination > 2022-04-22 10:52:47 INFO i.a.d.j.DefaultJdbcDatabase(lambda$unsafeQuery$1):106 - closing connection 2022-04-22 10:52:47 destination > 2022-04-22 10:52:47 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onStartFunction$2):133 - Preparing staging area in destination completed for schema ZENDESK_SUPPORT stream ticket_forms 2022-04-22 10:52:47 destination > 2022-04-22 10:52:47 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onStartFunction$2):122 - Preparing staging area in destination started for schema ZENDESK_SUPPORT stream ticket_metric_events: tmp table: _airbyte_tmp_onz_ticket_metric_events, stage: 2022/04/22/10/6B25A253-9337-46DE-B35C-B1514AD2A983/ 2022-04-22 10:52:48 destination > 2022-04-22 10:52:48 INFO i.a.d.j.DefaultJdbcDatabase(lambda$unsafeQuery$1):106 - closing connection 2022-04-22 10:52:48 destination > 2022-04-22 10:52:48 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onStartFunction$2):133 - Preparing staging area in destination completed for schema ZENDESK_SUPPORT stream ticket_metric_events 2022-04-22 10:52:48 destination > 2022-04-22 10:52:48 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onStartFunction$2):122 - Preparing staging area in destination started for schema ZENDESK_SUPPORT stream ticket_metrics: tmp table: _airbyte_tmp_hls_ticket_metrics, stage: 2022/04/22/10/6B25A253-9337-46DE-B35C-B1514AD2A983/ 2022-04-22 10:52:48 destination > 2022-04-22 10:52:48 INFO i.a.d.j.DefaultJdbcDatabase(lambda$unsafeQuery$1):106 - closing connection 2022-04-22 10:52:48 destination > 2022-04-22 10:52:48 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onStartFunction$2):133 - Preparing staging area in destination completed for schema ZENDESK_SUPPORT stream ticket_metrics 2022-04-22 10:52:48 destination > 2022-04-22 10:52:48 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onStartFunction$2):122 - Preparing staging area in destination started for schema ZENDESK_SUPPORT stream tickets: tmp table: _airbyte_tmp_lvv_tickets, stage: 2022/04/22/10/6B25A253-9337-46DE-B35C-B1514AD2A983/ 2022-04-22 10:52:48 destination > 2022-04-22 10:52:48 INFO i.a.d.j.DefaultJdbcDatabase(lambda$unsafeQuery$1):106 - closing connection 2022-04-22 10:52:49 destination > 2022-04-22 10:52:49 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onStartFunction$2):133 - Preparing staging area in destination completed for schema ZENDESK_SUPPORT stream tickets 2022-04-22 10:52:49 destination > 2022-04-22 10:52:49 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onStartFunction$2):122 - Preparing staging area in destination started for schema ZENDESK_SUPPORT stream users: tmp table: _airbyte_tmp_abs_users, stage: 2022/04/22/10/6B25A253-9337-46DE-B35C-B1514AD2A983/ 2022-04-22 10:52:49 destination > 2022-04-22 10:52:49 INFO i.a.d.j.DefaultJdbcDatabase(lambda$unsafeQuery$1):106 - closing connection 2022-04-22 10:52:49 destination > 2022-04-22 10:52:49 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onStartFunction$2):133 - Preparing staging area in destination completed for schema ZENDESK_SUPPORT stream users 2022-04-22 10:52:49 destination > 2022-04-22 10:52:49 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onStartFunction$2):136 - Preparing tmp tables in destination completed. 2022-04-22 10:52:49 destination > 2022-04-22 10:52:49 INFO i.a.i.d.r.SerializedBufferingStrategy(lambda$addRecord$0):55 - Starting a new buffer for stream satisfaction_ratings (current state: 0 bytes in 0 buffers) 2022-04-22 10:52:49 destination > 2022-04-22 10:52:49 INFO i.a.i.d.r.SerializedBufferingStrategy(lambda$addRecord$0):55 - Starting a new buffer for stream schedules (current state: 0 bytes in 1 buffers) 2022-04-22 10:52:49 destination > 2022-04-22 10:52:49 INFO i.a.i.d.r.SerializedBufferingStrategy(lambda$addRecord$0):55 - Starting a new buffer for stream sla_policies (current state: 0 bytes in 2 buffers) 2022-04-22 10:52:49 destination > 2022-04-22 10:52:49 INFO i.a.i.d.r.SerializedBufferingStrategy(lambda$addRecord$0):55 - Starting a new buffer for stream tags (current state: 0 bytes in 3 buffers) 2022-04-22 10:52:50 destination > 2022-04-22 10:52:50 INFO i.a.i.d.r.SerializedBufferingStrategy(lambda$addRecord$0):55 - Starting a new buffer for stream ticket_audits (current state: 0 bytes in 4 buffers) 2022-04-22 10:52:58 source > Setting state of ticket_audits stream to {'created_at': '2022-04-22T07:47:53Z'} 2022-04-22 10:52:58 source > Read 131 records from ticket_audits stream 2022-04-22 10:52:58 source > Finished syncing SourceZendeskSupport 2022-04-22 10:52:58 source > SourceZendeskSupport runtimes: 2022-04-22 10:52:58 source > Syncing stream: ticket_comments 2022-04-22 10:52:58 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:52:59 source > Found 255 ticket(s) with comments 2022-04-22 10:53:00 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:00 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:00 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:01 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:01 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:01 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:02 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:02 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:02 source > ticket 22036 not found (404 error). It could have been deleted. 2022-04-22 10:53:02 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:03 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:03 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:03 source > ticket 22035 not found (404 error). It could have been deleted. 2022-04-22 10:53:03 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:03 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:04 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:04 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:04 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:05 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:05 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:05 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:06 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:06 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:07 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:07 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:07 source > ticket 22033 not found (404 error). It could have been deleted. 2022-04-22 10:53:07 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:07 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:08 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:08 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:08 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:09 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:09 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:09 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:10 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:10 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:10 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:11 source > ticket 19306 not found (404 error). It could have been deleted. 2022-04-22 10:53:11 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:11 source > ticket 19315 not found (404 error). It could have been deleted. 2022-04-22 10:53:11 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:11 source > ticket 19316 not found (404 error). It could have been deleted. 2022-04-22 10:53:11 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:11 source > ticket 19303 not found (404 error). It could have been deleted. 2022-04-22 10:53:11 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:11 source > ticket 19299 not found (404 error). It could have been deleted. 2022-04-22 10:53:11 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:12 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:12 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:12 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:12 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:13 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:13 source > ticket 17082 not found (404 error). It could have been deleted. 2022-04-22 10:53:13 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:13 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:14 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:14 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:14 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:15 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:15 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:15 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:15 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:16 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:16 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:16 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:17 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:17 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:17 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:17 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:18 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:18 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:18 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:18 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:19 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:19 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:19 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:20 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:20 source > ticket 22074 not found (404 error). It could have been deleted. 2022-04-22 10:53:20 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:20 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:20 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:20 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:21 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:21 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:21 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:22 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:22 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:22 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:22 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:23 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:23 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:23 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:24 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:24 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:24 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:24 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:25 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:25 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:26 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:26 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:26 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:27 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:27 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:27 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:28 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:28 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:28 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:29 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:29 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:29 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:29 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:30 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:30 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:30 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:31 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:31 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:31 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:31 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:32 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:32 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:33 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:33 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:34 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:34 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:34 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:34 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:35 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:35 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:35 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:36 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:36 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:37 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:37 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:37 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:37 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:38 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:38 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:38 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:38 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:39 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:39 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:39 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:39 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:40 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:40 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:40 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:41 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:41 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:41 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:41 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:42 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:42 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:42 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:43 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:43 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:43 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:44 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:44 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:44 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:44 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:45 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:45 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:46 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:46 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:46 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:47 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:47 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:47 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:48 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:48 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:48 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:48 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:49 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:49 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:49 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:50 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:50 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:50 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:51 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:51 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:51 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:52 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:52 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:52 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:52 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:53 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:53 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T22:54:45Z', '_last_end_time': 1650537002} 2022-04-22 10:53:53 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T23:01:17Z', '_last_end_time': 1650537002} 2022-04-22 10:53:54 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T23:01:17Z', '_last_end_time': 1650537002} 2022-04-22 10:53:54 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T23:01:17Z', '_last_end_time': 1650537002} 2022-04-22 10:53:54 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T23:01:17Z', '_last_end_time': 1650537002} 2022-04-22 10:53:55 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T23:01:17Z', '_last_end_time': 1650537002} 2022-04-22 10:53:55 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T23:01:17Z', '_last_end_time': 1650537002} 2022-04-22 10:53:55 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T23:01:17Z', '_last_end_time': 1650537002} 2022-04-22 10:53:55 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T23:01:17Z', '_last_end_time': 1650537002} 2022-04-22 10:53:56 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T23:01:17Z', '_last_end_time': 1650537002} 2022-04-22 10:53:56 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T23:01:17Z', '_last_end_time': 1650537002} 2022-04-22 10:53:56 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T23:01:17Z', '_last_end_time': 1650537002} 2022-04-22 10:53:56 destination > 2022-04-22 10:53:56 INFO i.a.i.d.r.SerializedBufferingStrategy(lambda$addRecord$0):55 - Starting a new buffer for stream ticket_comments (current state: 46 KB in 5 buffers) 2022-04-22 10:53:56 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T23:06:51Z', '_last_end_time': 1650537002} 2022-04-22 10:53:57 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T23:06:51Z', '_last_end_time': 1650537002} 2022-04-22 10:53:57 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T23:07:23Z', '_last_end_time': 1650537002} 2022-04-22 10:53:57 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T23:07:53Z', '_last_end_time': 1650537002} 2022-04-22 10:53:58 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T23:14:54Z', '_last_end_time': 1650537002} 2022-04-22 10:53:58 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T23:14:54Z', '_last_end_time': 1650537002} 2022-04-22 10:53:58 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T23:14:54Z', '_last_end_time': 1650537002} 2022-04-22 10:53:58 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T23:24:06Z', '_last_end_time': 1650537002} 2022-04-22 10:53:59 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T23:24:21Z', '_last_end_time': 1650537002} 2022-04-22 10:53:59 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T23:28:21Z', '_last_end_time': 1650537002} 2022-04-22 10:53:59 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T23:31:59Z', '_last_end_time': 1650537002} 2022-04-22 10:54:00 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T23:32:23Z', '_last_end_time': 1650537002} 2022-04-22 10:54:00 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T23:33:59Z', '_last_end_time': 1650537002} 2022-04-22 10:54:00 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T23:53:45Z', '_last_end_time': 1650537002} 2022-04-22 10:54:00 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T23:56:33Z', '_last_end_time': 1650537002} 2022-04-22 10:54:01 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T23:56:33Z', '_last_end_time': 1650537002} 2022-04-22 10:54:01 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T23:56:33Z', '_last_end_time': 1650537002} 2022-04-22 10:54:02 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T23:56:33Z', '_last_end_time': 1650537002} 2022-04-22 10:54:02 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T23:56:33Z', '_last_end_time': 1650537002} 2022-04-22 10:54:02 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T23:56:33Z', '_last_end_time': 1650537002} 2022-04-22 10:54:03 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T23:56:33Z', '_last_end_time': 1650537002} 2022-04-22 10:54:03 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T23:56:33Z', '_last_end_time': 1650537002} 2022-04-22 10:54:03 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T23:56:33Z', '_last_end_time': 1650537002} 2022-04-22 10:54:04 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T23:56:33Z', '_last_end_time': 1650537002} 2022-04-22 10:54:04 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T23:56:33Z', '_last_end_time': 1650537002} 2022-04-22 10:54:04 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T23:56:33Z', '_last_end_time': 1650537002} 2022-04-22 10:54:04 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T23:56:33Z', '_last_end_time': 1650537002} 2022-04-22 10:54:05 source > Setting state of ticket_comments stream to {'created_at': '2022-04-21T23:56:33Z', '_last_end_time': 1650537002} 2022-04-22 10:54:05 source > Setting state of ticket_comments stream to {'created_at': '2022-04-22T00:04:36Z', '_last_end_time': 1650537002} 2022-04-22 10:54:05 source > Setting state of ticket_comments stream to {'created_at': '2022-04-22T00:05:07Z', '_last_end_time': 1650537002} 2022-04-22 10:54:06 source > Setting state of ticket_comments stream to {'created_at': '2022-04-22T00:07:11Z', '_last_end_time': 1650537002} 2022-04-22 10:54:06 source > Setting state of ticket_comments stream to {'created_at': '2022-04-22T00:48:17Z', '_last_end_time': 1650537002} 2022-04-22 10:54:06 source > Setting state of ticket_comments stream to {'created_at': '2022-04-22T00:51:16Z', '_last_end_time': 1650537002} 2022-04-22 10:54:06 source > Setting state of ticket_comments stream to {'created_at': '2022-04-22T00:57:27Z', '_last_end_time': 1650537002} 2022-04-22 10:54:07 source > Setting state of ticket_comments stream to {'created_at': '2022-04-22T01:01:26Z', '_last_end_time': 1650537002} 2022-04-22 10:54:07 source > Setting state of ticket_comments stream to {'created_at': '2022-04-22T01:01:26Z', '_last_end_time': 1650537002} 2022-04-22 10:54:07 source > Setting state of ticket_comments stream to {'created_at': '2022-04-22T01:01:26Z', '_last_end_time': 1650537002} 2022-04-22 10:54:08 source > Setting state of ticket_comments stream to {'created_at': '2022-04-22T01:01:26Z', '_last_end_time': 1650537002} 2022-04-22 10:54:08 source > Setting state of ticket_comments stream to {'created_at': '2022-04-22T01:01:26Z', '_last_end_time': 1650537002} 2022-04-22 10:54:08 source > Setting state of ticket_comments stream to {'created_at': '2022-04-22T01:01:26Z', '_last_end_time': 1650537002} 2022-04-22 10:54:09 source > Setting state of ticket_comments stream to {'created_at': '2022-04-22T01:01:26Z', '_last_end_time': 1650537002} 2022-04-22 10:54:09 source > Setting state of ticket_comments stream to {'created_at': '2022-04-22T01:01:26Z', '_last_end_time': 1650537002} 2022-04-22 10:54:09 source > Setting state of ticket_comments stream to {'created_at': '2022-04-22T01:11:49Z', '_last_end_time': 1650537002} 2022-04-22 10:54:09 source > Setting state of ticket_comments stream to {'created_at': '2022-04-22T01:39:05Z', '_last_end_time': 1650537002} 2022-04-22 10:54:10 source > Setting state of ticket_comments stream to {'created_at': '2022-04-22T02:00:29Z', '_last_end_time': 1650537002} 2022-04-22 10:54:10 source > Setting state of ticket_comments stream to {'created_at': '2022-04-22T02:00:29Z', '_last_end_time': 1650537002} 2022-04-22 10:54:10 source > Setting state of ticket_comments stream to {'created_at': '2022-04-22T02:00:29Z', '_last_end_time': 1650537002} 2022-04-22 10:54:11 source > Setting state of ticket_comments stream to {'created_at': '2022-04-22T02:00:29Z', '_last_end_time': 1650537002} 2022-04-22 10:54:11 source > Setting state of ticket_comments stream to {'created_at': '2022-04-22T02:02:37Z', '_last_end_time': 1650537002} 2022-04-22 10:54:11 source > Setting state of ticket_comments stream to {'created_at': '2022-04-22T02:02:37Z', '_last_end_time': 1650537002} 2022-04-22 10:54:11 source > Setting state of ticket_comments stream to {'created_at': '2022-04-22T02:35:47Z', '_last_end_time': 1650537002} 2022-04-22 10:54:12 source > Setting state of ticket_comments stream to {'created_at': '2022-04-22T02:49:33Z', '_last_end_time': 1650537002} 2022-04-22 10:54:12 source > Setting state of ticket_comments stream to {'created_at': '2022-04-22T02:49:44Z', '_last_end_time': 1650537002} 2022-04-22 10:54:12 source > Setting state of ticket_comments stream to {'created_at': '2022-04-22T02:49:44Z', '_last_end_time': 1650537002} 2022-04-22 10:54:13 source > Setting state of ticket_comments stream to {'created_at': '2022-04-22T02:49:44Z', '_last_end_time': 1650537002} 2022-04-22 10:54:13 source > Setting state of ticket_comments stream to {'created_at': '2022-04-22T02:49:44Z', '_last_end_time': 1650537002} 2022-04-22 10:54:13 source > Setting state of ticket_comments stream to {'created_at': '2022-04-22T03:21:57Z', '_last_end_time': 1650537002} 2022-04-22 10:54:13 source > Setting state of ticket_comments stream to {'created_at': '2022-04-22T03:23:44Z', '_last_end_time': 1650537002} 2022-04-22 10:54:14 source > Setting state of ticket_comments stream to {'created_at': '2022-04-22T03:23:44Z', '_last_end_time': 1650537002} 2022-04-22 10:54:14 source > Setting state of ticket_comments stream to {'created_at': '2022-04-22T04:24:49Z', '_last_end_time': 1650537002} 2022-04-22 10:54:14 source > Setting state of ticket_comments stream to {'created_at': '2022-04-22T04:59:28Z', '_last_end_time': 1650537002} 2022-04-22 10:54:14 source > Setting state of ticket_comments stream to {'created_at': '2022-04-22T05:01:53Z', '_last_end_time': 1650537002} 2022-04-22 10:54:15 source > Setting state of ticket_comments stream to {'created_at': '2022-04-22T05:40:40Z', '_last_end_time': 1650537002} 2022-04-22 10:54:15 source > Setting state of ticket_comments stream to {'created_at': '2022-04-22T07:00:19Z', '_last_end_time': 1650537002} 2022-04-22 10:54:16 source > Setting state of ticket_comments stream to {'created_at': '2022-04-22T07:02:59Z', '_last_end_time': 1650537002} 2022-04-22 10:54:16 source > Setting state of ticket_comments stream to {'created_at': '2022-04-22T07:04:45Z', '_last_end_time': 1650537002} 2022-04-22 10:54:16 source > Setting state of ticket_comments stream to {'created_at': '2022-04-22T07:47:53Z', '_last_end_time': 1650613674} 2022-04-22 10:54:16 source > Read 40 records from ticket_comments stream 2022-04-22 10:54:16 source > Finished syncing SourceZendeskSupport 2022-04-22 10:54:16 source > SourceZendeskSupport runtimes: 2022-04-22 10:54:16 source > Syncing stream: ticket_fields 2022-04-22 10:54:16 source > Setting state of ticket_fields stream to {'updated_at': '2022-04-12T15:36:05Z'} 2022-04-22 10:54:16 source > Setting state of ticket_fields stream to {'updated_at': '2022-04-12T15:36:05Z'} 2022-04-22 10:54:16 source > Read 0 records from ticket_fields stream 2022-04-22 10:54:16 source > Finished syncing SourceZendeskSupport 2022-04-22 10:54:16 source > SourceZendeskSupport runtimes: 2022-04-22 10:54:16 source > Syncing stream: ticket_forms 2022-04-22 10:54:16 source > Setting state of ticket_forms stream to {'updated_at': '2022-04-06T20:43:47Z'} 2022-04-22 10:54:17 source > Setting state of ticket_forms stream to {'updated_at': '2022-04-06T20:43:47Z'} 2022-04-22 10:54:17 source > Read 0 records from ticket_forms stream 2022-04-22 10:54:17 source > Finished syncing SourceZendeskSupport 2022-04-22 10:54:17 source > SourceZendeskSupport runtimes: 2022-04-22 10:54:17 source > Syncing stream: ticket_metric_events 2022-04-22 10:54:17 source > Setting state of ticket_metric_events stream to {'time': '2022-04-21T22:54:45Z', '_last_end_time': 1650581685} 2022-04-22 10:54:17 destination > 2022-04-22 10:54:17 INFO i.a.i.d.r.SerializedBufferingStrategy(lambda$addRecord$0):55 - Starting a new buffer for stream ticket_metric_events (current state: 46 KB in 6 buffers) 2022-04-22 10:54:17 source > Setting state of ticket_metric_events stream to {'time': '2022-04-21T23:24:21Z', '_last_end_time': 1650621629} 2022-04-22 10:54:17 source > Setting state of ticket_metric_events stream to {'time': '2022-04-21T23:56:33Z', '_last_end_time': 1650621629} 2022-04-22 10:54:17 source > Setting state of ticket_metric_events stream to {'time': '2022-04-22T01:19:23Z', '_last_end_time': 1650621629} 2022-04-22 10:54:17 INFO i.a.w.DefaultReplicationWorker(lambda$getReplicationRunnable$5):301 - Records read: 1000 (464 KB) 2022-04-22 10:54:17 source > Setting state of ticket_metric_events stream to {'time': '2022-04-22T03:23:44Z', '_last_end_time': 1650621629} 2022-04-22 10:54:17 source > Setting state of ticket_metric_events stream to {'time': '2022-04-22T10:00:29Z', '_last_end_time': 1650621629} 2022-04-22 10:54:17 source > Read 491 records from ticket_metric_events stream 2022-04-22 10:54:17 source > Finished syncing SourceZendeskSupport 2022-04-22 10:54:17 source > SourceZendeskSupport runtimes: 2022-04-22 10:54:17 source > Syncing stream: ticket_metrics 2022-04-22 10:54:17 source > Setting state of ticket_metrics stream to {'updated_at': '2022-04-21T22:54:46Z'} 2022-04-22 10:54:18 destination > 2022-04-22 10:54:18 INFO i.a.i.d.r.SerializedBufferingStrategy(lambda$addRecord$0):55 - Starting a new buffer for stream ticket_metrics (current state: 46 KB in 7 buffers) 2022-04-22 10:54:20 source > Setting state of ticket_metrics stream to {'updated_at': '2022-04-22T07:47:54Z'} 2022-04-22 10:54:20 source > Read 44 records from ticket_metrics stream 2022-04-22 10:54:20 source > Finished syncing SourceZendeskSupport 2022-04-22 10:54:20 source > SourceZendeskSupport runtimes: 2022-04-22 10:54:20 source > Syncing stream: tickets 2022-04-22 10:54:20 source > Setting state of tickets stream to {'_last_end_time': 1650581627, 'generated_timestamp': 1650581627} 2022-04-22 10:54:20 destination > 2022-04-22 10:54:20 INFO i.a.i.d.r.SerializedBufferingStrategy(lambda$addRecord$0):55 - Starting a new buffer for stream tickets (current state: 46 KB in 8 buffers) 2022-04-22 10:54:20 source > Setting state of tickets stream to {'_last_end_time': 1650613674, 'generated_timestamp': 1650613674} 2022-04-22 10:54:20 source > Read 79 records from tickets stream 2022-04-22 10:54:20 source > Finished syncing SourceZendeskSupport 2022-04-22 10:54:20 source > SourceZendeskSupport runtimes: 2022-04-22 10:54:20 source > Syncing stream: users 2022-04-22 10:54:20 source > Setting state of users stream to {'updated_at': '2022-04-21T22:47:51Z', '_last_end_time': 1650581271} 2022-04-22 10:54:21 destination > 2022-04-22 10:54:21 INFO i.a.i.d.r.SerializedBufferingStrategy(lambda$addRecord$0):55 - Starting a new buffer for stream users (current state: 70 KB in 9 buffers) 2022-04-22 10:54:21 destination > 2022-04-22 10:54:21 INFO i.a.i.d.r.SerializedBufferingStrategy(flushAll):92 - Flushing all 10 current buffers (70 KB in total) 2022-04-22 10:54:21 destination > 2022-04-22 10:54:21 INFO i.a.i.d.r.SerializedBufferingStrategy(lambda$flushAll$2):95 - Flushing buffer of stream schedules (10 bytes) 2022-04-22 10:54:21 destination > 2022-04-22 10:54:21 INFO i.a.i.d.s.StagingConsumerFactory(lambda$flushBufferFunction$3):155 - Flushing buffer for stream schedules (10 bytes) to staging 2022-04-22 10:54:21 destination > 2022-04-22 10:54:21 INFO i.a.i.d.r.BaseSerializedBuffer(flush):123 - Finished writing data to 981e64d2-4918-4b87-88dd-855d445994449156238546801665607.csv.gz (583 bytes) 2022-04-22 10:54:21 source > Setting state of users stream to {'updated_at': '2022-04-22T00:02:48Z', '_last_end_time': 1650624156} 2022-04-22 10:54:22 source > Setting state of users stream to {'updated_at': '2022-04-22T02:02:49Z', '_last_end_time': 1650624156} 2022-04-22 10:54:22 source > Setting state of users stream to {'updated_at': '2022-04-22T10:42:36Z', '_last_end_time': 1650624156} 2022-04-22 10:54:22 source > Read 249 records from users stream 2022-04-22 10:54:22 source > Finished syncing SourceZendeskSupport 2022-04-22 10:54:22 source > SourceZendeskSupport runtimes: 2022-04-22 10:54:22 source > Finished syncing SourceZendeskSupport 2022-04-22 10:54:22 INFO i.a.w.DefaultReplicationWorker(lambda$getReplicationRunnable$5):305 - Total records read: 1472 (1 MB) 2022-04-22 10:54:22 INFO i.a.w.DefaultReplicationWorker(run):163 - One of source or destination thread complete. Waiting on the other. 2022-04-22 10:54:22 destination > 2022-04-22 10:54:22 INFO i.a.d.j.DefaultJdbcDatabase(lambda$unsafeQuery$1):106 - closing connection 2022-04-22 10:54:22 destination > 2022-04-22 10:54:22 INFO i.a.i.d.r.FileBuffer(deleteFile):78 - Deleting tempFile data 981e64d2-4918-4b87-88dd-855d445994449156238546801665607.csv.gz 2022-04-22 10:54:22 destination > 2022-04-22 10:54:22 INFO i.a.i.d.r.SerializedBufferingStrategy(lambda$flushAll$2):95 - Flushing buffer of stream tags (10 bytes) 2022-04-22 10:54:22 destination > 2022-04-22 10:54:22 INFO i.a.i.d.s.StagingConsumerFactory(lambda$flushBufferFunction$3):155 - Flushing buffer for stream tags (10 bytes) to staging 2022-04-22 10:54:22 destination > 2022-04-22 10:54:22 INFO i.a.i.d.r.BaseSerializedBuffer(flush):123 - Finished writing data to 6cfb05f6-be3c-4e6b-a437-ce3ccadf89d07777421057742527583.csv.gz (5 KB) 2022-04-22 10:54:23 destination > 2022-04-22 10:54:23 INFO i.a.d.j.DefaultJdbcDatabase(lambda$unsafeQuery$1):106 - closing connection 2022-04-22 10:54:23 destination > 2022-04-22 10:54:23 INFO i.a.i.d.r.FileBuffer(deleteFile):78 - Deleting tempFile data 6cfb05f6-be3c-4e6b-a437-ce3ccadf89d07777421057742527583.csv.gz 2022-04-22 10:54:23 destination > 2022-04-22 10:54:23 INFO i.a.i.d.r.SerializedBufferingStrategy(lambda$flushAll$2):95 - Flushing buffer of stream ticket_metric_events (10 bytes) 2022-04-22 10:54:23 destination > 2022-04-22 10:54:23 INFO i.a.i.d.s.StagingConsumerFactory(lambda$flushBufferFunction$3):155 - Flushing buffer for stream ticket_metric_events (10 bytes) to staging 2022-04-22 10:54:23 destination > 2022-04-22 10:54:23 INFO i.a.i.d.r.BaseSerializedBuffer(flush):123 - Finished writing data to fdbd2628-0da4-486c-91c0-a355a9d2fd6515061410219341258844.csv.gz (19 KB) 2022-04-22 10:54:23 destination > 2022-04-22 10:54:23 INFO i.a.d.j.DefaultJdbcDatabase(lambda$unsafeQuery$1):106 - closing connection 2022-04-22 10:54:23 destination > 2022-04-22 10:54:23 INFO i.a.i.d.r.FileBuffer(deleteFile):78 - Deleting tempFile data fdbd2628-0da4-486c-91c0-a355a9d2fd6515061410219341258844.csv.gz 2022-04-22 10:54:23 destination > 2022-04-22 10:54:23 INFO i.a.i.d.r.SerializedBufferingStrategy(lambda$flushAll$2):95 - Flushing buffer of stream ticket_comments (10 bytes) 2022-04-22 10:54:23 destination > 2022-04-22 10:54:23 INFO i.a.i.d.s.StagingConsumerFactory(lambda$flushBufferFunction$3):155 - Flushing buffer for stream ticket_comments (10 bytes) to staging 2022-04-22 10:54:23 destination > 2022-04-22 10:54:23 INFO i.a.i.d.r.BaseSerializedBuffer(flush):123 - Finished writing data to 17bb14cb-634a-48ca-926e-afac60b938523808518596553342197.csv.gz (17 KB) 2022-04-22 10:54:23 destination > 2022-04-22 10:54:23 INFO i.a.d.j.DefaultJdbcDatabase(lambda$unsafeQuery$1):106 - closing connection 2022-04-22 10:54:23 destination > 2022-04-22 10:54:23 INFO i.a.i.d.r.FileBuffer(deleteFile):78 - Deleting tempFile data 17bb14cb-634a-48ca-926e-afac60b938523808518596553342197.csv.gz 2022-04-22 10:54:23 destination > 2022-04-22 10:54:23 INFO i.a.i.d.r.SerializedBufferingStrategy(lambda$flushAll$2):95 - Flushing buffer of stream sla_policies (10 bytes) 2022-04-22 10:54:23 destination > 2022-04-22 10:54:23 INFO i.a.i.d.s.StagingConsumerFactory(lambda$flushBufferFunction$3):155 - Flushing buffer for stream sla_policies (10 bytes) to staging 2022-04-22 10:54:23 destination > 2022-04-22 10:54:23 INFO i.a.i.d.r.BaseSerializedBuffer(flush):123 - Finished writing data to 2a2aea65-cf34-4327-9c84-8b20a3bd6b9e9792691403256580252.csv.gz (486 bytes) 2022-04-22 10:54:24 destination > 2022-04-22 10:54:24 INFO i.a.d.j.DefaultJdbcDatabase(lambda$unsafeQuery$1):106 - closing connection 2022-04-22 10:54:24 destination > 2022-04-22 10:54:24 INFO i.a.i.d.r.FileBuffer(deleteFile):78 - Deleting tempFile data 2a2aea65-cf34-4327-9c84-8b20a3bd6b9e9792691403256580252.csv.gz 2022-04-22 10:54:24 destination > 2022-04-22 10:54:24 INFO i.a.i.d.r.SerializedBufferingStrategy(lambda$flushAll$2):95 - Flushing buffer of stream ticket_metrics (10 bytes) 2022-04-22 10:54:24 destination > 2022-04-22 10:54:24 INFO i.a.i.d.s.StagingConsumerFactory(lambda$flushBufferFunction$3):155 - Flushing buffer for stream ticket_metrics (10 bytes) to staging 2022-04-22 10:54:24 destination > 2022-04-22 10:54:24 INFO i.a.i.d.r.BaseSerializedBuffer(flush):123 - Finished writing data to 33067238-f2ac-4f6a-a49c-29194be6d52612621666719649817817.csv.gz (4 KB) 2022-04-22 10:54:24 destination > 2022-04-22 10:54:24 INFO i.a.d.j.DefaultJdbcDatabase(lambda$unsafeQuery$1):106 - closing connection 2022-04-22 10:54:24 destination > 2022-04-22 10:54:24 INFO i.a.i.d.r.FileBuffer(deleteFile):78 - Deleting tempFile data 33067238-f2ac-4f6a-a49c-29194be6d52612621666719649817817.csv.gz 2022-04-22 10:54:24 destination > 2022-04-22 10:54:24 INFO i.a.i.d.r.SerializedBufferingStrategy(lambda$flushAll$2):95 - Flushing buffer of stream tickets (23 KB) 2022-04-22 10:54:24 destination > 2022-04-22 10:54:24 INFO i.a.i.d.s.StagingConsumerFactory(lambda$flushBufferFunction$3):155 - Flushing buffer for stream tickets (23 KB) to staging 2022-04-22 10:54:24 destination > 2022-04-22 10:54:24 INFO i.a.i.d.r.BaseSerializedBuffer(flush):123 - Finished writing data to a9237e64-40c9-47be-8703-5f6976d3493c4656029345365732404.csv.gz (42 KB) 2022-04-22 10:54:25 destination > 2022-04-22 10:54:25 INFO i.a.d.j.DefaultJdbcDatabase(lambda$unsafeQuery$1):106 - closing connection 2022-04-22 10:54:25 destination > 2022-04-22 10:54:25 INFO i.a.i.d.r.FileBuffer(deleteFile):78 - Deleting tempFile data a9237e64-40c9-47be-8703-5f6976d3493c4656029345365732404.csv.gz 2022-04-22 10:54:25 destination > 2022-04-22 10:54:25 INFO i.a.i.d.r.SerializedBufferingStrategy(lambda$flushAll$2):95 - Flushing buffer of stream users (10 bytes) 2022-04-22 10:54:25 destination > 2022-04-22 10:54:25 INFO i.a.i.d.s.StagingConsumerFactory(lambda$flushBufferFunction$3):155 - Flushing buffer for stream users (10 bytes) to staging 2022-04-22 10:54:25 destination > 2022-04-22 10:54:25 INFO i.a.i.d.r.BaseSerializedBuffer(flush):123 - Finished writing data to 0791280c-9645-4558-b3fb-02add5301ff34942560439963287301.csv.gz (806 bytes) 2022-04-22 10:54:25 destination > 2022-04-22 10:54:25 INFO i.a.d.j.DefaultJdbcDatabase(lambda$unsafeQuery$1):106 - closing connection 2022-04-22 10:54:25 destination > 2022-04-22 10:54:25 INFO i.a.i.d.r.FileBuffer(deleteFile):78 - Deleting tempFile data 0791280c-9645-4558-b3fb-02add5301ff34942560439963287301.csv.gz 2022-04-22 10:54:25 destination > 2022-04-22 10:54:25 INFO i.a.i.d.r.SerializedBufferingStrategy(lambda$flushAll$2):95 - Flushing buffer of stream ticket_audits (46 KB) 2022-04-22 10:54:25 destination > 2022-04-22 10:54:25 INFO i.a.i.d.s.StagingConsumerFactory(lambda$flushBufferFunction$3):155 - Flushing buffer for stream ticket_audits (46 KB) to staging 2022-04-22 10:54:25 destination > 2022-04-22 10:54:25 INFO i.a.i.d.r.BaseSerializedBuffer(flush):123 - Finished writing data to 4f1d2734-8556-4e2a-b422-83ff73dcf0ab179527925626093877.csv.gz (48 KB) 2022-04-22 10:54:25 destination > 2022-04-22 10:54:25 INFO i.a.d.j.DefaultJdbcDatabase(lambda$unsafeQuery$1):106 - closing connection 2022-04-22 10:54:25 destination > 2022-04-22 10:54:25 INFO i.a.i.d.r.FileBuffer(deleteFile):78 - Deleting tempFile data 4f1d2734-8556-4e2a-b422-83ff73dcf0ab179527925626093877.csv.gz 2022-04-22 10:54:25 destination > 2022-04-22 10:54:25 INFO i.a.i.d.r.SerializedBufferingStrategy(lambda$flushAll$2):95 - Flushing buffer of stream satisfaction_ratings (10 bytes) 2022-04-22 10:54:25 destination > 2022-04-22 10:54:25 INFO i.a.i.d.s.StagingConsumerFactory(lambda$flushBufferFunction$3):155 - Flushing buffer for stream satisfaction_ratings (10 bytes) to staging 2022-04-22 10:54:25 destination > 2022-04-22 10:54:25 INFO i.a.i.d.r.BaseSerializedBuffer(flush):123 - Finished writing data to c5f385cb-1efe-4ca4-9707-2878a1e6dd4e942784547853001769.csv.gz (572 bytes) 2022-04-22 10:54:26 destination > 2022-04-22 10:54:26 INFO i.a.d.j.DefaultJdbcDatabase(lambda$unsafeQuery$1):106 - closing connection 2022-04-22 10:54:26 destination > 2022-04-22 10:54:26 INFO i.a.i.d.r.FileBuffer(deleteFile):78 - Deleting tempFile data c5f385cb-1efe-4ca4-9707-2878a1e6dd4e942784547853001769.csv.gz 2022-04-22 10:54:26 destination > 2022-04-22 10:54:26 INFO i.a.i.d.r.SerializedBufferingStrategy(close):119 - Closing buffer for stream schedules 2022-04-22 10:54:26 destination > 2022-04-22 10:54:26 INFO i.a.i.d.r.SerializedBufferingStrategy(close):119 - Closing buffer for stream tags 2022-04-22 10:54:26 destination > 2022-04-22 10:54:26 INFO i.a.i.d.r.SerializedBufferingStrategy(close):119 - Closing buffer for stream ticket_metric_events 2022-04-22 10:54:26 destination > 2022-04-22 10:54:26 INFO i.a.i.d.r.SerializedBufferingStrategy(close):119 - Closing buffer for stream ticket_comments 2022-04-22 10:54:26 destination > 2022-04-22 10:54:26 INFO i.a.i.d.r.SerializedBufferingStrategy(close):119 - Closing buffer for stream sla_policies 2022-04-22 10:54:26 destination > 2022-04-22 10:54:26 INFO i.a.i.d.r.SerializedBufferingStrategy(close):119 - Closing buffer for stream ticket_metrics 2022-04-22 10:54:26 destination > 2022-04-22 10:54:26 INFO i.a.i.d.r.SerializedBufferingStrategy(close):119 - Closing buffer for stream tickets 2022-04-22 10:54:26 destination > 2022-04-22 10:54:26 INFO i.a.i.d.r.SerializedBufferingStrategy(close):119 - Closing buffer for stream users 2022-04-22 10:54:26 destination > 2022-04-22 10:54:26 INFO i.a.i.d.r.SerializedBufferingStrategy(close):119 - Closing buffer for stream ticket_audits 2022-04-22 10:54:26 destination > 2022-04-22 10:54:26 INFO i.a.i.d.r.SerializedBufferingStrategy(close):119 - Closing buffer for stream satisfaction_ratings 2022-04-22 10:54:26 destination > 2022-04-22 10:54:26 INFO i.a.i.d.r.SerializedBufferingStrategy(lambda$addRecord$0):55 - Starting a new buffer for stream users (current state: 0 bytes in 0 buffers) 2022-04-22 10:54:26 destination > 2022-04-22 10:54:26 WARN i.a.i.b.IntegrationRunner(watchForOrphanThreads):229 - The main thread is exiting while children non-daemon threads from a connector are still active. 2022-04-22 10:54:26 destination > Ideally, this situation should not happen... 2022-04-22 10:54:26 destination > Please check with maintainers if the connector or library code should safely clean up its threads before quitting instead. 2022-04-22 10:54:26 destination > The main thread is: main (RUNNABLE) 2022-04-22 10:54:26 destination > Thread stacktrace: java.base/java.lang.Thread.getStackTrace(Thread.java:1610) 2022-04-22 10:54:26 destination > at io.airbyte.integrations.base.IntegrationRunner.dumpThread(IntegrationRunner.java:264) 2022-04-22 10:54:26 destination > at io.airbyte.integrations.base.IntegrationRunner.watchForOrphanThreads(IntegrationRunner.java:233) 2022-04-22 10:54:26 destination > at io.airbyte.integrations.base.IntegrationRunner.runConsumer(IntegrationRunner.java:190) 2022-04-22 10:54:26 destination > at io.airbyte.integrations.base.IntegrationRunner.lambda$runInternal$1(IntegrationRunner.java:163) 2022-04-22 10:54:26 destination > at io.airbyte.integrations.base.sentry.AirbyteSentry.executeWithTracing(AirbyteSentry.java:54) 2022-04-22 10:54:26 destination > at io.airbyte.integrations.base.sentry.AirbyteSentry.executeWithTracing(AirbyteSentry.java:38) 2022-04-22 10:54:26 destination > at io.airbyte.integrations.base.IntegrationRunner.runInternal(IntegrationRunner.java:163) 2022-04-22 10:54:26 destination > at io.airbyte.integrations.base.IntegrationRunner.run(IntegrationRunner.java:105) 2022-04-22 10:54:26 destination > at io.airbyte.integrations.destination.snowflake.SnowflakeDestination.main(SnowflakeDestination.java:30) 2022-04-22 10:54:26 destination > 2022-04-22 10:54:26 WARN i.a.i.b.IntegrationRunner(watchForOrphanThreads):243 - Active non-daemon thread: pool-4-thread-2 (TIMED_WAITING) 2022-04-22 10:54:26 destination > Thread stacktrace: java.base@17.0.1/jdk.internal.misc.Unsafe.park(Native Method) 2022-04-22 10:54:26 destination > at java.base@17.0.1/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:252) 2022-04-22 10:54:26 destination > at java.base@17.0.1/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:1672) 2022-04-22 10:54:26 destination > at java.base@17.0.1/java.util.concurrent.LinkedBlockingQueue.poll(LinkedBlockingQueue.java:460) 2022-04-22 10:54:26 destination > at java.base@17.0.1/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1061) 2022-04-22 10:54:26 destination > at java.base@17.0.1/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1122) 2022-04-22 10:54:26 destination > at java.base@17.0.1/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) 2022-04-22 10:54:26 destination > at java.base@17.0.1/java.lang.Thread.run(Thread.java:833) 2022-04-22 10:54:26 destination > 2022-04-22 10:54:26 INFO i.a.i.b.FailureTrackingAirbyteMessageConsumer(close):65 - Airbyte message consumer: succeeded. 2022-04-22 10:54:26 destination > 2022-04-22 10:54:26 INFO i.a.i.d.b.BufferedStreamConsumer(close):170 - executing on success close procedure. 2022-04-22 10:54:26 destination > 2022-04-22 10:54:26 INFO i.a.i.d.r.SerializedBufferingStrategy(flushAll):92 - Flushing all 1 current buffers (21 KB in total) 2022-04-22 10:54:26 destination > 2022-04-22 10:54:26 INFO i.a.i.d.r.SerializedBufferingStrategy(lambda$flushAll$2):95 - Flushing buffer of stream users (21 KB) 2022-04-22 10:54:26 destination > 2022-04-22 10:54:26 INFO i.a.i.d.s.StagingConsumerFactory(lambda$flushBufferFunction$3):155 - Flushing buffer for stream users (21 KB) to staging 2022-04-22 10:54:26 destination > 2022-04-22 10:54:26 INFO i.a.i.d.r.BaseSerializedBuffer(flush):123 - Finished writing data to 89b991bf-375c-4e4b-a4f6-e9b27b4147b26789111947695135548.csv.gz (35 KB) 2022-04-22 10:54:26 destination > 2022-04-22 10:54:26 INFO i.a.d.j.DefaultJdbcDatabase(lambda$unsafeQuery$1):106 - closing connection 2022-04-22 10:54:26 destination > 2022-04-22 10:54:26 INFO i.a.i.d.r.FileBuffer(deleteFile):78 - Deleting tempFile data 89b991bf-375c-4e4b-a4f6-e9b27b4147b26789111947695135548.csv.gz 2022-04-22 10:54:26 destination > 2022-04-22 10:54:26 INFO i.a.i.d.r.SerializedBufferingStrategy(close):119 - Closing buffer for stream users 2022-04-22 10:54:26 destination > 2022-04-22 10:54:26 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onCloseFunction$4):182 - Copying into tables in destination started for 16 streams 2022-04-22 10:54:26 destination > 2022-04-22 10:54:26 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onCloseFunction$4):191 - Copying stream group_memberships of schema ZENDESK_SUPPORT into tmp table _airbyte_tmp_ndb_group_memberships to final table _airbyte_raw_group_memberships from stage path 2022/04/22/10/6B25A253-9337-46DE-B35C-B1514AD2A983/ with 0 file(s) [] 2022-04-22 10:54:27 destination > 2022-04-22 10:54:27 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onCloseFunction$4):191 - Copying stream groups of schema ZENDESK_SUPPORT into tmp table _airbyte_tmp_gdj_groups to final table _airbyte_raw_groups from stage path 2022/04/22/10/6B25A253-9337-46DE-B35C-B1514AD2A983/ with 0 file(s) [] 2022-04-22 10:54:28 destination > 2022-04-22 10:54:28 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onCloseFunction$4):191 - Copying stream macros of schema ZENDESK_SUPPORT into tmp table _airbyte_tmp_uif_macros to final table _airbyte_raw_macros from stage path 2022/04/22/10/6B25A253-9337-46DE-B35C-B1514AD2A983/ with 0 file(s) [] 2022-04-22 10:54:28 destination > 2022-04-22 10:54:28 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onCloseFunction$4):191 - Copying stream organizations of schema ZENDESK_SUPPORT into tmp table _airbyte_tmp_iws_organizations to final table _airbyte_raw_organizations from stage path 2022/04/22/10/6B25A253-9337-46DE-B35C-B1514AD2A983/ with 0 file(s) [] 2022-04-22 10:54:29 destination > 2022-04-22 10:54:29 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onCloseFunction$4):191 - Copying stream satisfaction_ratings of schema ZENDESK_SUPPORT into tmp table _airbyte_tmp_olj_satisfaction_ratings to final table _airbyte_raw_satisfaction_ratings from stage path 2022/04/22/10/6B25A253-9337-46DE-B35C-B1514AD2A983/ with 1 file(s) [c5f385cb-1efe-4ca4-9707-2878a1e6dd4e942784547853001769.csv.gz] 2022-04-22 10:54:30 destination > 2022-04-22 10:54:30 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onCloseFunction$4):191 - Copying stream schedules of schema ZENDESK_SUPPORT into tmp table _airbyte_tmp_sun_schedules to final table _airbyte_raw_schedules from stage path 2022/04/22/10/6B25A253-9337-46DE-B35C-B1514AD2A983/ with 1 file(s) [981e64d2-4918-4b87-88dd-855d445994449156238546801665607.csv.gz] 2022-04-22 10:54:31 destination > 2022-04-22 10:54:31 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onCloseFunction$4):191 - Copying stream sla_policies of schema ZENDESK_SUPPORT into tmp table _airbyte_tmp_jvt_sla_policies to final table _airbyte_raw_sla_policies from stage path 2022/04/22/10/6B25A253-9337-46DE-B35C-B1514AD2A983/ with 1 file(s) [2a2aea65-cf34-4327-9c84-8b20a3bd6b9e9792691403256580252.csv.gz] 2022-04-22 10:54:32 destination > 2022-04-22 10:54:32 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onCloseFunction$4):191 - Copying stream tags of schema ZENDESK_SUPPORT into tmp table _airbyte_tmp_cih_tags to final table _airbyte_raw_tags from stage path 2022/04/22/10/6B25A253-9337-46DE-B35C-B1514AD2A983/ with 1 file(s) [6cfb05f6-be3c-4e6b-a437-ce3ccadf89d07777421057742527583.csv.gz] 2022-04-22 10:54:33 destination > 2022-04-22 10:54:33 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onCloseFunction$4):191 - Copying stream ticket_audits of schema ZENDESK_SUPPORT into tmp table _airbyte_tmp_ggi_ticket_audits to final table _airbyte_raw_ticket_audits from stage path 2022/04/22/10/6B25A253-9337-46DE-B35C-B1514AD2A983/ with 1 file(s) [4f1d2734-8556-4e2a-b422-83ff73dcf0ab179527925626093877.csv.gz] 2022-04-22 10:54:34 destination > 2022-04-22 10:54:34 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onCloseFunction$4):191 - Copying stream ticket_comments of schema ZENDESK_SUPPORT into tmp table _airbyte_tmp_eef_ticket_comments to final table _airbyte_raw_ticket_comments from stage path 2022/04/22/10/6B25A253-9337-46DE-B35C-B1514AD2A983/ with 1 file(s) [17bb14cb-634a-48ca-926e-afac60b938523808518596553342197.csv.gz] 2022-04-22 10:54:35 destination > 2022-04-22 10:54:35 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onCloseFunction$4):191 - Copying stream ticket_fields of schema ZENDESK_SUPPORT into tmp table _airbyte_tmp_vmo_ticket_fields to final table _airbyte_raw_ticket_fields from stage path 2022/04/22/10/6B25A253-9337-46DE-B35C-B1514AD2A983/ with 0 file(s) [] 2022-04-22 10:54:35 destination > 2022-04-22 10:54:35 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onCloseFunction$4):191 - Copying stream ticket_forms of schema ZENDESK_SUPPORT into tmp table _airbyte_tmp_yps_ticket_forms to final table _airbyte_raw_ticket_forms from stage path 2022/04/22/10/6B25A253-9337-46DE-B35C-B1514AD2A983/ with 0 file(s) [] 2022-04-22 10:54:35 destination > 2022-04-22 10:54:35 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onCloseFunction$4):191 - Copying stream ticket_metric_events of schema ZENDESK_SUPPORT into tmp table _airbyte_tmp_onz_ticket_metric_events to final table _airbyte_raw_ticket_metric_events from stage path 2022/04/22/10/6B25A253-9337-46DE-B35C-B1514AD2A983/ with 1 file(s) [fdbd2628-0da4-486c-91c0-a355a9d2fd6515061410219341258844.csv.gz] 2022-04-22 10:54:36 destination > 2022-04-22 10:54:36 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onCloseFunction$4):191 - Copying stream ticket_metrics of schema ZENDESK_SUPPORT into tmp table _airbyte_tmp_hls_ticket_metrics to final table _airbyte_raw_ticket_metrics from stage path 2022/04/22/10/6B25A253-9337-46DE-B35C-B1514AD2A983/ with 1 file(s) [33067238-f2ac-4f6a-a49c-29194be6d52612621666719649817817.csv.gz] 2022-04-22 10:54:37 destination > 2022-04-22 10:54:37 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onCloseFunction$4):191 - Copying stream tickets of schema ZENDESK_SUPPORT into tmp table _airbyte_tmp_lvv_tickets to final table _airbyte_raw_tickets from stage path 2022/04/22/10/6B25A253-9337-46DE-B35C-B1514AD2A983/ with 1 file(s) [a9237e64-40c9-47be-8703-5f6976d3493c4656029345365732404.csv.gz] 2022-04-22 10:54:38 destination > 2022-04-22 10:54:38 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onCloseFunction$4):191 - Copying stream users of schema ZENDESK_SUPPORT into tmp table _airbyte_tmp_abs_users to final table _airbyte_raw_users from stage path 2022/04/22/10/6B25A253-9337-46DE-B35C-B1514AD2A983/ with 2 file(s) [0791280c-9645-4558-b3fb-02add5301ff34942560439963287301.csv.gz,89b991bf-375c-4e4b-a4f6-e9b27b4147b26789111947695135548.csv.gz] 2022-04-22 10:54:39 destination > 2022-04-22 10:54:39 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onCloseFunction$4):213 - Executing finalization of tables. 2022-04-22 10:54:52 destination > 2022-04-22 10:54:52 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onCloseFunction$4):215 - Finalizing tables in destination completed. 2022-04-22 10:54:52 destination > 2022-04-22 10:54:52 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onCloseFunction$4):217 - Cleaning up destination started for 16 streams 2022-04-22 10:54:52 destination > 2022-04-22 10:54:52 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onCloseFunction$4):221 - Cleaning tmp table in destination started for stream group_memberships. schema ZENDESK_SUPPORT, tmp table name: _airbyte_tmp_ndb_group_memberships 2022-04-22 10:54:53 destination > 2022-04-22 10:54:53 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onCloseFunction$4):226 - Cleaning stage in destination started for stream group_memberships. schema ZENDESK_SUPPORT, stage: ZENDESK_SUPPORT_GROUP_MEMBERSHIPS 2022-04-22 10:54:53 destination > 2022-04-22 10:54:53 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onCloseFunction$4):221 - Cleaning tmp table in destination started for stream groups. schema ZENDESK_SUPPORT, tmp table name: _airbyte_tmp_gdj_groups 2022-04-22 10:54:53 destination > 2022-04-22 10:54:53 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onCloseFunction$4):226 - Cleaning stage in destination started for stream groups. schema ZENDESK_SUPPORT, stage: ZENDESK_SUPPORT_GROUPS 2022-04-22 10:54:53 destination > 2022-04-22 10:54:53 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onCloseFunction$4):221 - Cleaning tmp table in destination started for stream macros. schema ZENDESK_SUPPORT, tmp table name: _airbyte_tmp_uif_macros 2022-04-22 10:54:53 destination > 2022-04-22 10:54:53 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onCloseFunction$4):226 - Cleaning stage in destination started for stream macros. schema ZENDESK_SUPPORT, stage: ZENDESK_SUPPORT_MACROS 2022-04-22 10:54:53 destination > 2022-04-22 10:54:53 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onCloseFunction$4):221 - Cleaning tmp table in destination started for stream organizations. schema ZENDESK_SUPPORT, tmp table name: _airbyte_tmp_iws_organizations 2022-04-22 10:54:53 destination > 2022-04-22 10:54:53 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onCloseFunction$4):226 - Cleaning stage in destination started for stream organizations. schema ZENDESK_SUPPORT, stage: ZENDESK_SUPPORT_ORGANIZATIONS 2022-04-22 10:54:53 destination > 2022-04-22 10:54:53 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onCloseFunction$4):221 - Cleaning tmp table in destination started for stream satisfaction_ratings. schema ZENDESK_SUPPORT, tmp table name: _airbyte_tmp_olj_satisfaction_ratings 2022-04-22 10:54:53 destination > 2022-04-22 10:54:53 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onCloseFunction$4):226 - Cleaning stage in destination started for stream satisfaction_ratings. schema ZENDESK_SUPPORT, stage: ZENDESK_SUPPORT_SATISFACTION_RATINGS 2022-04-22 10:54:53 destination > 2022-04-22 10:54:53 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onCloseFunction$4):221 - Cleaning tmp table in destination started for stream schedules. schema ZENDESK_SUPPORT, tmp table name: _airbyte_tmp_sun_schedules 2022-04-22 10:54:54 destination > 2022-04-22 10:54:54 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onCloseFunction$4):226 - Cleaning stage in destination started for stream schedules. schema ZENDESK_SUPPORT, stage: ZENDESK_SUPPORT_SCHEDULES 2022-04-22 10:54:54 destination > 2022-04-22 10:54:54 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onCloseFunction$4):221 - Cleaning tmp table in destination started for stream sla_policies. schema ZENDESK_SUPPORT, tmp table name: _airbyte_tmp_jvt_sla_policies 2022-04-22 10:54:54 destination > 2022-04-22 10:54:54 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onCloseFunction$4):226 - Cleaning stage in destination started for stream sla_policies. schema ZENDESK_SUPPORT, stage: ZENDESK_SUPPORT_SLA_POLICIES 2022-04-22 10:54:54 destination > 2022-04-22 10:54:54 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onCloseFunction$4):221 - Cleaning tmp table in destination started for stream tags. schema ZENDESK_SUPPORT, tmp table name: _airbyte_tmp_cih_tags 2022-04-22 10:54:54 destination > 2022-04-22 10:54:54 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onCloseFunction$4):226 - Cleaning stage in destination started for stream tags. schema ZENDESK_SUPPORT, stage: ZENDESK_SUPPORT_TAGS 2022-04-22 10:54:54 destination > 2022-04-22 10:54:54 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onCloseFunction$4):221 - Cleaning tmp table in destination started for stream ticket_audits. schema ZENDESK_SUPPORT, tmp table name: _airbyte_tmp_ggi_ticket_audits 2022-04-22 10:54:54 destination > 2022-04-22 10:54:54 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onCloseFunction$4):226 - Cleaning stage in destination started for stream ticket_audits. schema ZENDESK_SUPPORT, stage: ZENDESK_SUPPORT_TICKET_AUDITS 2022-04-22 10:54:54 destination > 2022-04-22 10:54:54 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onCloseFunction$4):221 - Cleaning tmp table in destination started for stream ticket_comments. schema ZENDESK_SUPPORT, tmp table name: _airbyte_tmp_eef_ticket_comments 2022-04-22 10:54:54 destination > 2022-04-22 10:54:54 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onCloseFunction$4):226 - Cleaning stage in destination started for stream ticket_comments. schema ZENDESK_SUPPORT, stage: ZENDESK_SUPPORT_TICKET_COMMENTS 2022-04-22 10:54:55 destination > 2022-04-22 10:54:55 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onCloseFunction$4):221 - Cleaning tmp table in destination started for stream ticket_fields. schema ZENDESK_SUPPORT, tmp table name: _airbyte_tmp_vmo_ticket_fields 2022-04-22 10:54:55 destination > 2022-04-22 10:54:55 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onCloseFunction$4):226 - Cleaning stage in destination started for stream ticket_fields. schema ZENDESK_SUPPORT, stage: ZENDESK_SUPPORT_TICKET_FIELDS 2022-04-22 10:54:55 destination > 2022-04-22 10:54:55 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onCloseFunction$4):221 - Cleaning tmp table in destination started for stream ticket_forms. schema ZENDESK_SUPPORT, tmp table name: _airbyte_tmp_yps_ticket_forms 2022-04-22 10:54:55 destination > 2022-04-22 10:54:55 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onCloseFunction$4):226 - Cleaning stage in destination started for stream ticket_forms. schema ZENDESK_SUPPORT, stage: ZENDESK_SUPPORT_TICKET_FORMS 2022-04-22 10:54:55 destination > 2022-04-22 10:54:55 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onCloseFunction$4):221 - Cleaning tmp table in destination started for stream ticket_metric_events. schema ZENDESK_SUPPORT, tmp table name: _airbyte_tmp_onz_ticket_metric_events 2022-04-22 10:54:55 destination > 2022-04-22 10:54:55 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onCloseFunction$4):226 - Cleaning stage in destination started for stream ticket_metric_events. schema ZENDESK_SUPPORT, stage: ZENDESK_SUPPORT_TICKET_METRIC_EVENTS 2022-04-22 10:54:55 destination > 2022-04-22 10:54:55 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onCloseFunction$4):221 - Cleaning tmp table in destination started for stream ticket_metrics. schema ZENDESK_SUPPORT, tmp table name: _airbyte_tmp_hls_ticket_metrics 2022-04-22 10:54:55 destination > 2022-04-22 10:54:55 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onCloseFunction$4):226 - Cleaning stage in destination started for stream ticket_metrics. schema ZENDESK_SUPPORT, stage: ZENDESK_SUPPORT_TICKET_METRICS 2022-04-22 10:54:55 destination > 2022-04-22 10:54:55 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onCloseFunction$4):221 - Cleaning tmp table in destination started for stream tickets. schema ZENDESK_SUPPORT, tmp table name: _airbyte_tmp_lvv_tickets 2022-04-22 10:54:56 destination > 2022-04-22 10:54:56 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onCloseFunction$4):226 - Cleaning stage in destination started for stream tickets. schema ZENDESK_SUPPORT, stage: ZENDESK_SUPPORT_TICKETS 2022-04-22 10:54:56 destination > 2022-04-22 10:54:56 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onCloseFunction$4):221 - Cleaning tmp table in destination started for stream users. schema ZENDESK_SUPPORT, tmp table name: _airbyte_tmp_abs_users 2022-04-22 10:54:56 destination > 2022-04-22 10:54:56 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onCloseFunction$4):226 - Cleaning stage in destination started for stream users. schema ZENDESK_SUPPORT, stage: ZENDESK_SUPPORT_USERS 2022-04-22 10:54:56 destination > 2022-04-22 10:54:56 INFO i.a.i.d.s.StagingConsumerFactory(lambda$onCloseFunction$4):230 - Cleaning up destination completed. 2022-04-22 10:54:56 INFO i.a.w.DefaultReplicationWorker(lambda$getDestinationOutputRunnable$6):349 - State in DefaultReplicationWorker from destination: io.airbyte.protocol.models.AirbyteMessage@39b8f3b2[type=STATE,log=,spec=,connectionStatus=,catalog=,record=,state=io.airbyte.protocol.models.AirbyteStateMessage@377f0af5[data={"users":{"updated_at":"2022-04-22T10:42:36Z","_last_end_time":1650624156},"groups":{"updated_at":"2022-04-19T20:34:41Z"},"macros":{"updated_at":"2022-03-23T18:53:18Z"},"tickets":{"_last_end_time":1650613674,"generated_timestamp":1650613674},"ticket_forms":{"updated_at":"2022-04-06T20:43:47Z"},"organizations":{"updated_at":"2022-04-21T21:06:26Z","_last_end_time":1650575186},"ticket_audits":{"created_at":"2022-04-22T07:47:53Z"},"ticket_fields":{"updated_at":"2022-04-12T15:36:05Z"},"ticket_metrics":{"updated_at":"2022-04-22T07:47:54Z"},"ticket_comments":{"created_at":"2022-04-22T07:47:53Z","_last_end_time":1650613674},"group_memberships":{"updated_at":"2022-04-21T20:39:34Z"},"satisfaction_ratings":{"updated_at":"2022-04-21T23:38:40Z"},"ticket_metric_events":{"time":"2022-04-22T10:00:29Z","_last_end_time":1650621629}},additionalProperties={}],additionalProperties={}] 2022-04-22 10:54:56 destination > 2022-04-22 10:54:56 INFO i.a.i.b.IntegrationRunner(runInternal):169 - Completed integration: io.airbyte.integrations.destination.snowflake.SnowflakeDestination 2022-04-22 10:54:58 INFO i.a.w.DefaultReplicationWorker(run):165 - Source and destination threads complete. 2022-04-22 10:54:58 INFO i.a.w.DefaultReplicationWorker(run):228 - sync summary: io.airbyte.config.ReplicationAttemptSummary@6e8011a2[status=completed,recordsSynced=1199,bytesSynced=1254238,startTime=1650624759329,endTime=1650624898195,totalStats=io.airbyte.config.SyncStats@34cd7f6f[recordsEmitted=1199,bytesEmitted=1254238,stateMessagesEmitted=273,recordsCommitted=1199],streamStats=[io.airbyte.config.StreamSyncStats@73b84d90[streamName=tickets,stats=io.airbyte.config.SyncStats@715099ca[recordsEmitted=79,bytesEmitted=343300,stateMessagesEmitted=,recordsCommitted=79]], io.airbyte.config.StreamSyncStats@1f338b43[streamName=ticket_audits,stats=io.airbyte.config.SyncStats@405aa9cd[recordsEmitted=131,bytesEmitted=310894,stateMessagesEmitted=,recordsCommitted=131]], io.airbyte.config.StreamSyncStats@713fa89b[streamName=schedules,stats=io.airbyte.config.SyncStats@4d4f1bf[recordsEmitted=4,bytesEmitted=1481,stateMessagesEmitted=,recordsCommitted=4]], io.airbyte.config.StreamSyncStats@7be0bf5[streamName=ticket_comments,stats=io.airbyte.config.SyncStats@12bfde0e[recordsEmitted=40,bytesEmitted=96207,stateMessagesEmitted=,recordsCommitted=40]], io.airbyte.config.StreamSyncStats@1e48d7b2[streamName=ticket_metrics,stats=io.airbyte.config.SyncStats@3db294cd[recordsEmitted=44,bytesEmitted=39636,stateMessagesEmitted=,recordsCommitted=44]], io.airbyte.config.StreamSyncStats@4aa4d12d[streamName=sla_policies,stats=io.airbyte.config.SyncStats@260729d9[recordsEmitted=2,bytesEmitted=1193,stateMessagesEmitted=,recordsCommitted=2]], io.airbyte.config.StreamSyncStats@7e2a9fec[streamName=ticket_metric_events,stats=io.airbyte.config.SyncStats@57976818[recordsEmitted=491,bytesEmitted=71615,stateMessagesEmitted=,recordsCommitted=491]], io.airbyte.config.StreamSyncStats@3b56f67e[streamName=users,stats=io.airbyte.config.SyncStats@2400492c[recordsEmitted=249,bytesEmitted=382100,stateMessagesEmitted=,recordsCommitted=249]], io.airbyte.config.StreamSyncStats@e7f77bf[streamName=satisfaction_ratings,stats=io.airbyte.config.SyncStats@624409c0[recordsEmitted=5,bytesEmitted=1802,stateMessagesEmitted=,recordsCommitted=5]], io.airbyte.config.StreamSyncStats@6eadf6f0[streamName=tags,stats=io.airbyte.config.SyncStats@48428b20[recordsEmitted=154,bytesEmitted=6010,stateMessagesEmitted=,recordsCommitted=154]]]] 2022-04-22 10:54:58 INFO i.a.w.DefaultReplicationWorker(run):248 - Source output at least one state message 2022-04-22 10:54:58 INFO i.a.w.DefaultReplicationWorker(run):254 - State capture: Updated state to: Optional[io.airbyte.config.State@3d75cf18[state={"users":{"updated_at":"2022-04-22T10:42:36Z","_last_end_time":1650624156},"groups":{"updated_at":"2022-04-19T20:34:41Z"},"macros":{"updated_at":"2022-03-23T18:53:18Z"},"tickets":{"_last_end_time":1650613674,"generated_timestamp":1650613674},"ticket_forms":{"updated_at":"2022-04-06T20:43:47Z"},"organizations":{"updated_at":"2022-04-21T21:06:26Z","_last_end_time":1650575186},"ticket_audits":{"created_at":"2022-04-22T07:47:53Z"},"ticket_fields":{"updated_at":"2022-04-12T15:36:05Z"},"ticket_metrics":{"updated_at":"2022-04-22T07:47:54Z"},"ticket_comments":{"created_at":"2022-04-22T07:47:53Z","_last_end_time":1650613674},"group_memberships":{"updated_at":"2022-04-21T20:39:34Z"},"satisfaction_ratings":{"updated_at":"2022-04-21T23:38:40Z"},"ticket_metric_events":{"time":"2022-04-22T10:00:29Z","_last_end_time":1650621629}}]] 2022-04-22 10:54:58 INFO i.a.w.t.TemporalAttemptExecution(get):131 - Stopping cancellation check scheduling... 2022-04-22 10:54:58 INFO i.a.w.t.s.ReplicationActivityImpl(lambda$replicate$1):147 - sync summary: io.airbyte.config.StandardSyncOutput@2cdf490c[standardSyncSummary=io.airbyte.config.StandardSyncSummary@38c56495[status=completed,recordsSynced=1199,bytesSynced=1254238,startTime=1650624759329,endTime=1650624898195,totalStats=io.airbyte.config.SyncStats@34cd7f6f[recordsEmitted=1199,bytesEmitted=1254238,stateMessagesEmitted=273,recordsCommitted=1199],streamStats=[io.airbyte.config.StreamSyncStats@73b84d90[streamName=tickets,stats=io.airbyte.config.SyncStats@715099ca[recordsEmitted=79,bytesEmitted=343300,stateMessagesEmitted=,recordsCommitted=79]], io.airbyte.config.StreamSyncStats@1f338b43[streamName=ticket_audits,stats=io.airbyte.config.SyncStats@405aa9cd[recordsEmitted=131,bytesEmitted=310894,stateMessagesEmitted=,recordsCommitted=131]], io.airbyte.config.StreamSyncStats@713fa89b[streamName=schedules,stats=io.airbyte.config.SyncStats@4d4f1bf[recordsEmitted=4,bytesEmitted=1481,stateMessagesEmitted=,recordsCommitted=4]], io.airbyte.config.StreamSyncStats@7be0bf5[streamName=ticket_comments,stats=io.airbyte.config.SyncStats@12bfde0e[recordsEmitted=40,bytesEmitted=96207,stateMessagesEmitted=,recordsCommitted=40]], io.airbyte.config.StreamSyncStats@1e48d7b2[streamName=ticket_metrics,stats=io.airbyte.config.SyncStats@3db294cd[recordsEmitted=44,bytesEmitted=39636,stateMessagesEmitted=,recordsCommitted=44]], io.airbyte.config.StreamSyncStats@4aa4d12d[streamName=sla_policies,stats=io.airbyte.config.SyncStats@260729d9[recordsEmitted=2,bytesEmitted=1193,stateMessagesEmitted=,recordsCommitted=2]], io.airbyte.config.StreamSyncStats@7e2a9fec[streamName=ticket_metric_events,stats=io.airbyte.config.SyncStats@57976818[recordsEmitted=491,bytesEmitted=71615,stateMessagesEmitted=,recordsCommitted=491]], io.airbyte.config.StreamSyncStats@3b56f67e[streamName=users,stats=io.airbyte.config.SyncStats@2400492c[recordsEmitted=249,bytesEmitted=382100,stateMessagesEmitted=,recordsCommitted=249]], io.airbyte.config.StreamSyncStats@e7f77bf[streamName=satisfaction_ratings,stats=io.airbyte.config.SyncStats@624409c0[recordsEmitted=5,bytesEmitted=1802,stateMessagesEmitted=,recordsCommitted=5]], io.airbyte.config.StreamSyncStats@6eadf6f0[streamName=tags,stats=io.airbyte.config.SyncStats@48428b20[recordsEmitted=154,bytesEmitted=6010,stateMessagesEmitted=,recordsCommitted=154]]]],state=io.airbyte.config.State@3d75cf18[state={"users":{"updated_at":"2022-04-22T10:42:36Z","_last_end_time":1650624156},"groups":{"updated_at":"2022-04-19T20:34:41Z"},"macros":{"updated_at":"2022-03-23T18:53:18Z"},"tickets":{"_last_end_time":1650613674,"generated_timestamp":1650613674},"ticket_forms":{"updated_at":"2022-04-06T20:43:47Z"},"organizations":{"updated_at":"2022-04-21T21:06:26Z","_last_end_time":1650575186},"ticket_audits":{"created_at":"2022-04-22T07:47:53Z"},"ticket_fields":{"updated_at":"2022-04-12T15:36:05Z"},"ticket_metrics":{"updated_at":"2022-04-22T07:47:54Z"},"ticket_comments":{"created_at":"2022-04-22T07:47:53Z","_last_end_time":1650613674},"group_memberships":{"updated_at":"2022-04-21T20:39:34Z"},"satisfaction_ratings":{"updated_at":"2022-04-21T23:38:40Z"},"ticket_metric_events":{"time":"2022-04-22T10:00:29Z","_last_end_time":1650621629}}],outputCatalog=io.airbyte.protocol.models.ConfiguredAirbyteCatalog@5476ffb5[streams=[io.airbyte.protocol.models.ConfiguredAirbyteStream@69a973d0[stream=io.airbyte.protocol.models.AirbyteStream@3fe8d0c0[name=group_memberships,jsonSchema={"type":["null","object"],"properties":{"id":{"type":["null","integer"]},"url":{"type":["null","string"]},"default":{"type":["null","boolean"]},"user_id":{"type":["null","integer"]},"group_id":{"type":["null","integer"]},"created_at":{"type":["null","string"],"format":"date-time"},"updated_at":{"type":["null","string"],"format":"date-time"}}},supportedSyncModes=[full_refresh, incremental],sourceDefinedCursor=true,defaultCursorField=[updated_at],sourceDefinedPrimaryKey=[[id]],namespace=ZENDESK_SUPPORT,additionalProperties={}],syncMode=incremental,cursorField=[updated_at],destinationSyncMode=append_dedup,primaryKey=[[id]],additionalProperties={}], io.airbyte.protocol.models.ConfiguredAirbyteStream@2c9afa64[stream=io.airbyte.protocol.models.AirbyteStream@4f723315[name=groups,jsonSchema={"type":["null","object"],"properties":{"id":{"type":["null","integer"]},"url":{"type":["null","string"]},"name":{"type":["null","string"]},"deleted":{"type":["null","boolean"]},"created_at":{"type":["null","string"],"format":"date-time"},"updated_at":{"type":["null","string"],"format":"date-time"}}},supportedSyncModes=[full_refresh, incremental],sourceDefinedCursor=true,defaultCursorField=[updated_at],sourceDefinedPrimaryKey=[[id]],namespace=ZENDESK_SUPPORT,additionalProperties={}],syncMode=incremental,cursorField=[updated_at],destinationSyncMode=append_dedup,primaryKey=[[id]],additionalProperties={}], io.airbyte.protocol.models.ConfiguredAirbyteStream@6de7eed8[stream=io.airbyte.protocol.models.AirbyteStream@14f05d74[name=macros,jsonSchema={"type":["null","object"],"properties":{"id":{"type":["null","integer"]},"url":{"type":["null","string"]},"title":{"type":["null","string"]},"active":{"type":["null","boolean"]},"actions":{"type":["null","array"],"items":{"type":["null","object"],"properties":{"field":{"type":["null","string"]},"value":{"type":["null","string"]}}}},"position":{"type":["null","integer"]},"created_at":{"type":["null","string"],"format":"date-time"},"updated_at":{"type":["null","string"],"format":"date-time"},"description":{"type":["null","string"]},"restriction":{"type":["null","object"],"properties":{"id":{"type":["null","integer"]},"ids":{"type":["null","array"],"items":{"type":["null","integer"]}},"type":{"type":["null","string"]}}}}},supportedSyncModes=[full_refresh, incremental],sourceDefinedCursor=true,defaultCursorField=[updated_at],sourceDefinedPrimaryKey=[[id]],namespace=ZENDESK_SUPPORT,additionalProperties={}],syncMode=incremental,cursorField=[updated_at],destinationSyncMode=append_dedup,primaryKey=[[id]],additionalProperties={}], io.airbyte.protocol.models.ConfiguredAirbyteStream@6fc2cc54[stream=io.airbyte.protocol.models.AirbyteStream@3176b022[name=organizations,jsonSchema={"type":["null","object"],"properties":{"id":{"type":["null","integer"]},"url":{"type":["null","string"]},"name":{"type":["null","string"]},"tags":{"type":["null","array"],"items":{"type":["null","string"]}},"notes":{"type":["null","string"]},"details":{"type":["null","string"]},"group_id":{"type":["null","integer"]},"created_at":{"type":["null","string"],"format":"date-time"},"deleted_at":{"type":["null","string"],"format":"date-time"},"updated_at":{"type":["null","string"],"format":"date-time"},"external_id":{"type":["null","string"]},"domain_names":{"type":["null","array"],"items":{"type":["null","string"]}},"shared_tickets":{"type":["null","boolean"]},"shared_comments":{"type":["null","boolean"]},"organization_fields":{"type":["null","object"],"additionalProperties":true}}},supportedSyncModes=[full_refresh, incremental],sourceDefinedCursor=true,defaultCursorField=[updated_at],sourceDefinedPrimaryKey=[[id]],namespace=ZENDESK_SUPPORT,additionalProperties={}],syncMode=incremental,cursorField=[updated_at],destinationSyncMode=append_dedup,primaryKey=[[id]],additionalProperties={}], io.airbyte.protocol.models.ConfiguredAirbyteStream@63b509fa[stream=io.airbyte.protocol.models.AirbyteStream@7538e305[name=satisfaction_ratings,jsonSchema={"type":"object","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"]}}},supportedSyncModes=[full_refresh, incremental],sourceDefinedCursor=true,defaultCursorField=[updated_at],sourceDefinedPrimaryKey=[[id]],namespace=ZENDESK_SUPPORT,additionalProperties={}],syncMode=incremental,cursorField=[updated_at],destinationSyncMode=append_dedup,primaryKey=[[id]],additionalProperties={}], io.airbyte.protocol.models.ConfiguredAirbyteStream@ce1319a[stream=io.airbyte.protocol.models.AirbyteStream@8927784[name=schedules,jsonSchema={"type":["null","object"],"properties":{"id":{"type":["null","integer"]},"name":{"type":["null","string"]},"intervals":{"type":["null","array"],"items":{"type":["null","object"],"properties":{"end_time":{"type":["null","integer"]},"start_time":{"type":["null","integer"]}}}},"time_zone":{"type":["null","string"]},"created_at":{"type":["null","string"],"format":"date-time"},"updated_at":{"type":["null","string"],"format":"date-time"}}},supportedSyncModes=[full_refresh],sourceDefinedCursor=,defaultCursorField=[],sourceDefinedPrimaryKey=[[id]],namespace=ZENDESK_SUPPORT,additionalProperties={}],syncMode=full_refresh,cursorField=[],destinationSyncMode=overwrite,primaryKey=[[id]],additionalProperties={}], io.airbyte.protocol.models.ConfiguredAirbyteStream@43a355b5[stream=io.airbyte.protocol.models.AirbyteStream@71b1a60f[name=sla_policies,jsonSchema={"type":["object"],"properties":{"id":{"type":["integer"]},"url":{"type":["null","string"]},"title":{"type":["null","string"]},"filter":{"type":["null","object"],"properties":{"all":{"type":["null","array"],"items":{"type":["object"],"properties":{"field":{"type":["null","string"]},"value":{"type":["null","string","number","boolean"]},"operator":{"type":["null","string"]}}}},"any":{"type":["null","array"],"items":{"type":["object"],"properties":{"field":{"type":["null","string"]},"value":{"type":["null","string"]},"operator":{"type":["null","string"]}}}}}},"position":{"type":["null","integer"]},"created_at":{"type":["null","string"],"format":"date-time"},"updated_at":{"type":["null","string"],"format":"date-time"},"description":{"type":["null","string"]},"policy_metrics":{"type":["null","array"],"items":{"type":["null","object"],"properties":{"metric":{"type":["null","string"]},"target":{"type":["null","integer"]},"priority":{"type":["null","string"]},"business_hours":{"type":["null","boolean"]}}}}}},supportedSyncModes=[full_refresh],sourceDefinedCursor=,defaultCursorField=[],sourceDefinedPrimaryKey=[[id]],namespace=ZENDESK_SUPPORT,additionalProperties={}],syncMode=full_refresh,cursorField=[],destinationSyncMode=overwrite,primaryKey=[[id]],additionalProperties={}], io.airbyte.protocol.models.ConfiguredAirbyteStream@74593442[stream=io.airbyte.protocol.models.AirbyteStream@6fec431a[name=tags,jsonSchema={"type":["null","object"],"properties":{"name":{"type":["null","string"]},"count":{"type":["null","integer"]}}},supportedSyncModes=[full_refresh],sourceDefinedCursor=,defaultCursorField=[],sourceDefinedPrimaryKey=[[name]],namespace=ZENDESK_SUPPORT,additionalProperties={}],syncMode=full_refresh,cursorField=[],destinationSyncMode=overwrite,primaryKey=[[name]],additionalProperties={}], io.airbyte.protocol.models.ConfiguredAirbyteStream@363badaf[stream=io.airbyte.protocol.models.AirbyteStream@4ac6f4b9[name=ticket_audits,jsonSchema={"type":["null","object"],"properties":{"id":{"type":["null","integer"]},"via":{"type":["null","object"],"properties":{"source":{"type":["null","object"],"properties":{"to":{"type":["null","object"],"properties":{"name":{"type":["null","string"]},"address":{"type":["null","string"]}}},"rel":{"type":["null","string"]},"from":{"type":["null","object"],"properties":{"id":{"type":["null","integer"]},"name":{"type":["null","string"]},"title":{"type":["null","string"]},"address":{"type":["null","string"]},"deleted":{"type":["null","boolean"]},"subject":{"type":["null","string"]},"ticket_id":{"type":["null","integer"]},"ticket_ids":{"type":["null","array"],"items":{"type":["null","integer"]}},"original_recipients":{"type":["null","array"],"items":{"type":["null","string"]}}}}}},"channel":{"type":["null","string"]}}},"events":{"type":["null","array"],"items":{"type":["null","object"],"properties":{"id":{"type":["null","integer"]},"via":{"type":["null","object"],"properties":{"source":{"type":["null","object"],"properties":{"to":{"type":["null","object"],"properties":{"name":{"type":["null","string"]},"address":{"type":["null","string"]}}},"rel":{"type":["null","string"]},"from":{"type":["null","object"],"properties":{"id":{"type":["null","integer"]},"name":{"type":["null","string"]},"title":{"type":["null","string"]},"address":{"type":["null","string"]},"deleted":{"type":["null","boolean"]},"subject":{"type":["null","string"]},"ticket_id":{"type":["null","integer"]},"revision_id":{"type":["null","integer"]},"original_recipients":{"type":["null","array"],"items":{"type":["null","string"]}}}}}},"channel":{"type":["null","string"]}}},"body":{"type":["null","string"]},"data":{"type":["null","object"],"properties":{"to":{"type":["null","string"]},"from":{"type":["null","string"]},"started_at":{"type":["null","string"],"format":"date-time"},"call_duration":{"type":["null","string"]},"recording_url":{"type":["null","string"]},"answered_by_id":{"type":["null","integer"]},"answered_by_name":{"type":["null","string"]},"transcription_text":{"type":["null","string"]},"transcription_status":{"type":["null","string"]}}},"type":{"type":["null","string"]},"value":{"type":["null","string"]},"public":{"type":["null","boolean"]},"subject":{"type":["null","string"]},"trusted":{"type":["null","boolean"]},"audit_id":{"type":["null","integer"]},"macro_id":{"type":["null","string"]},"resource":{"type":["null","string"]},"author_id":{"type":["null","integer"]},"html_body":{"type":["null","string"]},"created_at":{"type":["null","string"],"format":"date-time"},"field_name":{"type":["null","string"]},"plain_body":{"type":["null","string"]},"recipients":{"type":["null","array"],"items":{"type":["null","integer"]}},"attachments":{"type":["null","array"],"items":{"type":["null","object"],"properties":{"id":{"type":["null","integer"]},"url":{"type":["null","string"]},"size":{"type":["null","integer"]},"width":{"type":["null","integer"]},"height":{"type":["null","integer"]},"inline":{"type":["null","boolean"]},"file_name":{"type":["null","string"]},"thumbnails":{"type":["null","array"],"items":{"type":["null","object"],"properties":{"id":{"type":["null","integer"]},"url":{"type":["null","string"]},"size":{"type":["null","integer"]},"width":{"type":["null","integer"]},"height":{"type":["null","integer"]},"inline":{"type":["null","boolean"]},"file_name":{"type":["null","string"]},"content_url":{"type":["null","string"]},"content_type":{"type":["null","string"]},"mapped_content_url":{"type":["null","string"]}}}},"content_url":{"type":["null","string"]},"content_type":{"type":["null","string"]},"mapped_content_url":{"type":["null","string"]}}}},"macro_title":{"type":["null","string"]},"formatted_to":{"type":["null","string"]},"macro_deleted":{"type":["null","boolean"]},"formatted_from":{"type":["null","string"]},"previous_value":{"type":["null","string"]},"transcription_visible":{"type":["null","boolean"]}}}},"metadata":{"type":["null","object"],"properties":{"flags":{"type":["null","array"],"items":{"type":["null","integer"]}},"custom":{"type":["null","object"]},"system":{"type":["null","object"],"properties":{"client":{"type":["null","string"]},"latitude":{"type":["null","number"]},"location":{"type":["null","string"]},"longitude":{"type":["null","number"]},"ip_address":{"type":["null","string"]},"message_id":{"type":["null","string"]},"raw_email_identifier":{"type":["null","string"]},"json_email_identifier":{"type":["null","string"]}}},"trusted":{"type":["null","boolean"]},"flags_options":{"type":["null","object"],"properties":{"2":{"type":["null","object"],"properties":{"trusted":{"type":["null","boolean"]}}},"11":{"type":["null","object"],"properties":{"message":{"type":["null","object"],"properties":{"user":{"type":["null","string"]}}},"trusted":{"type":["null","boolean"]}}}}},"notifications_suppressed_for":{"type":["null","array"],"items":{"type":["null","integer"]}}}},"author_id":{"type":["null","integer"]},"ticket_id":{"type":["null","integer"]},"created_at":{"type":["null","string"],"format":"date-time"}}},supportedSyncModes=[full_refresh, incremental],sourceDefinedCursor=true,defaultCursorField=[created_at],sourceDefinedPrimaryKey=[[id]],namespace=ZENDESK_SUPPORT,additionalProperties={}],syncMode=incremental,cursorField=[created_at],destinationSyncMode=append_dedup,primaryKey=[[id]],additionalProperties={}], io.airbyte.protocol.models.ConfiguredAirbyteStream@77802287[stream=io.airbyte.protocol.models.AirbyteStream@7af95bfe[name=ticket_comments,jsonSchema={"type":["null","object"],"properties":{"id":{"type":["null","integer"]},"via":{"type":["null","object"],"properties":{"source":{"type":["null","object"],"properties":{"to":{"type":["null","object"],"properties":{"name":{"type":["null","string"]},"address":{"type":["null","string"]}}},"rel":{"type":["null","string"]},"from":{"type":["null","object"],"properties":{"id":{"type":["null","integer"]},"name":{"type":["null","string"]},"title":{"type":["null","string"]},"address":{"type":["null","string"]},"deleted":{"type":["null","boolean"]},"subject":{"type":["null","string"]},"ticket_id":{"type":["null","integer"]},"ticket_ids":{"type":["null","array"],"items":{"type":["null","integer"]}},"original_recipients":{"type":["null","array"],"items":{"type":["null","string"]}}}}}},"channel":{"type":["null","string"]}}},"body":{"type":["null","string"]},"type":{"type":["null","string"]},"public":{"type":["null","boolean"]},"audit_id":{"type":["null","integer"]},"metadata":{"type":["null","object"],"properties":{"flags":{"type":["null","array"],"items":{"type":["null","integer"]}},"custom":{"type":["null","object"]},"system":{"type":["null","object"],"properties":{"client":{"type":["null","string"]},"latitude":{"type":["null","number"]},"location":{"type":["null","string"]},"longitude":{"type":["null","number"]},"ip_address":{"type":["null","string"]},"message_id":{"type":["null","string"]},"raw_email_identifier":{"type":["null","string"]},"json_email_identifier":{"type":["null","string"]}}},"trusted":{"type":["null","boolean"]},"flags_options":{"type":["null","object"],"properties":{"2":{"type":["null","object"],"properties":{"trusted":{"type":["null","boolean"]}}},"11":{"type":["null","object"],"properties":{"message":{"type":["null","object"],"properties":{"user":{"type":["null","string"]}}},"trusted":{"type":["null","boolean"]}}}}},"notifications_suppressed_for":{"type":["null","array"],"items":{"type":["null","integer"]}}}},"author_id":{"type":["null","integer"]},"html_body":{"type":["null","string"]},"ticket_id":{"type":["null","integer"]},"created_at":{"type":["null","string"],"format":"date-time"},"plain_body":{"type":["null","string"]},"attachments":{"type":["null","array"],"items":{"type":["null","object"],"properties":{"id":{"type":["null","integer"]},"url":{"type":["null","string"]},"size":{"type":["null","integer"]},"width":{"type":["null","integer"]},"height":{"type":["null","integer"]},"inline":{"type":["null","boolean"]},"file_name":{"type":["null","string"]},"thumbnails":{"type":["null","array"],"items":{"type":["null","object"],"properties":{"id":{"type":["null","integer"]},"url":{"type":["null","string"]},"size":{"type":["null","integer"]},"width":{"type":["null","integer"]},"height":{"type":["null","integer"]},"inline":{"type":["null","boolean"]},"file_name":{"type":["null","string"]},"content_url":{"type":["null","string"]},"content_type":{"type":["null","string"]},"mapped_content_url":{"type":["null","string"]}}}},"content_url":{"type":["null","string"]},"content_type":{"type":["null","string"]},"mapped_content_url":{"type":["null","string"]}}}}}},supportedSyncModes=[full_refresh, incremental],sourceDefinedCursor=true,defaultCursorField=[created_at],sourceDefinedPrimaryKey=[[id]],namespace=ZENDESK_SUPPORT,additionalProperties={}],syncMode=incremental,cursorField=[created_at],destinationSyncMode=append_dedup,primaryKey=[[id]],additionalProperties={}], io.airbyte.protocol.models.ConfiguredAirbyteStream@1144d7db[stream=io.airbyte.protocol.models.AirbyteStream@6c5a9a76[name=ticket_fields,jsonSchema={"type":["null","object"],"properties":{"id":{"type":["null","integer"]},"tag":{"type":["null","string"]},"url":{"type":["null","string"]},"type":{"type":["null","string"]},"title":{"type":["null","string"]},"active":{"type":["null","boolean"]},"position":{"type":["null","integer"]},"required":{"type":["null","boolean"]},"raw_title":{"type":["null","string"]},"removable":{"type":["null","boolean"]},"created_at":{"type":["null","string"],"format":"date-time"},"updated_at":{"type":["null","string"],"format":"date-time"},"description":{"type":["null","string"]},"sub_type_id":{"type":["null","integer"]},"raw_description":{"type":["null","string"]},"title_in_portal":{"type":["null","string"]},"agent_description":{"type":["null","string"]},"visible_in_portal":{"type":["null","boolean"]},"editable_in_portal":{"type":["null","boolean"]},"required_in_portal":{"type":["null","boolean"]},"raw_title_in_portal":{"type":["null","string"]},"collapsed_for_agents":{"type":["null","boolean"]},"custom_field_options":{"type":["null","array"],"items":{"type":["null","object"],"properties":{"id":{"type":["null","integer"]},"name":{"type":["null","string"]},"value":{"type":["null","string"]},"default":{"type":["null","boolean"]},"raw_name":{"type":["null","string"]}}}},"system_field_options":{"type":["null","array"]},"regexp_for_validation":{"type":["null","string"]}}},supportedSyncModes=[full_refresh, incremental],sourceDefinedCursor=true,defaultCursorField=[updated_at],sourceDefinedPrimaryKey=[[id]],namespace=ZENDESK_SUPPORT,additionalProperties={}],syncMode=incremental,cursorField=[updated_at],destinationSyncMode=append_dedup,primaryKey=[[id]],additionalProperties={}], io.airbyte.protocol.models.ConfiguredAirbyteStream@1a380960[stream=io.airbyte.protocol.models.AirbyteStream@2aae8772[name=ticket_forms,jsonSchema={"type":["null","object"],"properties":{"id":{"type":["null","integer"]},"url":{"type":["null","string"]},"name":{"type":["null","string"]},"active":{"type":["null","boolean"]},"default":{"type":["null","boolean"]},"position":{"type":["null","integer"]},"raw_name":{"type":["null","string"]},"created_at":{"type":["null","string"],"format":"date-time"},"updated_at":{"type":["null","string"],"format":"date-time"},"display_name":{"type":["null","string"]},"in_all_brands":{"type":["null","boolean"]},"end_user_visible":{"type":["null","boolean"]},"raw_display_name":{"type":["null","string"]},"ticket_field_ids":{"type":["null","array"],"items":{"type":["null","integer"]}},"restricted_brand_ids":{"type":["null","array"],"items":{"type":["null","integer"]}}}},supportedSyncModes=[full_refresh, incremental],sourceDefinedCursor=true,defaultCursorField=[updated_at],sourceDefinedPrimaryKey=[[id]],namespace=ZENDESK_SUPPORT,additionalProperties={}],syncMode=incremental,cursorField=[updated_at],destinationSyncMode=append_dedup,primaryKey=[[id]],additionalProperties={}], io.airbyte.protocol.models.ConfiguredAirbyteStream@1de367f3[stream=io.airbyte.protocol.models.AirbyteStream@2552c713[name=ticket_metric_events,jsonSchema={"type":["null","object"],"properties":{"id":{"type":["null","integer"]},"time":{"type":["null","string"]},"type":{"type":["null","string"]},"metric":{"type":["null","string"]},"ticket_id":{"type":["null","integer"]},"instance_id":{"type":["null","integer"]}}},supportedSyncModes=[full_refresh, incremental],sourceDefinedCursor=true,defaultCursorField=[time],sourceDefinedPrimaryKey=[[id]],namespace=ZENDESK_SUPPORT,additionalProperties={}],syncMode=incremental,cursorField=[time],destinationSyncMode=append_dedup,primaryKey=[[id]],additionalProperties={}], io.airbyte.protocol.models.ConfiguredAirbyteStream@7ffbb9d0[stream=io.airbyte.protocol.models.AirbyteStream@21b0244a[name=ticket_metrics,jsonSchema={"type":["null","object"],"properties":{"id":{"type":["null","integer"]},"url":{"type":["null","string"]},"time":{"type":["null","string"]},"type":{"type":["null","string"]},"metric":{"type":["null","string"]},"status":{"type":["null","object"],"properties":{"business":{"type":["null","integer"]},"calendar":{"type":["null","integer"]}}},"reopens":{"type":["null","integer"]},"replies":{"type":["null","integer"]},"solved_at":{"type":["null","string"],"format":"date-time"},"ticket_id":{"type":["null","integer"]},"created_at":{"type":["null","string"],"format":"date-time"},"updated_at":{"type":["null","string"],"format":"date-time"},"assigned_at":{"type":["null","string"],"format":"date-time"},"instance_id":{"type":["null","integer"]},"group_stations":{"type":["null","integer"]},"assignee_stations":{"type":["null","integer"]},"status_updated_at":{"type":["null","string"],"format":"date-time"},"assignee_updated_at":{"type":["null","string"],"format":"date-time"},"requester_updated_at":{"type":["null","string"],"format":"date-time"},"initially_assigned_at":{"type":["null","string"],"format":"date-time"},"reply_time_in_minutes":{"type":["null","object"],"properties":{"business":{"type":["null","integer"]},"calendar":{"type":["null","integer"]}}},"latest_comment_added_at":{"type":["null","string"],"format":"date-time"},"on_hold_time_in_minutes":{"type":["null","object"],"properties":{"business":{"type":["null","integer"]},"calendar":{"type":["null","integer"]}}},"agent_wait_time_in_minutes":{"type":["null","object"],"properties":{"business":{"type":["null","integer"]},"calendar":{"type":["null","integer"]}}},"requester_wait_time_in_minutes":{"type":["null","object"],"properties":{"business":{"type":["null","integer"]},"calendar":{"type":["null","integer"]}}},"full_resolution_time_in_minutes":{"type":["null","object"],"properties":{"business":{"type":["null","integer"]},"calendar":{"type":["null","integer"]}}},"first_resolution_time_in_minutes":{"type":["null","object"],"properties":{"business":{"type":["null","integer"]},"calendar":{"type":["null","integer"]}}}}},supportedSyncModes=[full_refresh, incremental],sourceDefinedCursor=true,defaultCursorField=[updated_at],sourceDefinedPrimaryKey=[[id]],namespace=ZENDESK_SUPPORT,additionalProperties={}],syncMode=incremental,cursorField=[updated_at],destinationSyncMode=append_dedup,primaryKey=[[id]],additionalProperties={}], io.airbyte.protocol.models.ConfiguredAirbyteStream@276a0370[stream=io.airbyte.protocol.models.AirbyteStream@14b332d1[name=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=ZENDESK_SUPPORT,additionalProperties={}],syncMode=incremental,cursorField=[generated_timestamp],destinationSyncMode=append_dedup,primaryKey=[[id]],additionalProperties={}], io.airbyte.protocol.models.ConfiguredAirbyteStream@36a42cae[stream=io.airbyte.protocol.models.AirbyteStream@1696dc44[name=users,jsonSchema={"type":["null","object"],"properties":{"id":{"type":["null","integer"]},"url":{"type":["null","string"]},"name":{"type":["null","string"]},"role":{"type":["null","string"]},"tags":{"type":["null","array"],"items":{"type":["null","string"]}},"alias":{"type":["null","string"]},"email":{"type":["null","string"]},"notes":{"type":["null","string"]},"phone":{"type":["null","string"]},"photo":{"type":["null","object"],"properties":{"id":{"type":["null","integer"]},"url":{"type":["null","string"]},"size":{"type":["null","integer"]},"width":{"type":["null","integer"]},"height":{"type":["null","integer"]},"inline":{"type":["null","boolean"]},"file_name":{"type":["null","string"]},"thumbnails":{"type":["null","array"],"items":{"type":["null","object"],"properties":{"id":{"type":["null","integer"]},"url":{"type":["null","string"]},"size":{"type":["null","integer"]},"width":{"type":["null","integer"]},"height":{"type":["null","integer"]},"inline":{"type":["null","boolean"]},"file_name":{"type":["null","string"]},"content_url":{"type":["null","string"]},"content_type":{"type":["null","string"]},"mapped_content_url":{"type":["null","string"]}}}},"content_url":{"type":["null","string"]},"content_type":{"type":["null","string"]},"mapped_content_url":{"type":["null","string"]}}},"active":{"type":["null","boolean"]},"locale":{"type":["null","string"]},"shared":{"type":["null","boolean"]},"details":{"type":["null","string"]},"verified":{"type":["null","boolean"]},"chat_only":{"type":["null","boolean"]},"locale_id":{"type":["null","integer"]},"moderator":{"type":["null","boolean"]},"role_type":{"type":["null","integer"]},"signature":{"type":["null","string"]},"suspended":{"type":["null","boolean"]},"time_zone":{"type":["null","string"]},"created_at":{"type":["null","string"],"format":"date-time"},"report_csv":{"type":["null","boolean"]},"updated_at":{"type":["null","string"],"format":"date-time"},"external_id":{"type":["null","string"]},"user_fields":{"type":["null","object"],"additionalProperties":true},"shared_agent":{"type":["null","boolean"]},"last_login_at":{"type":["null","string"],"format":"date-time"},"custom_role_id":{"type":["null","integer"]},"organization_id":{"type":["null","integer"]},"default_group_id":{"type":["null","integer"]},"restricted_agent":{"type":["null","boolean"]},"ticket_restriction":{"type":["null","string"]},"permanently_deleted":{"type":["null","boolean"]},"shared_phone_number":{"type":["null","boolean"]},"only_private_comments":{"type":["null","boolean"]},"two_factor_auth_enabled":{"type":["null","boolean"]}}},supportedSyncModes=[full_refresh, incremental],sourceDefinedCursor=true,defaultCursorField=[updated_at],sourceDefinedPrimaryKey=[[id]],namespace=ZENDESK_SUPPORT,additionalProperties={}],syncMode=incremental,cursorField=[updated_at],destinationSyncMode=append_dedup,primaryKey=[[id]],additionalProperties={}]],additionalProperties={}],failures=[]] 2022-04-22 10:54:58 INFO i.a.w.t.TemporalUtils(withBackgroundHeartbeat):235 - Stopping temporal heartbeating... 2022-04-22 10:54:58 INFO i.a.c.p.ConfigRepository(updateConnectionState):731 - Updating connection 36955756-c3d0-4534-987f-aafe62af0a35 state: io.airbyte.config.State@7bee2f59[state={"users":{"updated_at":"2022-04-22T10:42:36Z","_last_end_time":1650624156},"groups":{"updated_at":"2022-04-19T20:34:41Z"},"macros":{"updated_at":"2022-03-23T18:53:18Z"},"tickets":{"_last_end_time":1650613674,"generated_timestamp":1650613674},"ticket_forms":{"updated_at":"2022-04-06T20:43:47Z"},"organizations":{"updated_at":"2022-04-21T21:06:26Z","_last_end_time":1650575186},"ticket_audits":{"created_at":"2022-04-22T07:47:53Z"},"ticket_fields":{"updated_at":"2022-04-12T15:36:05Z"},"ticket_metrics":{"updated_at":"2022-04-22T07:47:54Z"},"ticket_comments":{"created_at":"2022-04-22T07:47:53Z","_last_end_time":1650613674},"group_memberships":{"updated_at":"2022-04-21T20:39:34Z"},"satisfaction_ratings":{"updated_at":"2022-04-21T23:38:40Z"},"ticket_metric_events":{"time":"2022-04-22T10:00:29Z","_last_end_time":1650621629}}] 2022-04-22 10:54:58 INFO i.a.w.t.TemporalAttemptExecution(get):105 - Docker volume job log path: /tmp/workspace/7023/2/logs.log 2022-04-22 10:54:58 INFO i.a.w.t.TemporalAttemptExecution(get):110 - Executing worker wrapper. Airbyte version: 0.35.65-alpha 2022-04-22 10:54:58 INFO i.a.w.DefaultNormalizationWorker(run):46 - Running normalization. 2022-04-22 10:54:58 INFO i.a.w.n.DefaultNormalizationRunner(runProcess):122 - Running with normalization version: airbyte/normalization-snowflake:0.1.74 2022-04-22 10:54:58 INFO i.a.c.i.LineGobbler(voidCall):82 - Checking if airbyte/normalization-snowflake:0.1.74 exists... 2022-04-22 10:54:58 INFO i.a.c.i.LineGobbler(voidCall):82 - airbyte/normalization-snowflake:0.1.74 was found locally. 2022-04-22 10:54:58 INFO i.a.w.p.DockerProcessFactory(create):106 - Creating docker job ID: 7023 2022-04-22 10:54:58 INFO i.a.w.p.DockerProcessFactory(create):158 - Preparing command: docker run --rm --init -i -w /data/7023/2/normalize --log-driver none --network host -v airbyte_workspace:/data -v /tmp/airbyte_local:/local -e WORKER_ENVIRONMENT=DOCKER -e AIRBYTE_ROLE= -e AIRBYTE_VERSION=0.35.65-alpha airbyte/normalization-snowflake:0.1.74 run --integration-type snowflake --config destination_config.json --catalog destination_catalog.json 2022-04-22 10:54:58 normalization > Running: transform-config --config destination_config.json --integration-type snowflake --out /data/7023/2/normalize 2022-04-22 10:54:58 normalization > Namespace(config='destination_config.json', integration_type=, out='/data/7023/2/normalize') 2022-04-22 10:54:58 normalization > transform_snowflake 2022-04-22 10:54:59 normalization > Running: transform-catalog --integration-type snowflake --profile-config-dir /data/7023/2/normalize --catalog destination_catalog.json --out /data/7023/2/normalize/models/generated/ --json-column _airbyte_data 2022-04-22 10:54:59 normalization > Processing destination_catalog.json... 2022-04-22 10:54:59 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/GROUP_MEMBERSHIPS_AB1.sql from group_memberships 2022-04-22 10:54:59 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/GROUP_MEMBERSHIPS_AB2.sql from group_memberships 2022-04-22 10:54:59 normalization > Generating airbyte_views/ZENDESK_SUPPORT/GROUP_MEMBERSHIPS_STG.sql from group_memberships 2022-04-22 10:54:59 normalization > Generating airbyte_incremental/scd/ZENDESK_SUPPORT/GROUP_MEMBERSHIPS_SCD.sql from group_memberships 2022-04-22 10:54:59 normalization > Generating airbyte_incremental/ZENDESK_SUPPORT/GROUP_MEMBERSHIPS.sql from group_memberships 2022-04-22 10:54:59 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/GROUPS_AB1.sql from groups 2022-04-22 10:54:59 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/GROUPS_AB2.sql from groups 2022-04-22 10:54:59 normalization > Generating airbyte_views/ZENDESK_SUPPORT/GROUPS_STG.sql from groups 2022-04-22 10:54:59 normalization > Generating airbyte_incremental/scd/ZENDESK_SUPPORT/GROUPS_SCD.sql from groups 2022-04-22 10:54:59 normalization > Generating airbyte_incremental/ZENDESK_SUPPORT/GROUPS.sql from groups 2022-04-22 10:54:59 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/MACROS_AB1.sql from macros 2022-04-22 10:54:59 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/MACROS_AB2.sql from macros 2022-04-22 10:54:59 normalization > Generating airbyte_views/ZENDESK_SUPPORT/MACROS_STG.sql from macros 2022-04-22 10:54:59 normalization > Generating airbyte_incremental/scd/ZENDESK_SUPPORT/MACROS_SCD.sql from macros 2022-04-22 10:54:59 normalization > Generating airbyte_incremental/ZENDESK_SUPPORT/MACROS.sql from macros 2022-04-22 10:54:59 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/ORGANIZATIONS_AB1.sql from organizations 2022-04-22 10:54:59 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/ORGANIZATIONS_AB2.sql from organizations 2022-04-22 10:54:59 normalization > Generating airbyte_views/ZENDESK_SUPPORT/ORGANIZATIONS_STG.sql from organizations 2022-04-22 10:54:59 normalization > Generating airbyte_incremental/scd/ZENDESK_SUPPORT/ORGANIZATIONS_SCD.sql from organizations 2022-04-22 10:54:59 normalization > Generating airbyte_incremental/ZENDESK_SUPPORT/ORGANIZATIONS.sql from organizations 2022-04-22 10:54:59 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/SATISFACTION_RATINGS_AB1.sql from satisfaction_ratings 2022-04-22 10:54:59 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/SATISFACTION_RATINGS_AB2.sql from satisfaction_ratings 2022-04-22 10:54:59 normalization > Generating airbyte_views/ZENDESK_SUPPORT/SATISFACTION_RATINGS_STG.sql from satisfaction_ratings 2022-04-22 10:54:59 normalization > Generating airbyte_incremental/scd/ZENDESK_SUPPORT/SATISFACTION_RATINGS_SCD.sql from satisfaction_ratings 2022-04-22 10:54:59 normalization > Generating airbyte_incremental/ZENDESK_SUPPORT/SATISFACTION_RATINGS.sql from satisfaction_ratings 2022-04-22 10:54:59 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/SCHEDULES_AB1.sql from schedules 2022-04-22 10:54:59 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/SCHEDULES_AB2.sql from schedules 2022-04-22 10:54:59 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/SCHEDULES_AB3.sql from schedules 2022-04-22 10:54:59 normalization > Generating airbyte_tables/ZENDESK_SUPPORT/SCHEDULES.sql from schedules 2022-04-22 10:54:59 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/SLA_POLICIES_AB1.sql from sla_policies 2022-04-22 10:54:59 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/SLA_POLICIES_AB2.sql from sla_policies 2022-04-22 10:54:59 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/SLA_POLICIES_AB3.sql from sla_policies 2022-04-22 10:54:59 normalization > Generating airbyte_tables/ZENDESK_SUPPORT/SLA_POLICIES.sql from sla_policies 2022-04-22 10:54:59 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TAGS_AB1.sql from tags 2022-04-22 10:54:59 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TAGS_AB2.sql from tags 2022-04-22 10:54:59 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TAGS_AB3.sql from tags 2022-04-22 10:54:59 normalization > Generating airbyte_tables/ZENDESK_SUPPORT/TAGS.sql from tags 2022-04-22 10:54:59 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_AB1.sql from ticket_audits 2022-04-22 10:54:59 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_AB2.sql from ticket_audits 2022-04-22 10:54:59 normalization > Generating airbyte_views/ZENDESK_SUPPORT/TICKET_AUDITS_STG.sql from ticket_audits 2022-04-22 10:54:59 normalization > Generating airbyte_incremental/scd/ZENDESK_SUPPORT/TICKET_AUDITS_SCD.sql from ticket_audits 2022-04-22 10:54:59 normalization > Generating airbyte_incremental/ZENDESK_SUPPORT/TICKET_AUDITS.sql from ticket_audits 2022-04-22 10:54:59 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_AB1.sql from ticket_comments 2022-04-22 10:54:59 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_AB2.sql from ticket_comments 2022-04-22 10:54:59 normalization > Generating airbyte_views/ZENDESK_SUPPORT/TICKET_COMMENTS_STG.sql from ticket_comments 2022-04-22 10:54:59 normalization > Generating airbyte_incremental/scd/ZENDESK_SUPPORT/TICKET_COMMENTS_SCD.sql from ticket_comments 2022-04-22 10:54:59 normalization > Generating airbyte_incremental/ZENDESK_SUPPORT/TICKET_COMMENTS.sql from ticket_comments 2022-04-22 10:54:59 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_FIELDS_AB1.sql from ticket_fields 2022-04-22 10:54:59 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_FIELDS_AB2.sql from ticket_fields 2022-04-22 10:54:59 normalization > Generating airbyte_views/ZENDESK_SUPPORT/TICKET_FIELDS_STG.sql from ticket_fields 2022-04-22 10:54:59 normalization > Generating airbyte_incremental/scd/ZENDESK_SUPPORT/TICKET_FIELDS_SCD.sql from ticket_fields 2022-04-22 10:54:59 normalization > Generating airbyte_incremental/ZENDESK_SUPPORT/TICKET_FIELDS.sql from ticket_fields 2022-04-22 10:54:59 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_FORMS_AB1.sql from ticket_forms 2022-04-22 10:54:59 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_FORMS_AB2.sql from ticket_forms 2022-04-22 10:54:59 normalization > Generating airbyte_views/ZENDESK_SUPPORT/TICKET_FORMS_STG.sql from ticket_forms 2022-04-22 10:54:59 normalization > Generating airbyte_incremental/scd/ZENDESK_SUPPORT/TICKET_FORMS_SCD.sql from ticket_forms 2022-04-22 10:54:59 normalization > Generating airbyte_incremental/ZENDESK_SUPPORT/TICKET_FORMS.sql from ticket_forms 2022-04-22 10:54:59 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_METRIC_EVENTS_AB1.sql from ticket_metric_events 2022-04-22 10:54:59 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_METRIC_EVENTS_AB2.sql from ticket_metric_events 2022-04-22 10:54:59 normalization > Generating airbyte_views/ZENDESK_SUPPORT/TICKET_METRIC_EVENTS_STG.sql from ticket_metric_events 2022-04-22 10:54:59 normalization > Generating airbyte_incremental/scd/ZENDESK_SUPPORT/TICKET_METRIC_EVENTS_SCD.sql from ticket_metric_events 2022-04-22 10:54:59 normalization > Generating airbyte_incremental/ZENDESK_SUPPORT/TICKET_METRIC_EVENTS.sql from ticket_metric_events 2022-04-22 10:54:59 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_METRICS_AB1.sql from ticket_metrics 2022-04-22 10:54:59 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_METRICS_AB2.sql from ticket_metrics 2022-04-22 10:54:59 normalization > Generating airbyte_views/ZENDESK_SUPPORT/TICKET_METRICS_STG.sql from ticket_metrics 2022-04-22 10:54:59 normalization > Generating airbyte_incremental/scd/ZENDESK_SUPPORT/TICKET_METRICS_SCD.sql from ticket_metrics 2022-04-22 10:54:59 normalization > Generating airbyte_incremental/ZENDESK_SUPPORT/TICKET_METRICS.sql from ticket_metrics 2022-04-22 10:54:59 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKETS_AB1.sql from tickets 2022-04-22 10:54:59 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKETS_AB2.sql from tickets 2022-04-22 10:54:59 normalization > Generating airbyte_views/ZENDESK_SUPPORT/TICKETS_STG.sql from tickets 2022-04-22 10:54:59 normalization > Generating airbyte_incremental/scd/ZENDESK_SUPPORT/TICKETS_SCD.sql from tickets 2022-04-22 10:54:59 normalization > Generating airbyte_incremental/ZENDESK_SUPPORT/TICKETS.sql from tickets 2022-04-22 10:54:59 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/USERS_AB1.sql from users 2022-04-22 10:54:59 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/USERS_AB2.sql from users 2022-04-22 10:54:59 normalization > Generating airbyte_views/ZENDESK_SUPPORT/USERS_STG.sql from users 2022-04-22 10:54:59 normalization > Generating airbyte_incremental/scd/ZENDESK_SUPPORT/USERS_SCD.sql from users 2022-04-22 10:54:59 normalization > Generating airbyte_incremental/ZENDESK_SUPPORT/USERS.sql from users 2022-04-22 10:54:59 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/MACROS_ACTIONS_AB1.sql from macros/actions 2022-04-22 10:54:59 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/MACROS_ACTIONS_AB2.sql from macros/actions 2022-04-22 10:54:59 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/MACROS_ACTIONS_AB3.sql from macros/actions 2022-04-22 10:54:59 normalization > Generating airbyte_incremental/ZENDESK_SUPPORT/MACROS_ACTIONS.sql from macros/actions 2022-04-22 10:54:59 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/MACROS_RESTRICTION_AB1.sql from macros/restriction 2022-04-22 10:54:59 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/MACROS_RESTRICTION_AB2.sql from macros/restriction 2022-04-22 10:54:59 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/MACROS_RESTRICTION_AB3.sql from macros/restriction 2022-04-22 10:54:59 normalization > Generating airbyte_incremental/ZENDESK_SUPPORT/MACROS_RESTRICTION.sql from macros/restriction 2022-04-22 10:54:59 normalization > Ignoring stream 'tags' from organizations/tags because properties list is empty 2022-04-22 10:54:59 normalization > Ignoring stream 'domain_names' from organizations/domain_names because properties list is empty 2022-04-22 10:54:59 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/SCHEDULES_INTERVALS_AB1.sql from schedules/intervals 2022-04-22 10:54:59 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/SCHEDULES_INTERVALS_AB2.sql from schedules/intervals 2022-04-22 10:54:59 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/SCHEDULES_INTERVALS_AB3.sql from schedules/intervals 2022-04-22 10:54:59 normalization > Generating airbyte_tables/ZENDESK_SUPPORT/SCHEDULES_INTERVALS.sql from schedules/intervals 2022-04-22 10:54:59 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/SLA_POLICIES_FILTER_AB1.sql from sla_policies/filter 2022-04-22 10:54:59 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/SLA_POLICIES_FILTER_AB2.sql from sla_policies/filter 2022-04-22 10:54:59 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/SLA_POLICIES_FILTER_AB3.sql from sla_policies/filter 2022-04-22 10:54:59 normalization > Generating airbyte_tables/ZENDESK_SUPPORT/SLA_POLICIES_FILTER.sql from sla_policies/filter 2022-04-22 10:54:59 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/SLA_POLICIES_POLICY_METRICS_AB1.sql from sla_policies/policy_metrics 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/SLA_POLICIES_POLICY_METRICS_AB2.sql from sla_policies/policy_metrics 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/SLA_POLICIES_POLICY_METRICS_AB3.sql from sla_policies/policy_metrics 2022-04-22 10:55:00 normalization > Generating airbyte_tables/ZENDESK_SUPPORT/SLA_POLICIES_POLICY_METRICS.sql from sla_policies/policy_metrics 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_VIA_AB1.sql from ticket_audits/via 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_VIA_AB2.sql from ticket_audits/via 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_VIA_AB3.sql from ticket_audits/via 2022-04-22 10:55:00 normalization > Generating airbyte_incremental/ZENDESK_SUPPORT/TICKET_AUDITS_VIA.sql from ticket_audits/via 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_AB1.sql from ticket_audits/events 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_AB2.sql from ticket_audits/events 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_AB3.sql from ticket_audits/events 2022-04-22 10:55:00 normalization > Generating airbyte_incremental/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS.sql from ticket_audits/events 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_METADATA_AB1.sql from ticket_audits/metadata 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_METADATA_AB2.sql from ticket_audits/metadata 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_METADATA_AB3.sql from ticket_audits/metadata 2022-04-22 10:55:00 normalization > Generating airbyte_incremental/ZENDESK_SUPPORT/TICKET_AUDITS_METADATA.sql from ticket_audits/metadata 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_VIA_AB1.sql from ticket_comments/via 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_VIA_AB2.sql from ticket_comments/via 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_VIA_AB3.sql from ticket_comments/via 2022-04-22 10:55:00 normalization > Generating airbyte_incremental/ZENDESK_SUPPORT/TICKET_COMMENTS_VIA.sql from ticket_comments/via 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_METADATA_AB1.sql from ticket_comments/metadata 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_METADATA_AB2.sql from ticket_comments/metadata 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_METADATA_AB3.sql from ticket_comments/metadata 2022-04-22 10:55:00 normalization > Generating airbyte_incremental/ZENDESK_SUPPORT/TICKET_COMMENTS_METADATA.sql from ticket_comments/metadata 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_ATTACHMENTS_AB1.sql from ticket_comments/attachments 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_ATTACHMENTS_AB2.sql from ticket_comments/attachments 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_ATTACHMENTS_AB3.sql from ticket_comments/attachments 2022-04-22 10:55:00 normalization > Generating airbyte_incremental/ZENDESK_SUPPORT/TICKET_COMMENTS_ATTACHMENTS.sql from ticket_comments/attachments 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_FIELDS_CUSTOM_FIELD_OPTIONS_AB1.sql from ticket_fields/custom_field_options 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_FIELDS_CUSTOM_FIELD_OPTIONS_AB2.sql from ticket_fields/custom_field_options 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_FIELDS_CUSTOM_FIELD_OPTIONS_AB3.sql from ticket_fields/custom_field_options 2022-04-22 10:55:00 normalization > Generating airbyte_incremental/ZENDESK_SUPPORT/TICKET_FIELDS_CUSTOM_FIELD_OPTIONS.sql from ticket_fields/custom_field_options 2022-04-22 10:55:00 normalization > Ignoring stream 'ticket_field_ids' from ticket_forms/ticket_field_ids because properties list is empty 2022-04-22 10:55:00 normalization > Ignoring stream 'restricted_brand_ids' from ticket_forms/restricted_brand_ids because properties list is empty 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_METRICS_STATUS_AB1.sql from ticket_metrics/status 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_METRICS_STATUS_AB2.sql from ticket_metrics/status 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_METRICS_STATUS_AB3.sql from ticket_metrics/status 2022-04-22 10:55:00 normalization > Generating airbyte_incremental/ZENDESK_SUPPORT/TICKET_METRICS_STATUS.sql from ticket_metrics/status 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_METRICS_REPLY_TIME_IN_MINUTES_AB1.sql from ticket_metrics/reply_time_in_minutes 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_METRICS_REPLY_TIME_IN_MINUTES_AB2.sql from ticket_metrics/reply_time_in_minutes 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_METRICS_REPLY_TIME_IN_MINUTES_AB3.sql from ticket_metrics/reply_time_in_minutes 2022-04-22 10:55:00 normalization > Generating airbyte_incremental/ZENDESK_SUPPORT/TICKET_METRICS_REPLY_TIME_IN_MINUTES.sql from ticket_metrics/reply_time_in_minutes 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_METRICS_ON_HOLD_TIME_IN_MINUTES_AB1.sql from ticket_metrics/on_hold_time_in_minutes 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_METRICS_ON_HOLD_TIME_IN_MINUTES_AB2.sql from ticket_metrics/on_hold_time_in_minutes 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_METRICS_ON_HOLD_TIME_IN_MINUTES_AB3.sql from ticket_metrics/on_hold_time_in_minutes 2022-04-22 10:55:00 normalization > Generating airbyte_incremental/ZENDESK_SUPPORT/TICKET_METRICS_ON_HOLD_TIME_IN_MINUTES.sql from ticket_metrics/on_hold_time_in_minutes 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_METRICS_AGENT_WAIT_TIME_IN_MINUTES_AB1.sql from ticket_metrics/agent_wait_time_in_minutes 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_METRICS_AGENT_WAIT_TIME_IN_MINUTES_AB2.sql from ticket_metrics/agent_wait_time_in_minutes 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_METRICS_AGENT_WAIT_TIME_IN_MINUTES_AB3.sql from ticket_metrics/agent_wait_time_in_minutes 2022-04-22 10:55:00 normalization > Generating airbyte_incremental/ZENDESK_SUPPORT/TICKET_METRICS_AGENT_WAIT_TIME_IN_MINUTES.sql from ticket_metrics/agent_wait_time_in_minutes 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_METRICS_REQUESTER_WAIT_TIME_IN_MINUTES_AB1.sql from ticket_metrics/requester_wait_time_in_minutes 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_METRICS_REQUESTER_WAIT_TIME_IN_MINUTES_AB2.sql from ticket_metrics/requester_wait_time_in_minutes 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_METRICS_REQUESTER_WAIT_TIME_IN_MINUTES_AB3.sql from ticket_metrics/requester_wait_time_in_minutes 2022-04-22 10:55:00 normalization > Generating airbyte_incremental/ZENDESK_SUPPORT/TICKET_METRICS_REQUESTER_WAIT_TIME_IN_MINUTES.sql from ticket_metrics/requester_wait_time_in_minutes 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_METRICS_FULL_RESOLUTION_TIME_IN_MINUTES_AB1.sql from ticket_metrics/full_resolution_time_in_minutes 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_METRICS_FULL_RESOLUTION_TIME_IN_MINUTES_AB2.sql from ticket_metrics/full_resolution_time_in_minutes 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_METRICS_FULL_RESOLUTION_TIME_IN_MINUTES_AB3.sql from ticket_metrics/full_resolution_time_in_minutes 2022-04-22 10:55:00 normalization > Generating airbyte_incremental/ZENDESK_SUPPORT/TICKET_METRICS_FULL_RESOLUTION_TIME_IN_MINUTES.sql from ticket_metrics/full_resolution_time_in_minutes 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_METRICS_FIRST_RESOLUTION_TIME_IN_MINUTES_AB1.sql from ticket_metrics/first_resolution_time_in_minutes 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_METRICS_FIRST_RESOLUTION_TIME_IN_MINUTES_AB2.sql from ticket_metrics/first_resolution_time_in_minutes 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_METRICS_FIRST_RESOLUTION_TIME_IN_MINUTES_AB3.sql from ticket_metrics/first_resolution_time_in_minutes 2022-04-22 10:55:00 normalization > Generating airbyte_incremental/ZENDESK_SUPPORT/TICKET_METRICS_FIRST_RESOLUTION_TIME_IN_MINUTES.sql from ticket_metrics/first_resolution_time_in_minutes 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKETS_VIA_AB1.sql from tickets/via 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKETS_VIA_AB2.sql from tickets/via 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKETS_VIA_AB3.sql from tickets/via 2022-04-22 10:55:00 normalization > Generating airbyte_incremental/ZENDESK_SUPPORT/TICKETS_VIA.sql from tickets/via 2022-04-22 10:55:00 normalization > Ignoring stream 'tags' from tickets/tags because properties list is empty 2022-04-22 10:55:00 normalization > Ignoring stream 'email_cc_ids' from tickets/email_cc_ids because properties list is empty 2022-04-22 10:55:00 normalization > Ignoring stream 'follower_ids' from tickets/follower_ids because properties list is empty 2022-04-22 10:55:00 normalization > Ignoring stream 'followup_ids' from tickets/followup_ids because properties list is empty 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKETS_CUSTOM_FIELDS_AB1.sql from tickets/custom_fields 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKETS_CUSTOM_FIELDS_AB2.sql from tickets/custom_fields 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKETS_CUSTOM_FIELDS_AB3.sql from tickets/custom_fields 2022-04-22 10:55:00 normalization > Generating airbyte_incremental/ZENDESK_SUPPORT/TICKETS_CUSTOM_FIELDS.sql from tickets/custom_fields 2022-04-22 10:55:00 normalization > Ignoring stream 'collaborator_ids' from tickets/collaborator_ids because properties list is empty 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKETS_SATISFACTION_RATING_AB1.sql from tickets/satisfaction_rating 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKETS_SATISFACTION_RATING_AB2.sql from tickets/satisfaction_rating 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKETS_SATISFACTION_RATING_AB3.sql from tickets/satisfaction_rating 2022-04-22 10:55:00 normalization > Generating airbyte_incremental/ZENDESK_SUPPORT/TICKETS_SATISFACTION_RATING.sql from tickets/satisfaction_rating 2022-04-22 10:55:00 normalization > Ignoring stream 'sharing_agreement_ids' from tickets/sharing_agreement_ids because properties list is empty 2022-04-22 10:55:00 normalization > Ignoring stream 'tags' from users/tags because properties list is empty 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/USERS_PHOTO_AB1.sql from users/photo 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/USERS_PHOTO_AB2.sql from users/photo 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/USERS_PHOTO_AB3.sql from users/photo 2022-04-22 10:55:00 normalization > Generating airbyte_incremental/ZENDESK_SUPPORT/USERS_PHOTO.sql from users/photo 2022-04-22 10:55:00 normalization > Ignoring stream 'ids' from macros/restriction/ids because properties list is empty 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/SLA_POLICIES_FILTER_ALL_AB1.sql from sla_policies/filter/all 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/SLA_POLICIES_FILTER_ALL_AB2.sql from sla_policies/filter/all 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/SLA_POLICIES_FILTER_ALL_AB3.sql from sla_policies/filter/all 2022-04-22 10:55:00 normalization > Generating airbyte_tables/ZENDESK_SUPPORT/SLA_POLICIES_FILTER_ALL.sql from sla_policies/filter/all 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/SLA_POLICIES_FILTER_ANY_AB1.sql from sla_policies/filter/any 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/SLA_POLICIES_FILTER_ANY_AB2.sql from sla_policies/filter/any 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/SLA_POLICIES_FILTER_ANY_AB3.sql from sla_policies/filter/any 2022-04-22 10:55:00 normalization > Generating airbyte_tables/ZENDESK_SUPPORT/SLA_POLICIES_FILTER_ANY.sql from sla_policies/filter/any 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_VIA_SOURCE_AB1.sql from ticket_audits/via/source 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_VIA_SOURCE_AB2.sql from ticket_audits/via/source 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_VIA_SOURCE_AB3.sql from ticket_audits/via/source 2022-04-22 10:55:00 normalization > Generating airbyte_incremental/ZENDESK_SUPPORT/TICKET_AUDITS_VIA_SOURCE.sql from ticket_audits/via/source 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_VIA_AB1.sql from ticket_audits/events/via 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_VIA_AB2.sql from ticket_audits/events/via 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_VIA_AB3.sql from ticket_audits/events/via 2022-04-22 10:55:00 normalization > Generating airbyte_incremental/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_VIA.sql from ticket_audits/events/via 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_DATA_AB1.sql from ticket_audits/events/data 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_DATA_AB2.sql from ticket_audits/events/data 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_DATA_AB3.sql from ticket_audits/events/data 2022-04-22 10:55:00 normalization > Generating airbyte_incremental/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_DATA.sql from ticket_audits/events/data 2022-04-22 10:55:00 normalization > Ignoring stream 'recipients' from ticket_audits/events/recipients because properties list is empty 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_ATTACHMENTS_AB1.sql from ticket_audits/events/attachments 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_ATTACHMENTS_AB2.sql from ticket_audits/events/attachments 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_ATTACHMENTS_AB3.sql from ticket_audits/events/attachments 2022-04-22 10:55:00 normalization > Generating airbyte_incremental/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_ATTACHMENTS.sql from ticket_audits/events/attachments 2022-04-22 10:55:00 normalization > Ignoring stream 'flags' from ticket_audits/metadata/flags because properties list is empty 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_METADATA_SYSTEM_AB1.sql from ticket_audits/metadata/system 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_METADATA_SYSTEM_AB2.sql from ticket_audits/metadata/system 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_METADATA_SYSTEM_AB3.sql from ticket_audits/metadata/system 2022-04-22 10:55:00 normalization > Generating airbyte_incremental/ZENDESK_SUPPORT/TICKET_AUDITS_METADATA_SYSTEM.sql from ticket_audits/metadata/system 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_METADATA_FLAGS_OPTIONS_AB1.sql from ticket_audits/metadata/flags_options 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_METADATA_FLAGS_OPTIONS_AB2.sql from ticket_audits/metadata/flags_options 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_METADATA_FLAGS_OPTIONS_AB3.sql from ticket_audits/metadata/flags_options 2022-04-22 10:55:00 normalization > Generating airbyte_incremental/ZENDESK_SUPPORT/TICKET_AUDITS_METADATA_FLAGS_OPTIONS.sql from ticket_audits/metadata/flags_options 2022-04-22 10:55:00 normalization > Ignoring stream 'notifications_suppressed_for' from ticket_audits/metadata/notifications_suppressed_for because properties list is empty 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_VIA_SOURCE_AB1.sql from ticket_comments/via/source 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_VIA_SOURCE_AB2.sql from ticket_comments/via/source 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_VIA_SOURCE_AB3.sql from ticket_comments/via/source 2022-04-22 10:55:00 normalization > Generating airbyte_incremental/ZENDESK_SUPPORT/TICKET_COMMENTS_VIA_SOURCE.sql from ticket_comments/via/source 2022-04-22 10:55:00 normalization > Ignoring stream 'flags' from ticket_comments/metadata/flags because properties list is empty 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_METADATA_SYSTEM_AB1.sql from ticket_comments/metadata/system 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_METADATA_SYSTEM_AB2.sql from ticket_comments/metadata/system 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_METADATA_SYSTEM_AB3.sql from ticket_comments/metadata/system 2022-04-22 10:55:00 normalization > Generating airbyte_incremental/ZENDESK_SUPPORT/TICKET_COMMENTS_METADATA_SYSTEM.sql from ticket_comments/metadata/system 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_AB1.sql from ticket_comments/metadata/flags_options 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_AB2.sql from ticket_comments/metadata/flags_options 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_AB3.sql from ticket_comments/metadata/flags_options 2022-04-22 10:55:00 normalization > Generating airbyte_incremental/ZENDESK_SUPPORT/TICKET_COMMENTS_METADATA_FLAGS_OPTIONS.sql from ticket_comments/metadata/flags_options 2022-04-22 10:55:00 normalization > Ignoring stream 'notifications_suppressed_for' from ticket_comments/metadata/notifications_suppressed_for because properties list is empty 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS_AB1.sql from ticket_comments/attachments/thumbnails 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS_AB2.sql from ticket_comments/attachments/thumbnails 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS_AB3.sql from ticket_comments/attachments/thumbnails 2022-04-22 10:55:00 normalization > Generating airbyte_incremental/ZENDESK_SUPPORT/TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS.sql from ticket_comments/attachments/thumbnails 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKETS_VIA_SOURCE_AB1.sql from tickets/via/source 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKETS_VIA_SOURCE_AB2.sql from tickets/via/source 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKETS_VIA_SOURCE_AB3.sql from tickets/via/source 2022-04-22 10:55:00 normalization > Generating airbyte_incremental/ZENDESK_SUPPORT/TICKETS_VIA_SOURCE.sql from tickets/via/source 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/USERS_PHOTO_THUMBNAILS_AB1.sql from users/photo/thumbnails 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/USERS_PHOTO_THUMBNAILS_AB2.sql from users/photo/thumbnails 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/USERS_PHOTO_THUMBNAILS_AB3.sql from users/photo/thumbnails 2022-04-22 10:55:00 normalization > Generating airbyte_incremental/ZENDESK_SUPPORT/USERS_PHOTO_THUMBNAILS.sql from users/photo/thumbnails 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_VIA_SOURCE_TO_AB1.sql from ticket_audits/via/source/to 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_VIA_SOURCE_TO_AB2.sql from ticket_audits/via/source/to 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_VIA_SOURCE_TO_AB3.sql from ticket_audits/via/source/to 2022-04-22 10:55:00 normalization > Generating airbyte_incremental/ZENDESK_SUPPORT/TICKET_AUDITS_VIA_SOURCE_TO.sql from ticket_audits/via/source/to 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_VIA_SOURCE_FROM_AB1.sql from ticket_audits/via/source/from 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_VIA_SOURCE_FROM_AB2.sql from ticket_audits/via/source/from 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_VIA_SOURCE_FROM_AB3.sql from ticket_audits/via/source/from 2022-04-22 10:55:00 normalization > Generating airbyte_incremental/ZENDESK_SUPPORT/TICKET_AUDITS_VIA_SOURCE_FROM.sql from ticket_audits/via/source/from 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_VIA_SOURCE_AB1.sql from ticket_audits/events/via/source 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_VIA_SOURCE_AB2.sql from ticket_audits/events/via/source 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_VIA_SOURCE_AB3.sql from ticket_audits/events/via/source 2022-04-22 10:55:00 normalization > Generating airbyte_incremental/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_VIA_SOURCE.sql from ticket_audits/events/via/source 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS_AB1.sql from ticket_audits/events/attachments/thumbnails 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS_AB2.sql from ticket_audits/events/attachments/thumbnails 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS_AB3.sql from ticket_audits/events/attachments/thumbnails 2022-04-22 10:55:00 normalization > Generating airbyte_incremental/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS.sql from ticket_audits/events/attachments/thumbnails 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2_AB1.sql from ticket_audits/metadata/flags_options/2 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2_AB2.sql from ticket_audits/metadata/flags_options/2 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2_AB3.sql from ticket_audits/metadata/flags_options/2 2022-04-22 10:55:00 normalization > Generating airbyte_incremental/ZENDESK_SUPPORT/TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2.sql from ticket_audits/metadata/flags_options/2 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_AB1.sql from ticket_audits/metadata/flags_options/11 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_AB2.sql from ticket_audits/metadata/flags_options/11 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_AB3.sql from ticket_audits/metadata/flags_options/11 2022-04-22 10:55:00 normalization > Generating airbyte_incremental/ZENDESK_SUPPORT/TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11.sql from ticket_audits/metadata/flags_options/11 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_VIA_SOURCE_TO_AB1.sql from ticket_comments/via/source/to 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_VIA_SOURCE_TO_AB2.sql from ticket_comments/via/source/to 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_VIA_SOURCE_TO_AB3.sql from ticket_comments/via/source/to 2022-04-22 10:55:00 normalization > Generating airbyte_incremental/ZENDESK_SUPPORT/TICKET_COMMENTS_VIA_SOURCE_TO.sql from ticket_comments/via/source/to 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_VIA_SOURCE_FROM_AB1.sql from ticket_comments/via/source/from 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_VIA_SOURCE_FROM_AB2.sql from ticket_comments/via/source/from 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_VIA_SOURCE_FROM_AB3.sql from ticket_comments/via/source/from 2022-04-22 10:55:00 normalization > Generating airbyte_incremental/ZENDESK_SUPPORT/TICKET_COMMENTS_VIA_SOURCE_FROM.sql from ticket_comments/via/source/from 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2_AB1.sql from ticket_comments/metadata/flags_options/2 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2_AB2.sql from ticket_comments/metadata/flags_options/2 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2_AB3.sql from ticket_comments/metadata/flags_options/2 2022-04-22 10:55:00 normalization > Generating airbyte_incremental/ZENDESK_SUPPORT/TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2.sql from ticket_comments/metadata/flags_options/2 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_AB1.sql from ticket_comments/metadata/flags_options/11 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_AB2.sql from ticket_comments/metadata/flags_options/11 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_AB3.sql from ticket_comments/metadata/flags_options/11 2022-04-22 10:55:00 normalization > Generating airbyte_incremental/ZENDESK_SUPPORT/TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11.sql from ticket_comments/metadata/flags_options/11 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKETS_VIA_SOURCE_TO_AB1.sql from tickets/via/source/to 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKETS_VIA_SOURCE_TO_AB2.sql from tickets/via/source/to 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKETS_VIA_SOURCE_TO_AB3.sql from tickets/via/source/to 2022-04-22 10:55:00 normalization > Generating airbyte_incremental/ZENDESK_SUPPORT/TICKETS_VIA_SOURCE_TO.sql from tickets/via/source/to 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKETS_VIA_SOURCE_FROM_AB1.sql from tickets/via/source/from 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKETS_VIA_SOURCE_FROM_AB2.sql from tickets/via/source/from 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKETS_VIA_SOURCE_FROM_AB3.sql from tickets/via/source/from 2022-04-22 10:55:00 normalization > Generating airbyte_incremental/ZENDESK_SUPPORT/TICKETS_VIA_SOURCE_FROM.sql from tickets/via/source/from 2022-04-22 10:55:00 normalization > Ignoring stream 'ticket_ids' from ticket_audits/via/source/from/ticket_ids because properties list is empty 2022-04-22 10:55:00 normalization > Ignoring stream 'original_recipients' from ticket_audits/via/source/from/original_recipients because properties list is empty 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_VIA_SOURCE_TO_AB1.sql from ticket_audits/events/via/source/to 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_VIA_SOURCE_TO_AB2.sql from ticket_audits/events/via/source/to 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_VIA_SOURCE_TO_AB3.sql from ticket_audits/events/via/source/to 2022-04-22 10:55:00 normalization > Generating airbyte_incremental/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_VIA_SOURCE_TO.sql from ticket_audits/events/via/source/to 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM_AB1.sql from ticket_audits/events/via/source/from 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM_AB2.sql from ticket_audits/events/via/source/from 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM_AB3.sql from ticket_audits/events/via/source/from 2022-04-22 10:55:00 normalization > Generating airbyte_incremental/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM.sql from ticket_audits/events/via/source/from 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE_AB1.sql from ticket_audits/metadata/flags_options/11/message 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE_AB2.sql from ticket_audits/metadata/flags_options/11/message 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE_AB3.sql from ticket_audits/metadata/flags_options/11/message 2022-04-22 10:55:00 normalization > Generating airbyte_incremental/ZENDESK_SUPPORT/TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE.sql from ticket_audits/metadata/flags_options/11/message 2022-04-22 10:55:00 normalization > Ignoring stream 'ticket_ids' from ticket_comments/via/source/from/ticket_ids because properties list is empty 2022-04-22 10:55:00 normalization > Ignoring stream 'original_recipients' from ticket_comments/via/source/from/original_recipients because properties list is empty 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE_AB1.sql from ticket_comments/metadata/flags_options/11/message 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE_AB2.sql from ticket_comments/metadata/flags_options/11/message 2022-04-22 10:55:00 normalization > Generating airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE_AB3.sql from ticket_comments/metadata/flags_options/11/message 2022-04-22 10:55:00 normalization > Generating airbyte_incremental/ZENDESK_SUPPORT/TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE.sql from ticket_comments/metadata/flags_options/11/message 2022-04-22 10:55:00 normalization > Ignoring stream 'original_recipients' from tickets/via/source/from/original_recipients because properties list is empty 2022-04-22 10:55:00 normalization > Ignoring stream 'original_recipients' from ticket_audits/events/via/source/from/original_recipients because properties list is empty 2022-04-22 10:55:00 normalization > detected no config file for ssh, assuming ssh is off. 2022-04-22 10:55:03 normalization > [--event-buffer-size EVENT_BUFFER_SIZE] 2022-04-22 10:55:03 normalization > --event-buffer-size EVENT_BUFFER_SIZE 2022-04-22 10:55:03 normalization > 2022-04-22 10:55:03 normalization > DBT >=1.0.0 detected; using 10K event buffer size 2022-04-22 10:55:03 normalization > 2022-04-22 10:55:05 normalization > 10:55:05 Running with dbt=1.0.0 2022-04-22 10:55:05 normalization > 10:55:05 Partial parse save file not found. Starting full parse. 2022-04-22 10:55:10 normalization > 10:55:10 Found 289 models, 0 tests, 0 snapshots, 0 analyses, 528 macros, 0 operations, 0 seed files, 16 sources, 0 exposures, 0 metrics 2022-04-22 10:55:10 normalization > 10:55:10 2022-04-22 10:55:13 normalization > 10:55:13 Concurrency: 5 threads (target='prod') 2022-04-22 10:55:13 normalization > 10:55:13 2022-04-22 10:55:14 normalization > 10:55:14 1 of 95 START view model _AIRBYTE_ZENDESK_SUPPORT.GROUPS_STG............................................................ [RUN] 2022-04-22 10:55:14 normalization > 10:55:14 2 of 95 START view model _AIRBYTE_ZENDESK_SUPPORT.GROUP_MEMBERSHIPS_STG................................................. [RUN] 2022-04-22 10:55:14 normalization > 10:55:14 3 of 95 START view model _AIRBYTE_ZENDESK_SUPPORT.MACROS_STG............................................................ [RUN] 2022-04-22 10:55:14 normalization > 10:55:14 4 of 95 START view model _AIRBYTE_ZENDESK_SUPPORT.SATISFACTION_RATINGS_STG.............................................. [RUN] 2022-04-22 10:55:14 normalization > 10:55:14 5 of 95 START view model _AIRBYTE_ZENDESK_SUPPORT.ORGANIZATIONS_STG..................................................... [RUN] 2022-04-22 10:55:16 normalization > 10:55:16 1 of 95 OK created view model _AIRBYTE_ZENDESK_SUPPORT.GROUPS_STG....................................................... [SUCCESS 1 in 2.20s] 2022-04-22 10:55:16 normalization > 10:55:16 6 of 95 START view model _AIRBYTE_ZENDESK_SUPPORT.TICKETS_STG........................................................... [RUN] 2022-04-22 10:55:17 normalization > 10:55:17 2 of 95 OK created view model _AIRBYTE_ZENDESK_SUPPORT.GROUP_MEMBERSHIPS_STG............................................ [SUCCESS 1 in 2.31s] 2022-04-22 10:55:17 normalization > 10:55:17 4 of 95 OK created view model _AIRBYTE_ZENDESK_SUPPORT.SATISFACTION_RATINGS_STG......................................... [SUCCESS 1 in 2.20s] 2022-04-22 10:55:17 normalization > 10:55:17 7 of 95 START view model _AIRBYTE_ZENDESK_SUPPORT.TICKET_AUDITS_STG..................................................... [RUN] 2022-04-22 10:55:17 normalization > 10:55:17 8 of 95 START view model _AIRBYTE_ZENDESK_SUPPORT.TICKET_COMMENTS_STG................................................... [RUN] 2022-04-22 10:55:17 normalization > 10:55:17 3 of 95 OK created view model _AIRBYTE_ZENDESK_SUPPORT.MACROS_STG....................................................... [SUCCESS 1 in 2.52s] 2022-04-22 10:55:17 normalization > 10:55:17 5 of 95 OK created view model _AIRBYTE_ZENDESK_SUPPORT.ORGANIZATIONS_STG................................................ [SUCCESS 1 in 2.44s] 2022-04-22 10:55:17 normalization > 10:55:17 9 of 95 START view model _AIRBYTE_ZENDESK_SUPPORT.TICKET_FIELDS_STG..................................................... [RUN] 2022-04-22 10:55:17 normalization > 10:55:17 10 of 95 START view model _AIRBYTE_ZENDESK_SUPPORT.TICKET_FORMS_STG..................................................... [RUN] 2022-04-22 10:55:19 normalization > 10:55:19 7 of 95 OK created view model _AIRBYTE_ZENDESK_SUPPORT.TICKET_AUDITS_STG................................................ [SUCCESS 1 in 2.49s] 2022-04-22 10:55:19 normalization > 10:55:19 11 of 95 START view model _AIRBYTE_ZENDESK_SUPPORT.TICKET_METRICS_STG................................................... [RUN] 2022-04-22 10:55:19 normalization > 10:55:19 6 of 95 OK created view model _AIRBYTE_ZENDESK_SUPPORT.TICKETS_STG...................................................... [SUCCESS 1 in 2.70s] 2022-04-22 10:55:19 normalization > 10:55:19 12 of 95 START view model _AIRBYTE_ZENDESK_SUPPORT.TICKET_METRIC_EVENTS_STG............................................. [RUN] 2022-04-22 10:55:19 normalization > 10:55:19 10 of 95 OK created view model _AIRBYTE_ZENDESK_SUPPORT.TICKET_FORMS_STG................................................ [SUCCESS 1 in 2.17s] 2022-04-22 10:55:19 normalization > 10:55:19 13 of 95 START view model _AIRBYTE_ZENDESK_SUPPORT.USERS_STG............................................................ [RUN] 2022-04-22 10:55:19 normalization > 10:55:19 8 of 95 OK created view model _AIRBYTE_ZENDESK_SUPPORT.TICKET_COMMENTS_STG.............................................. [SUCCESS 1 in 2.71s] 2022-04-22 10:55:19 normalization > 10:55:19 9 of 95 OK created view model _AIRBYTE_ZENDESK_SUPPORT.TICKET_FIELDS_STG................................................ [SUCCESS 1 in 2.50s] 2022-04-22 10:55:19 normalization > 10:55:19 14 of 95 START incremental model ZENDESK_SUPPORT.GROUPS_SCD............................................................. [RUN] 2022-04-22 10:55:19 normalization > 10:55:19 15 of 95 START table model ZENDESK_SUPPORT.SCHEDULES.................................................................... [RUN] 2022-04-22 10:55:21 normalization > 10:55:21 11 of 95 OK created view model _AIRBYTE_ZENDESK_SUPPORT.TICKET_METRICS_STG.............................................. [SUCCESS 1 in 2.19s] 2022-04-22 10:55:21 normalization > 10:55:21 16 of 95 START table model ZENDESK_SUPPORT.SLA_POLICIES................................................................. [RUN] 2022-04-22 10:55:21 normalization > 10:55:21 12 of 95 OK created view model _AIRBYTE_ZENDESK_SUPPORT.TICKET_METRIC_EVENTS_STG........................................ [SUCCESS 1 in 2.24s] 2022-04-22 10:55:21 normalization > 10:55:21 17 of 95 START table model ZENDESK_SUPPORT.TAGS......................................................................... [RUN] 2022-04-22 10:55:22 normalization > 10:55:22 13 of 95 OK created view model _AIRBYTE_ZENDESK_SUPPORT.USERS_STG....................................................... [SUCCESS 1 in 2.54s] 2022-04-22 10:55:22 normalization > 10:55:22 18 of 95 START incremental model ZENDESK_SUPPORT.GROUP_MEMBERSHIPS_SCD.................................................. [RUN] 2022-04-22 10:55:22 normalization > 10:55:22 15 of 95 OK created table model ZENDESK_SUPPORT.SCHEDULES............................................................... [SUCCESS 1 in 2.89s] 2022-04-22 10:55:22 normalization > 10:55:22 19 of 95 START incremental model ZENDESK_SUPPORT.SATISFACTION_RATINGS_SCD............................................... [RUN] 2022-04-22 10:55:23 normalization > 10:55:23 16 of 95 OK created table model ZENDESK_SUPPORT.SLA_POLICIES............................................................ [SUCCESS 1 in 2.10s] 2022-04-22 10:55:23 normalization > 10:55:23 20 of 95 START incremental model ZENDESK_SUPPORT.MACROS_SCD............................................................. [RUN] 2022-04-22 10:55:24 normalization > 10:55:24 17 of 95 OK created table model ZENDESK_SUPPORT.TAGS.................................................................... [SUCCESS 1 in 2.65s] 2022-04-22 10:55:24 normalization > 10:55:24 21 of 95 START incremental model ZENDESK_SUPPORT.ORGANIZATIONS_SCD...................................................... [RUN] 2022-04-22 10:55:26 normalization > 10:55:26 14 of 95 OK created incremental model ZENDESK_SUPPORT.GROUPS_SCD........................................................ [SUCCESS 1 in 6.18s] 2022-04-22 10:55:26 normalization > 10:55:26 22 of 95 START incremental model ZENDESK_SUPPORT.TICKET_AUDITS_SCD...................................................... [RUN] 2022-04-22 10:55:28 normalization > 10:55:28 18 of 95 OK created incremental model ZENDESK_SUPPORT.GROUP_MEMBERSHIPS_SCD............................................. [SUCCESS 1 in 6.17s] 2022-04-22 10:55:28 normalization > 10:55:28 23 of 95 START incremental model ZENDESK_SUPPORT.TICKETS_SCD............................................................ [RUN] 2022-04-22 10:55:28 normalization > 10:55:28 19 of 95 OK created incremental model ZENDESK_SUPPORT.SATISFACTION_RATINGS_SCD.......................................... [SUCCESS 1 in 6.00s] 2022-04-22 10:55:28 normalization > 10:55:28 24 of 95 START incremental model ZENDESK_SUPPORT.TICKET_FORMS_SCD....................................................... [RUN] 2022-04-22 10:55:28 normalization > 10:55:28 20 of 95 OK created incremental model ZENDESK_SUPPORT.MACROS_SCD........................................................ [SUCCESS 1 in 5.04s] 2022-04-22 10:55:28 normalization > 10:55:28 25 of 95 START incremental model ZENDESK_SUPPORT.TICKET_COMMENTS_SCD.................................................... [RUN] 2022-04-22 10:55:30 normalization > 10:55:30 21 of 95 OK created incremental model ZENDESK_SUPPORT.ORGANIZATIONS_SCD................................................. [SUCCESS 1 in 5.56s] 2022-04-22 10:55:30 normalization > 10:55:30 26 of 95 START incremental model ZENDESK_SUPPORT.TICKET_FIELDS_SCD...................................................... [RUN] 2022-04-22 10:55:35 normalization > 10:55:35 22 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_AUDITS_SCD................................................. [SUCCESS 1 in 8.98s] 2022-04-22 10:55:35 normalization > 10:55:35 27 of 95 START incremental model ZENDESK_SUPPORT.TICKET_METRICS_SCD..................................................... [RUN] 2022-04-22 10:55:36 normalization > 10:55:36 24 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_FORMS_SCD.................................................. [SUCCESS 1 in 7.56s] 2022-04-22 10:55:36 normalization > 10:55:36 28 of 95 START incremental model ZENDESK_SUPPORT.TICKET_METRIC_EVENTS_SCD............................................... [RUN] 2022-04-22 10:55:37 normalization > 10:55:37 25 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_COMMENTS_SCD............................................... [SUCCESS 1 in 8.20s] 2022-04-22 10:55:37 normalization > 10:55:37 29 of 95 START incremental model ZENDESK_SUPPORT.USERS_SCD.............................................................. [RUN] 2022-04-22 10:55:37 normalization > 10:55:37 26 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_FIELDS_SCD................................................. [SUCCESS 1 in 7.33s] 2022-04-22 10:55:37 normalization > 10:55:37 30 of 95 START incremental model ZENDESK_SUPPORT.GROUPS................................................................. [RUN] 2022-04-22 10:55:38 normalization > 10:55:38 23 of 95 OK created incremental model ZENDESK_SUPPORT.TICKETS_SCD....................................................... [SUCCESS 1 in 9.56s] 2022-04-22 10:55:38 normalization > 10:55:38 31 of 95 START incremental model ZENDESK_SUPPORT.GROUP_MEMBERSHIPS...................................................... [RUN] 2022-04-22 10:55:41 normalization > 10:55:41 30 of 95 OK created incremental model ZENDESK_SUPPORT.GROUPS............................................................ [SUCCESS 1 in 4.01s] 2022-04-22 10:55:41 normalization > 10:55:41 32 of 95 START incremental model ZENDESK_SUPPORT.SATISFACTION_RATINGS................................................... [RUN] 2022-04-22 10:55:41 normalization > 10:55:41 27 of 95 ERROR creating incremental model ZENDESK_SUPPORT.TICKET_METRICS_SCD............................................ [ERROR in 6.74s] 2022-04-22 10:55:41 normalization > 10:55:41 33 of 95 START incremental model ZENDESK_SUPPORT.MACROS................................................................. [RUN] 2022-04-22 10:55:41 normalization > 10:55:41 31 of 95 OK created incremental model ZENDESK_SUPPORT.GROUP_MEMBERSHIPS................................................. [SUCCESS 1 in 3.95s] 2022-04-22 10:55:42 normalization > 10:55:42 34 of 95 START incremental model ZENDESK_SUPPORT.ORGANIZATIONS.......................................................... [RUN] 2022-04-22 10:55:43 normalization > 10:55:43 28 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_METRIC_EVENTS_SCD.......................................... [SUCCESS 1 in 6.81s] 2022-04-22 10:55:43 normalization > 10:55:43 35 of 95 START incremental model ZENDESK_SUPPORT.TICKET_AUDITS.......................................................... [RUN] 2022-04-22 10:55:45 normalization > 10:55:45 32 of 95 OK created incremental model ZENDESK_SUPPORT.SATISFACTION_RATINGS.............................................. [SUCCESS 1 in 3.44s] 2022-04-22 10:55:45 normalization > 10:55:45 36 of 95 START incremental model ZENDESK_SUPPORT.TICKET_FORMS........................................................... [RUN] 2022-04-22 10:55:45 normalization > 10:55:45 29 of 95 OK created incremental model ZENDESK_SUPPORT.USERS_SCD......................................................... [SUCCESS 1 in 7.95s] 2022-04-22 10:55:45 normalization > 10:55:45 37 of 95 START incremental model ZENDESK_SUPPORT.TICKET_COMMENTS........................................................ [RUN] 2022-04-22 10:55:45 normalization > 10:55:45 33 of 95 OK created incremental model ZENDESK_SUPPORT.MACROS............................................................ [SUCCESS 1 in 3.69s] 2022-04-22 10:55:45 normalization > 10:55:45 38 of 95 START incremental model ZENDESK_SUPPORT.TICKET_FIELDS.......................................................... [RUN] 2022-04-22 10:55:45 normalization > 10:55:45 34 of 95 OK created incremental model ZENDESK_SUPPORT.ORGANIZATIONS..................................................... [SUCCESS 1 in 3.88s] 2022-04-22 10:55:46 normalization > 10:55:46 39 of 95 START incremental model ZENDESK_SUPPORT.TICKETS................................................................ [RUN] 2022-04-22 10:55:47 normalization > 10:55:47 35 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_AUDITS..................................................... [SUCCESS 1 in 4.18s] 2022-04-22 10:55:47 normalization > 10:55:47 40 of 95 SKIP relation ZENDESK_SUPPORT.TICKET_METRICS................................................................... [SKIP] 2022-04-22 10:55:47 normalization > 10:55:47 41 of 95 START incremental model ZENDESK_SUPPORT.TICKET_METRIC_EVENTS................................................... [RUN] 2022-04-22 10:55:48 normalization > 10:55:48 36 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_FORMS...................................................... [SUCCESS 1 in 3.85s] 2022-04-22 10:55:49 normalization > 10:55:49 42 of 95 START incremental model ZENDESK_SUPPORT.USERS.................................................................. [RUN] 2022-04-22 10:55:49 normalization > 10:55:49 37 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_COMMENTS................................................... [SUCCESS 1 in 4.02s] 2022-04-22 10:55:49 normalization > 10:55:49 38 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_FIELDS..................................................... [SUCCESS 1 in 3.73s] 2022-04-22 10:55:49 normalization > 10:55:49 43 of 95 START table model ZENDESK_SUPPORT.SCHEDULES_INTERVALS.......................................................... [RUN] 2022-04-22 10:55:49 normalization > 10:55:49 44 of 95 START table model ZENDESK_SUPPORT.SLA_POLICIES_FILTER.......................................................... [RUN] 2022-04-22 10:55:50 normalization > 10:55:50 39 of 95 OK created incremental model ZENDESK_SUPPORT.TICKETS........................................................... [SUCCESS 1 in 4.69s] 2022-04-22 10:55:50 normalization > 10:55:50 45 of 95 START table model ZENDESK_SUPPORT.SLA_POLICIES_POLICY_METRICS.................................................. [RUN] 2022-04-22 10:55:52 normalization > 10:55:52 43 of 95 OK created table model ZENDESK_SUPPORT.SCHEDULES_INTERVALS..................................................... [SUCCESS 1 in 2.32s] 2022-04-22 10:55:52 normalization > 10:55:52 46 of 95 START incremental model ZENDESK_SUPPORT.MACROS_ACTIONS......................................................... [RUN] 2022-04-22 10:55:52 normalization > 10:55:52 41 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_METRIC_EVENTS.............................................. [SUCCESS 1 in 4.73s] 2022-04-22 10:55:52 normalization > 10:55:52 47 of 95 START incremental model ZENDESK_SUPPORT.MACROS_RESTRICTION..................................................... [RUN] 2022-04-22 10:55:52 normalization > 10:55:52 44 of 95 OK created table model ZENDESK_SUPPORT.SLA_POLICIES_FILTER..................................................... [SUCCESS 1 in 2.80s] 2022-04-22 10:55:52 normalization > 10:55:52 45 of 95 OK created table model ZENDESK_SUPPORT.SLA_POLICIES_POLICY_METRICS............................................. [SUCCESS 1 in 1.81s] 2022-04-22 10:55:52 normalization > 10:55:52 48 of 95 START incremental model ZENDESK_SUPPORT.TICKET_AUDITS_EVENTS................................................... [RUN] 2022-04-22 10:55:52 normalization > 10:55:52 49 of 95 START incremental model ZENDESK_SUPPORT.TICKET_AUDITS_METADATA................................................. [RUN] 2022-04-22 10:55:56 normalization > 10:55:56 42 of 95 OK created incremental model ZENDESK_SUPPORT.USERS............................................................. [SUCCESS 1 in 7.01s] 2022-04-22 10:55:56 normalization > 10:55:56 50 of 95 START incremental model ZENDESK_SUPPORT.TICKET_AUDITS_VIA...................................................... [RUN] 2022-04-22 10:55:56 normalization > 10:55:56 46 of 95 OK created incremental model ZENDESK_SUPPORT.MACROS_ACTIONS.................................................... [SUCCESS 1 in 4.34s] 2022-04-22 10:55:56 normalization > 10:55:56 51 of 95 START incremental model ZENDESK_SUPPORT.TICKET_COMMENTS_ATTACHMENTS............................................ [RUN] 2022-04-22 10:55:57 normalization > 10:55:57 47 of 95 OK created incremental model ZENDESK_SUPPORT.MACROS_RESTRICTION................................................ [SUCCESS 1 in 4.94s] 2022-04-22 10:55:57 normalization > 10:55:57 49 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_AUDITS_METADATA............................................ [SUCCESS 1 in 4.70s] 2022-04-22 10:55:57 normalization > 10:55:57 52 of 95 START incremental model ZENDESK_SUPPORT.TICKET_COMMENTS_METADATA............................................... [RUN] 2022-04-22 10:55:57 normalization > 10:55:57 53 of 95 START incremental model ZENDESK_SUPPORT.TICKET_COMMENTS_VIA.................................................... [RUN] 2022-04-22 10:55:57 normalization > 10:55:57 48 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_AUDITS_EVENTS.............................................. [SUCCESS 1 in 5.23s] 2022-04-22 10:55:57 normalization > 10:55:57 54 of 95 START incremental model ZENDESK_SUPPORT.TICKET_FIELDS_CUSTOM_FIELD_OPTIONS..................................... [RUN] 2022-04-22 10:56:00 normalization > 10:56:00 50 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_AUDITS_VIA................................................. [SUCCESS 1 in 4.21s] 2022-04-22 10:56:00 normalization > 10:56:00 55 of 95 START incremental model ZENDESK_SUPPORT.TICKETS_CUSTOM_FIELDS.................................................. [RUN] 2022-04-22 10:56:00 normalization > 10:56:00 51 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_COMMENTS_ATTACHMENTS....................................... [SUCCESS 1 in 4.16s] 2022-04-22 10:56:00 normalization > 10:56:00 56 of 95 START incremental model ZENDESK_SUPPORT.TICKETS_SATISFACTION_RATING............................................ [RUN] 2022-04-22 10:56:01 normalization > 10:56:01 53 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_COMMENTS_VIA............................................... [SUCCESS 1 in 3.88s] 2022-04-22 10:56:01 normalization > 10:56:01 57 of 95 SKIP relation ZENDESK_SUPPORT.TICKET_METRICS_AGENT_WAIT_TIME_IN_MINUTES........................................ [SKIP] 2022-04-22 10:56:01 normalization > 10:56:01 58 of 95 SKIP relation ZENDESK_SUPPORT.TICKET_METRICS_FIRST_RESOLUTION_TIME_IN_MINUTES.................................. [SKIP] 2022-04-22 10:56:01 normalization > 10:56:01 59 of 95 SKIP relation ZENDESK_SUPPORT.TICKET_METRICS_FULL_RESOLUTION_TIME_IN_MINUTES................................... [SKIP] 2022-04-22 10:56:01 normalization > 10:56:01 60 of 95 SKIP relation ZENDESK_SUPPORT.TICKET_METRICS_ON_HOLD_TIME_IN_MINUTES........................................... [SKIP] 2022-04-22 10:56:01 normalization > 10:56:01 61 of 95 SKIP relation ZENDESK_SUPPORT.TICKET_METRICS_REPLY_TIME_IN_MINUTES............................................. [SKIP] 2022-04-22 10:56:01 normalization > 10:56:01 62 of 95 SKIP relation ZENDESK_SUPPORT.TICKET_METRICS_REQUESTER_WAIT_TIME_IN_MINUTES.................................... [SKIP] 2022-04-22 10:56:01 normalization > 10:56:01 63 of 95 SKIP relation ZENDESK_SUPPORT.TICKET_METRICS_STATUS............................................................ [SKIP] 2022-04-22 10:56:01 normalization > 10:56:01 64 of 95 START incremental model ZENDESK_SUPPORT.TICKETS_VIA............................................................ [RUN] 2022-04-22 10:56:01 normalization > 10:56:01 54 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_FIELDS_CUSTOM_FIELD_OPTIONS................................ [SUCCESS 1 in 3.96s] 2022-04-22 10:56:01 normalization > 10:56:01 65 of 95 START incremental model ZENDESK_SUPPORT.USERS_PHOTO............................................................ [RUN] 2022-04-22 10:56:02 normalization > 10:56:01 52 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_COMMENTS_METADATA.......................................... [SUCCESS 1 in 4.53s] 2022-04-22 10:56:03 normalization > 10:56:03 66 of 95 START table model ZENDESK_SUPPORT.SLA_POLICIES_FILTER_ALL...................................................... [RUN] 2022-04-22 10:56:04 normalization > 10:56:04 55 of 95 OK created incremental model ZENDESK_SUPPORT.TICKETS_CUSTOM_FIELDS............................................. [SUCCESS 1 in 4.53s] 2022-04-22 10:56:04 normalization > 10:56:04 67 of 95 START table model ZENDESK_SUPPORT.SLA_POLICIES_FILTER_ANY...................................................... [RUN] 2022-04-22 10:56:04 normalization > 10:56:04 56 of 95 OK created incremental model ZENDESK_SUPPORT.TICKETS_SATISFACTION_RATING....................................... [SUCCESS 1 in 4.15s] 2022-04-22 10:56:04 normalization > 10:56:04 68 of 95 START incremental model ZENDESK_SUPPORT.TICKET_AUDITS_METADATA_FLAGS_OPTIONS................................... [RUN] 2022-04-22 10:56:04 normalization > 10:56:04 66 of 95 OK created table model ZENDESK_SUPPORT.SLA_POLICIES_FILTER_ALL................................................. [SUCCESS 1 in 1.83s] 2022-04-22 10:56:04 normalization > 10:56:04 69 of 95 START incremental model ZENDESK_SUPPORT.TICKET_AUDITS_METADATA_SYSTEM.......................................... [RUN] 2022-04-22 10:56:05 normalization > 10:56:05 64 of 95 OK created incremental model ZENDESK_SUPPORT.TICKETS_VIA....................................................... [SUCCESS 1 in 3.89s] 2022-04-22 10:56:05 normalization > 10:56:05 70 of 95 START incremental model ZENDESK_SUPPORT.TICKET_AUDITS_EVENTS_ATTACHMENTS....................................... [RUN] 2022-04-22 10:56:07 normalization > 10:56:07 65 of 95 OK created incremental model ZENDESK_SUPPORT.USERS_PHOTO....................................................... [SUCCESS 1 in 5.12s] 2022-04-22 10:56:07 normalization > 10:56:07 71 of 95 START incremental model ZENDESK_SUPPORT.TICKET_AUDITS_EVENTS_DATA.............................................. [RUN] 2022-04-22 10:56:07 normalization > 10:56:07 67 of 95 OK created table model ZENDESK_SUPPORT.SLA_POLICIES_FILTER_ANY................................................. [SUCCESS 1 in 2.59s] 2022-04-22 10:56:07 normalization > 10:56:07 72 of 95 START incremental model ZENDESK_SUPPORT.TICKET_AUDITS_EVENTS_VIA............................................... [RUN] 2022-04-22 10:56:09 normalization > 10:56:09 68 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_AUDITS_METADATA_FLAGS_OPTIONS.............................. [SUCCESS 1 in 4.42s] 2022-04-22 10:56:09 normalization > 10:56:09 73 of 95 START incremental model ZENDESK_SUPPORT.TICKET_AUDITS_VIA_SOURCE............................................... [RUN] 2022-04-22 10:56:09 normalization > 10:56:09 70 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_AUDITS_EVENTS_ATTACHMENTS.................................. [SUCCESS 1 in 4.32s] 2022-04-22 10:56:09 normalization > 10:56:09 74 of 95 START incremental model ZENDESK_SUPPORT.TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS................................. [RUN] 2022-04-22 10:56:10 normalization > 10:56:10 69 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_AUDITS_METADATA_SYSTEM..................................... [SUCCESS 1 in 5.21s] 2022-04-22 10:56:10 normalization > 10:56:10 75 of 95 START incremental model ZENDESK_SUPPORT.TICKET_COMMENTS_VIA_SOURCE............................................. [RUN] 2022-04-22 10:56:11 normalization > 10:56:11 71 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_AUDITS_EVENTS_DATA......................................... [SUCCESS 1 in 4.46s] 2022-04-22 10:56:11 normalization > 10:56:11 76 of 95 START incremental model ZENDESK_SUPPORT.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS................................. [RUN] 2022-04-22 10:56:11 normalization > 10:56:11 72 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_AUDITS_EVENTS_VIA.......................................... [SUCCESS 1 in 4.58s] 2022-04-22 10:56:11 normalization > 10:56:11 77 of 95 START incremental model ZENDESK_SUPPORT.TICKET_COMMENTS_METADATA_SYSTEM........................................ [RUN] 2022-04-22 10:56:13 normalization > 10:56:13 73 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_AUDITS_VIA_SOURCE.......................................... [SUCCESS 1 in 4.24s] 2022-04-22 10:56:14 normalization > 10:56:14 78 of 95 START incremental model ZENDESK_SUPPORT.TICKETS_VIA_SOURCE..................................................... [RUN] 2022-04-22 10:56:14 normalization > 10:56:14 74 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS............................ [SUCCESS 1 in 4.39s] 2022-04-22 10:56:14 normalization > 10:56:14 79 of 95 START incremental model ZENDESK_SUPPORT.USERS_PHOTO_THUMBNAILS................................................. [RUN] 2022-04-22 10:56:14 normalization > 10:56:14 75 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_COMMENTS_VIA_SOURCE........................................ [SUCCESS 1 in 4.21s] 2022-04-22 10:56:14 normalization > 10:56:14 80 of 95 START incremental model ZENDESK_SUPPORT.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11................................ [RUN] 2022-04-22 10:56:15 normalization > 10:56:15 76 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS............................ [SUCCESS 1 in 4.04s] 2022-04-22 10:56:15 normalization > 10:56:15 81 of 95 START incremental model ZENDESK_SUPPORT.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2................................. [RUN] 2022-04-22 10:56:16 normalization > 10:56:16 77 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_COMMENTS_METADATA_SYSTEM................................... [SUCCESS 1 in 4.14s] 2022-04-22 10:56:16 normalization > 10:56:16 82 of 95 START incremental model ZENDESK_SUPPORT.TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS............................ [RUN] 2022-04-22 10:56:18 normalization > 10:56:18 80 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11........................... [SUCCESS 1 in 4.15s] 2022-04-22 10:56:18 normalization > 10:56:18 83 of 95 START incremental model ZENDESK_SUPPORT.TICKET_AUDITS_EVENTS_VIA_SOURCE........................................ [RUN] 2022-04-22 10:56:18 normalization > 10:56:18 78 of 95 OK created incremental model ZENDESK_SUPPORT.TICKETS_VIA_SOURCE................................................ [SUCCESS 1 in 4.68s] 2022-04-22 10:56:18 normalization > 10:56:18 84 of 95 START incremental model ZENDESK_SUPPORT.TICKET_AUDITS_VIA_SOURCE_FROM.......................................... [RUN] 2022-04-22 10:56:19 normalization > 10:56:19 79 of 95 OK created incremental model ZENDESK_SUPPORT.USERS_PHOTO_THUMBNAILS............................................ [SUCCESS 1 in 4.68s] 2022-04-22 10:56:19 normalization > 10:56:19 85 of 95 START incremental model ZENDESK_SUPPORT.TICKET_AUDITS_VIA_SOURCE_TO............................................ [RUN] 2022-04-22 10:56:19 normalization > 10:56:19 81 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2............................ [SUCCESS 1 in 4.02s] 2022-04-22 10:56:20 normalization > 10:56:20 86 of 95 START incremental model ZENDESK_SUPPORT.TICKET_COMMENTS_VIA_SOURCE_FROM........................................ [RUN] 2022-04-22 10:56:20 normalization > 10:56:20 82 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS....................... [SUCCESS 1 in 4.40s] 2022-04-22 10:56:20 normalization > 10:56:20 87 of 95 START incremental model ZENDESK_SUPPORT.TICKET_COMMENTS_VIA_SOURCE_TO.......................................... [RUN] 2022-04-22 10:56:22 normalization > 10:56:22 83 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_AUDITS_EVENTS_VIA_SOURCE................................... [SUCCESS 1 in 4.18s] 2022-04-22 10:56:22 normalization > 10:56:22 88 of 95 START incremental model ZENDESK_SUPPORT.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11.............................. [RUN] 2022-04-22 10:56:23 normalization > 10:56:23 84 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_AUDITS_VIA_SOURCE_FROM..................................... [SUCCESS 1 in 4.55s] 2022-04-22 10:56:23 normalization > 10:56:23 89 of 95 START incremental model ZENDESK_SUPPORT.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2............................... [RUN] 2022-04-22 10:56:23 normalization > 10:56:23 85 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_AUDITS_VIA_SOURCE_TO....................................... [SUCCESS 1 in 4.45s] 2022-04-22 10:56:23 normalization > 10:56:23 90 of 95 START incremental model ZENDESK_SUPPORT.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE........................ [RUN] 2022-04-22 10:56:23 normalization > 10:56:23 86 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_COMMENTS_VIA_SOURCE_FROM................................... [SUCCESS 1 in 3.61s] 2022-04-22 10:56:23 normalization > 10:56:23 91 of 95 START incremental model ZENDESK_SUPPORT.TICKETS_VIA_SOURCE_FROM................................................ [RUN] 2022-04-22 10:56:24 normalization > 10:56:24 87 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_COMMENTS_VIA_SOURCE_TO..................................... [SUCCESS 1 in 3.97s] 2022-04-22 10:56:24 normalization > 10:56:24 92 of 95 START incremental model ZENDESK_SUPPORT.TICKETS_VIA_SOURCE_TO.................................................. [RUN] 2022-04-22 10:56:26 normalization > 10:56:26 88 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11......................... [SUCCESS 1 in 3.33s] 2022-04-22 10:56:26 normalization > 10:56:26 93 of 95 START incremental model ZENDESK_SUPPORT.TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM................................... [RUN] 2022-04-22 10:56:27 normalization > 10:56:27 89 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2.......................... [SUCCESS 1 in 4.31s] 2022-04-22 10:56:27 normalization > 10:56:27 94 of 95 START incremental model ZENDESK_SUPPORT.TICKET_AUDITS_EVENTS_VIA_SOURCE_TO..................................... [RUN] 2022-04-22 10:56:28 normalization > 10:56:28 92 of 95 OK created incremental model ZENDESK_SUPPORT.TICKETS_VIA_SOURCE_TO............................................. [SUCCESS 1 in 3.52s] 2022-04-22 10:56:28 normalization > 10:56:28 95 of 95 START incremental model ZENDESK_SUPPORT.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE...................... [RUN] 2022-04-22 10:56:28 normalization > 10:56:28 90 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE................... [SUCCESS 1 in 4.51s] 2022-04-22 10:56:28 normalization > 10:56:28 91 of 95 OK created incremental model ZENDESK_SUPPORT.TICKETS_VIA_SOURCE_FROM........................................... [SUCCESS 1 in 4.26s] 2022-04-22 10:56:30 normalization > 10:56:30 93 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM.............................. [SUCCESS 1 in 3.85s] 2022-04-22 10:56:30 normalization > 10:56:30 94 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_AUDITS_EVENTS_VIA_SOURCE_TO................................ [SUCCESS 1 in 3.18s] 2022-04-22 10:56:31 normalization > 10:56:31 95 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE................. [SUCCESS 1 in 3.06s] 2022-04-22 10:56:31 normalization > 10:56:31 2022-04-22 10:56:31 normalization > 10:56:31 Finished running 13 view models, 8 table models, 74 incremental models in 80.49s. 2022-04-22 10:56:31 normalization > 10:56:31 2022-04-22 10:56:31 normalization > 10:56:31 Completed with 1 error and 0 warnings: 2022-04-22 10:56:31 normalization > 10:56:31 2022-04-22 10:56:31 normalization > 10:56:31 Database Error in model TICKET_METRICS_SCD (models/generated/airbyte_incremental/scd/ZENDESK_SUPPORT/TICKET_METRICS_SCD.sql) 2022-04-22 10:56:31 normalization > 10:56:31 002108 (22000): SQL compilation error: cannot change column INITIALLY_ASSIGNED_AT from type DATE to TIMESTAMP_TZ(9) 2022-04-22 10:56:31 normalization > 10:56:31 2022-04-22 10:56:31 normalization > 10:56:31 2022-04-22 10:56:31 normalization > 10:56:31 Done. PASS=86 WARN=0 ERROR=1 SKIP=8 TOTAL=95 2022-04-22 10:56:31 normalization > 2022-04-22 10:56:31 normalization > Diagnosing dbt debug to check if destination is available for dbt and well configured (1): 2022-04-22 10:56:31 normalization > 2022-04-22 10:56:33 normalization > 10:56:33 Running with dbt=1.0.0 2022-04-22 10:56:33 normalization > dbt version: 1.0.0 2022-04-22 10:56:33 normalization > python version: 3.9.9 2022-04-22 10:56:33 normalization > python path: /usr/local/bin/python 2022-04-22 10:56:33 normalization > os info: Linux-4.14.268-205.500.amzn2.x86_64-x86_64-with-glibc2.31 2022-04-22 10:56:33 normalization > Using profiles.yml file at /data/7023/2/normalize/profiles.yml 2022-04-22 10:56:33 normalization > Using dbt_project.yml file at /data/7023/2/normalize/dbt_project.yml 2022-04-22 10:56:33 normalization > 2022-04-22 10:56:34 normalization > Configuration: 2022-04-22 10:56:34 normalization > profiles.yml file [OK found and valid] 2022-04-22 10:56:34 normalization > dbt_project.yml file [OK found and valid] 2022-04-22 10:56:34 normalization > 2022-04-22 10:56:34 normalization > Required dependencies: 2022-04-22 10:56:34 normalization > - git [OK found] 2022-04-22 10:56:34 normalization > 2022-04-22 10:56:34 normalization > Connection: 2022-04-22 10:56:34 normalization > account: axa94734.us-east-1.privatelink 2022-04-22 10:56:34 normalization > user: AIRBYTE_USER 2022-04-22 10:56:34 normalization > database: AIRBYTE_DB 2022-04-22 10:56:34 normalization > schema: AIRBYTE_SCHEMA 2022-04-22 10:56:34 normalization > warehouse: AIRBYTE_WH 2022-04-22 10:56:34 normalization > role: AIRBYTE_ROLE 2022-04-22 10:56:34 normalization > client_session_keep_alive: False 2022-04-22 10:56:34 normalization > Connection test: [OK connection ok] 2022-04-22 10:56:34 normalization > 2022-04-22 10:56:34 normalization > All checks passed! 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > Forward dbt output logs to diagnose/debug errors (0): 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ============================== 2022-04-22 10:55:05.580039 | b169199d-fe78-4317-8120-715da9d89dbb ============================== 2022-04-22 10:56:35 normalization > 10:55:05.580039 [info ] [MainThread]: Running with dbt=1.0.0 2022-04-22 10:56:35 normalization > 10:55:05.580607 [debug] [MainThread]: running dbt with arguments Namespace(record_timing_info=None, debug=None, log_format=None, write_json=None, use_colors=None, printer_width=None, warn_error=None, version_check=None, partial_parse=None, single_threaded=False, use_experimental_parser=None, static_parser=None, profiles_dir='/data/7023/2/normalize', send_anonymous_usage_stats=None, fail_fast=None, event_buffer_size='10000', project_dir='/data/7023/2/normalize', profile=None, target=None, vars='{}', log_cache_events=False, threads=None, select=None, exclude=None, selector_name=None, state=None, defer=None, full_refresh=False, cls=, which='run', rpc_method='run') 2022-04-22 10:56:35 normalization > 10:55:05.580868 [debug] [MainThread]: Tracking: do not track 2022-04-22 10:56:35 normalization > 10:55:05.601694 [info ] [MainThread]: Partial parse save file not found. Starting full parse. 2022-04-22 10:56:35 normalization > 10:55:05.647993 [debug] [MainThread]: Parsing macros/get_custom_schema.sql 2022-04-22 10:56:35 normalization > 10:55:05.649981 [debug] [MainThread]: Parsing macros/incremental.sql 2022-04-22 10:56:35 normalization > 10:55:05.656703 [debug] [MainThread]: Parsing macros/should_full_refresh.sql 2022-04-22 10:56:35 normalization > 10:55:05.661936 [debug] [MainThread]: Parsing macros/star_intersect.sql 2022-04-22 10:56:35 normalization > 10:55:05.668033 [debug] [MainThread]: Parsing macros/cross_db_utils/array.sql 2022-04-22 10:56:35 normalization > 10:55:05.682430 [debug] [MainThread]: Parsing macros/cross_db_utils/concat.sql 2022-04-22 10:56:35 normalization > 10:55:05.684667 [debug] [MainThread]: Parsing macros/cross_db_utils/current_timestamp.sql 2022-04-22 10:56:35 normalization > 10:55:05.685443 [debug] [MainThread]: Parsing macros/cross_db_utils/datatypes.sql 2022-04-22 10:56:35 normalization > 10:55:05.695423 [debug] [MainThread]: Parsing macros/cross_db_utils/except.sql 2022-04-22 10:56:35 normalization > 10:55:05.696266 [debug] [MainThread]: Parsing macros/cross_db_utils/hash.sql 2022-04-22 10:56:35 normalization > 10:55:05.696881 [debug] [MainThread]: Parsing macros/cross_db_utils/json_operations.sql 2022-04-22 10:56:35 normalization > 10:55:05.730222 [debug] [MainThread]: Parsing macros/cross_db_utils/quote.sql 2022-04-22 10:56:35 normalization > 10:55:05.731934 [debug] [MainThread]: Parsing macros/cross_db_utils/surrogate_key.sql 2022-04-22 10:56:35 normalization > 10:55:05.734033 [debug] [MainThread]: Parsing macros/cross_db_utils/type_conversions.sql 2022-04-22 10:56:35 normalization > 10:55:05.739915 [debug] [MainThread]: Parsing macros/schema_tests/equal_rowcount.sql 2022-04-22 10:56:35 normalization > 10:55:05.741138 [debug] [MainThread]: Parsing macros/schema_tests/equality.sql 2022-04-22 10:56:35 normalization > 10:55:05.747574 [debug] [MainThread]: Parsing macros/adapters.sql 2022-04-22 10:56:35 normalization > 10:55:05.787673 [debug] [MainThread]: Parsing macros/catalog.sql 2022-04-22 10:56:35 normalization > 10:55:05.789818 [debug] [MainThread]: Parsing macros/materializations/incremental.sql 2022-04-22 10:56:35 normalization > 10:55:05.799026 [debug] [MainThread]: Parsing macros/materializations/merge.sql 2022-04-22 10:56:35 normalization > 10:55:05.803160 [debug] [MainThread]: Parsing macros/materializations/seed.sql 2022-04-22 10:56:35 normalization > 10:55:05.808729 [debug] [MainThread]: Parsing macros/materializations/snapshot.sql 2022-04-22 10:56:35 normalization > 10:55:05.809865 [debug] [MainThread]: Parsing macros/materializations/table.sql 2022-04-22 10:56:35 normalization > 10:55:05.813176 [debug] [MainThread]: Parsing macros/materializations/view.sql 2022-04-22 10:56:35 normalization > 10:55:05.814625 [debug] [MainThread]: Parsing macros/adapters/columns.sql 2022-04-22 10:56:35 normalization > 10:55:05.825137 [debug] [MainThread]: Parsing macros/adapters/freshness.sql 2022-04-22 10:56:35 normalization > 10:55:05.828263 [debug] [MainThread]: Parsing macros/adapters/indexes.sql 2022-04-22 10:56:35 normalization > 10:55:05.831166 [debug] [MainThread]: Parsing macros/adapters/metadata.sql 2022-04-22 10:56:35 normalization > 10:55:05.838619 [debug] [MainThread]: Parsing macros/adapters/persist_docs.sql 2022-04-22 10:56:35 normalization > 10:55:05.843420 [debug] [MainThread]: Parsing macros/adapters/relation.sql 2022-04-22 10:56:35 normalization > 10:55:05.853646 [debug] [MainThread]: Parsing macros/adapters/schema.sql 2022-04-22 10:56:35 normalization > 10:55:05.856007 [debug] [MainThread]: Parsing macros/etc/datetime.sql 2022-04-22 10:56:35 normalization > 10:55:05.865210 [debug] [MainThread]: Parsing macros/etc/statement.sql 2022-04-22 10:56:35 normalization > 10:55:05.869949 [debug] [MainThread]: Parsing macros/generic_test_sql/accepted_values.sql 2022-04-22 10:56:35 normalization > 10:55:05.871427 [debug] [MainThread]: Parsing macros/generic_test_sql/not_null.sql 2022-04-22 10:56:35 normalization > 10:55:05.872068 [debug] [MainThread]: Parsing macros/generic_test_sql/relationships.sql 2022-04-22 10:56:35 normalization > 10:55:05.873037 [debug] [MainThread]: Parsing macros/generic_test_sql/unique.sql 2022-04-22 10:56:35 normalization > 10:55:05.873772 [debug] [MainThread]: Parsing macros/get_custom_name/get_custom_alias.sql 2022-04-22 10:56:35 normalization > 10:55:05.875290 [debug] [MainThread]: Parsing macros/get_custom_name/get_custom_database.sql 2022-04-22 10:56:35 normalization > 10:55:05.876963 [debug] [MainThread]: Parsing macros/get_custom_name/get_custom_schema.sql 2022-04-22 10:56:35 normalization > 10:55:05.879517 [debug] [MainThread]: Parsing macros/materializations/configs.sql 2022-04-22 10:56:35 normalization > 10:55:05.882445 [debug] [MainThread]: Parsing macros/materializations/hooks.sql 2022-04-22 10:56:35 normalization > 10:55:05.886494 [debug] [MainThread]: Parsing macros/materializations/models/incremental/column_helpers.sql 2022-04-22 10:56:35 normalization > 10:55:05.891244 [debug] [MainThread]: Parsing macros/materializations/models/incremental/incremental.sql 2022-04-22 10:56:35 normalization > 10:55:05.902091 [debug] [MainThread]: Parsing macros/materializations/models/incremental/is_incremental.sql 2022-04-22 10:56:35 normalization > 10:55:05.903736 [debug] [MainThread]: Parsing macros/materializations/models/incremental/merge.sql 2022-04-22 10:56:35 normalization > 10:55:05.915562 [debug] [MainThread]: Parsing macros/materializations/models/incremental/on_schema_change.sql 2022-04-22 10:56:35 normalization > 10:55:05.932003 [debug] [MainThread]: Parsing macros/materializations/models/table/create_table_as.sql 2022-04-22 10:56:35 normalization > 10:55:05.935166 [debug] [MainThread]: Parsing macros/materializations/models/table/table.sql 2022-04-22 10:56:35 normalization > 10:55:05.942876 [debug] [MainThread]: Parsing macros/materializations/models/view/create_or_replace_view.sql 2022-04-22 10:56:35 normalization > 10:55:05.945802 [debug] [MainThread]: Parsing macros/materializations/models/view/create_view_as.sql 2022-04-22 10:56:35 normalization > 10:55:05.948247 [debug] [MainThread]: Parsing macros/materializations/models/view/helpers.sql 2022-04-22 10:56:35 normalization > 10:55:05.949669 [debug] [MainThread]: Parsing macros/materializations/models/view/view.sql 2022-04-22 10:56:35 normalization > 10:55:05.957237 [debug] [MainThread]: Parsing macros/materializations/seeds/helpers.sql 2022-04-22 10:56:35 normalization > 10:55:05.974276 [debug] [MainThread]: Parsing macros/materializations/seeds/seed.sql 2022-04-22 10:56:35 normalization > 10:55:05.980916 [debug] [MainThread]: Parsing macros/materializations/snapshots/helpers.sql 2022-04-22 10:56:35 normalization > 10:55:05.992560 [debug] [MainThread]: Parsing macros/materializations/snapshots/snapshot.sql 2022-04-22 10:56:35 normalization > 10:55:06.004818 [debug] [MainThread]: Parsing macros/materializations/snapshots/snapshot_merge.sql 2022-04-22 10:56:35 normalization > 10:55:06.007569 [debug] [MainThread]: Parsing macros/materializations/snapshots/strategies.sql 2022-04-22 10:56:35 normalization > 10:55:06.033371 [debug] [MainThread]: Parsing macros/materializations/tests/helpers.sql 2022-04-22 10:56:35 normalization > 10:55:06.035494 [debug] [MainThread]: Parsing macros/materializations/tests/test.sql 2022-04-22 10:56:35 normalization > 10:55:06.040417 [debug] [MainThread]: Parsing macros/materializations/tests/where_subquery.sql 2022-04-22 10:56:35 normalization > 10:55:06.042445 [debug] [MainThread]: Parsing tests/generic/builtin.sql 2022-04-22 10:56:35 normalization > 10:55:06.045664 [debug] [MainThread]: Parsing macros/cross_db_utils/_is_ephemeral.sql 2022-04-22 10:56:35 normalization > 10:55:06.047678 [debug] [MainThread]: Parsing macros/cross_db_utils/_is_relation.sql 2022-04-22 10:56:35 normalization > 10:55:06.048874 [debug] [MainThread]: Parsing macros/cross_db_utils/any_value.sql 2022-04-22 10:56:35 normalization > 10:55:06.050350 [debug] [MainThread]: Parsing macros/cross_db_utils/bool_or.sql 2022-04-22 10:56:35 normalization > 10:55:06.052363 [debug] [MainThread]: Parsing macros/cross_db_utils/cast_bool_to_text.sql 2022-04-22 10:56:35 normalization > 10:55:06.054072 [debug] [MainThread]: Parsing macros/cross_db_utils/concat.sql 2022-04-22 10:56:35 normalization > 10:55:06.055146 [debug] [MainThread]: Parsing macros/cross_db_utils/current_timestamp.sql 2022-04-22 10:56:35 normalization > 10:55:06.058859 [debug] [MainThread]: Parsing macros/cross_db_utils/datatypes.sql 2022-04-22 10:56:35 normalization > 10:55:06.065860 [debug] [MainThread]: Parsing macros/cross_db_utils/date_trunc.sql 2022-04-22 10:56:35 normalization > 10:55:06.067614 [debug] [MainThread]: Parsing macros/cross_db_utils/dateadd.sql 2022-04-22 10:56:35 normalization > 10:55:06.070815 [debug] [MainThread]: Parsing macros/cross_db_utils/datediff.sql 2022-04-22 10:56:35 normalization > 10:55:06.081885 [debug] [MainThread]: Parsing macros/cross_db_utils/escape_single_quotes.sql 2022-04-22 10:56:35 normalization > 10:55:06.084086 [debug] [MainThread]: Parsing macros/cross_db_utils/except.sql 2022-04-22 10:56:35 normalization > 10:55:06.085273 [debug] [MainThread]: Parsing macros/cross_db_utils/hash.sql 2022-04-22 10:56:35 normalization > 10:55:06.086748 [debug] [MainThread]: Parsing macros/cross_db_utils/identifier.sql 2022-04-22 10:56:35 normalization > 10:55:06.088490 [debug] [MainThread]: Parsing macros/cross_db_utils/intersect.sql 2022-04-22 10:56:35 normalization > 10:55:06.089623 [debug] [MainThread]: Parsing macros/cross_db_utils/last_day.sql 2022-04-22 10:56:35 normalization > 10:55:06.093516 [debug] [MainThread]: Parsing macros/cross_db_utils/length.sql 2022-04-22 10:56:35 normalization > 10:55:06.094941 [debug] [MainThread]: Parsing macros/cross_db_utils/literal.sql 2022-04-22 10:56:35 normalization > 10:55:06.096000 [debug] [MainThread]: Parsing macros/cross_db_utils/position.sql 2022-04-22 10:56:35 normalization > 10:55:06.097742 [debug] [MainThread]: Parsing macros/cross_db_utils/replace.sql 2022-04-22 10:56:35 normalization > 10:55:06.099153 [debug] [MainThread]: Parsing macros/cross_db_utils/right.sql 2022-04-22 10:56:35 normalization > 10:55:06.101715 [debug] [MainThread]: Parsing macros/cross_db_utils/safe_cast.sql 2022-04-22 10:56:35 normalization > 10:55:06.104360 [debug] [MainThread]: Parsing macros/cross_db_utils/split_part.sql 2022-04-22 10:56:35 normalization > 10:55:06.106428 [debug] [MainThread]: Parsing macros/cross_db_utils/width_bucket.sql 2022-04-22 10:56:35 normalization > 10:55:06.112015 [debug] [MainThread]: Parsing macros/jinja_helpers/log_info.sql 2022-04-22 10:56:35 normalization > 10:55:06.113277 [debug] [MainThread]: Parsing macros/jinja_helpers/pretty_log_format.sql 2022-04-22 10:56:35 normalization > 10:55:06.114521 [debug] [MainThread]: Parsing macros/jinja_helpers/pretty_time.sql 2022-04-22 10:56:35 normalization > 10:55:06.115854 [debug] [MainThread]: Parsing macros/jinja_helpers/slugify.sql 2022-04-22 10:56:35 normalization > 10:55:06.117233 [debug] [MainThread]: Parsing macros/materializations/insert_by_period_materialization.sql 2022-04-22 10:56:35 normalization > 10:55:06.143453 [debug] [MainThread]: Parsing macros/schema_tests/accepted_range.sql 2022-04-22 10:56:35 normalization > 10:55:06.146393 [debug] [MainThread]: Parsing macros/schema_tests/at_least_one.sql 2022-04-22 10:56:35 normalization > 10:55:06.147922 [debug] [MainThread]: Parsing macros/schema_tests/cardinality_equality.sql 2022-04-22 10:56:35 normalization > 10:55:06.150162 [debug] [MainThread]: Parsing macros/schema_tests/equal_rowcount.sql 2022-04-22 10:56:35 normalization > 10:55:06.151945 [debug] [MainThread]: Parsing macros/schema_tests/equality.sql 2022-04-22 10:56:35 normalization > 10:55:06.155846 [debug] [MainThread]: Parsing macros/schema_tests/expression_is_true.sql 2022-04-22 10:56:35 normalization > 10:55:06.157835 [debug] [MainThread]: Parsing macros/schema_tests/fewer_rows_than.sql 2022-04-22 10:56:35 normalization > 10:55:06.159581 [debug] [MainThread]: Parsing macros/schema_tests/mutually_exclusive_ranges.sql 2022-04-22 10:56:35 normalization > 10:55:06.169428 [debug] [MainThread]: Parsing macros/schema_tests/not_accepted_values.sql 2022-04-22 10:56:35 normalization > 10:55:06.171925 [debug] [MainThread]: Parsing macros/schema_tests/not_constant.sql 2022-04-22 10:56:35 normalization > 10:55:06.173430 [debug] [MainThread]: Parsing macros/schema_tests/not_null_proportion.sql 2022-04-22 10:56:35 normalization > 10:55:06.175745 [debug] [MainThread]: Parsing macros/schema_tests/recency.sql 2022-04-22 10:56:35 normalization > 10:55:06.177707 [debug] [MainThread]: Parsing macros/schema_tests/relationships_where.sql 2022-04-22 10:56:35 normalization > 10:55:06.180188 [debug] [MainThread]: Parsing macros/schema_tests/sequential_values.sql 2022-04-22 10:56:35 normalization > 10:55:06.183346 [debug] [MainThread]: Parsing macros/schema_tests/test_not_null_where.sql 2022-04-22 10:56:35 normalization > 10:55:06.184986 [debug] [MainThread]: Parsing macros/schema_tests/test_unique_where.sql 2022-04-22 10:56:35 normalization > 10:55:06.186494 [debug] [MainThread]: Parsing macros/schema_tests/unique_combination_of_columns.sql 2022-04-22 10:56:35 normalization > 10:55:06.189611 [debug] [MainThread]: Parsing macros/sql/date_spine.sql 2022-04-22 10:56:35 normalization > 10:55:06.194034 [debug] [MainThread]: Parsing macros/sql/generate_series.sql 2022-04-22 10:56:35 normalization > 10:55:06.198641 [debug] [MainThread]: Parsing macros/sql/get_column_values.sql 2022-04-22 10:56:35 normalization > 10:55:06.204375 [debug] [MainThread]: Parsing macros/sql/get_query_results_as_dict.sql 2022-04-22 10:56:35 normalization > 10:55:06.207116 [debug] [MainThread]: Parsing macros/sql/get_relations_by_pattern.sql 2022-04-22 10:56:35 normalization > 10:55:06.210984 [debug] [MainThread]: Parsing macros/sql/get_relations_by_prefix.sql 2022-04-22 10:56:35 normalization > 10:55:06.214928 [debug] [MainThread]: Parsing macros/sql/get_table_types_sql.sql 2022-04-22 10:56:35 normalization > 10:55:06.216372 [debug] [MainThread]: Parsing macros/sql/get_tables_by_pattern_sql.sql 2022-04-22 10:56:35 normalization > 10:55:06.223277 [debug] [MainThread]: Parsing macros/sql/get_tables_by_prefix_sql.sql 2022-04-22 10:56:35 normalization > 10:55:06.225155 [debug] [MainThread]: Parsing macros/sql/groupby.sql 2022-04-22 10:56:35 normalization > 10:55:06.226605 [debug] [MainThread]: Parsing macros/sql/haversine_distance.sql 2022-04-22 10:56:35 normalization > 10:55:06.233153 [debug] [MainThread]: Parsing macros/sql/nullcheck.sql 2022-04-22 10:56:35 normalization > 10:55:06.234963 [debug] [MainThread]: Parsing macros/sql/nullcheck_table.sql 2022-04-22 10:56:35 normalization > 10:55:06.236753 [debug] [MainThread]: Parsing macros/sql/pivot.sql 2022-04-22 10:56:35 normalization > 10:55:06.241342 [debug] [MainThread]: Parsing macros/sql/safe_add.sql 2022-04-22 10:56:35 normalization > 10:55:06.243162 [debug] [MainThread]: Parsing macros/sql/star.sql 2022-04-22 10:56:35 normalization > 10:55:06.247908 [debug] [MainThread]: Parsing macros/sql/surrogate_key.sql 2022-04-22 10:56:35 normalization > 10:55:06.251646 [debug] [MainThread]: Parsing macros/sql/union.sql 2022-04-22 10:56:35 normalization > 10:55:06.263389 [debug] [MainThread]: Parsing macros/sql/unpivot.sql 2022-04-22 10:56:35 normalization > 10:55:06.271849 [debug] [MainThread]: Parsing macros/web/get_url_host.sql 2022-04-22 10:56:35 normalization > 10:55:06.274175 [debug] [MainThread]: Parsing macros/web/get_url_parameter.sql 2022-04-22 10:56:35 normalization > 10:55:06.276056 [debug] [MainThread]: Parsing macros/web/get_url_path.sql 2022-04-22 10:56:35 normalization > 10:55:06.720622 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/GROUP_MEMBERSHIPS_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:06.758547 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/GROUP_MEMBERSHIPS_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:06.760243 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/GROUP_MEMBERSHIPS_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:06.776061 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/GROUP_MEMBERSHIPS_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:06.778348 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/GROUPS_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:06.789588 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/GROUPS_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:06.791034 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/GROUPS_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:06.799477 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/GROUPS_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:06.801249 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/MACROS_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:06.822503 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/MACROS_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:06.824082 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/MACROS_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:06.836014 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/MACROS_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:06.837948 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/ORGANIZATIONS_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:06.920278 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/ORGANIZATIONS_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:06.921868 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/ORGANIZATIONS_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:06.932882 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/ORGANIZATIONS_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:06.934742 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/SATISFACTION_RATINGS_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:06.950516 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/SATISFACTION_RATINGS_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:06.952111 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/SATISFACTION_RATINGS_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:06.962682 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/SATISFACTION_RATINGS_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:06.966094 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/SCHEDULES_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:06.976569 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/SCHEDULES_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:06.978009 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/SCHEDULES_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:06.985482 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/SCHEDULES_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:06.986967 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/SCHEDULES_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:07.010495 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/SCHEDULES_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:07.012614 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/SLA_POLICIES_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:07.026121 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/SLA_POLICIES_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:07.027583 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/SLA_POLICIES_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:07.039710 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/SLA_POLICIES_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:07.041506 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/SLA_POLICIES_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:07.055266 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/SLA_POLICIES_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:07.057775 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TAGS_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:07.066855 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TAGS_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:07.068642 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TAGS_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:07.075794 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TAGS_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:07.077207 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TAGS_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:07.084510 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TAGS_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:07.086452 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:07.100832 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:07.102306 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:07.111162 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:07.113141 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:07.130917 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:07.132559 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:07.144029 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:07.146246 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_FIELDS_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:07.172920 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_FIELDS_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:07.174621 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_FIELDS_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:07.189349 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_FIELDS_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:07.190979 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_FORMS_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:07.210011 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_FORMS_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:07.211579 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_FORMS_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:07.223103 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_FORMS_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:07.224791 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_METRIC_EVENTS_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:07.236787 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_METRIC_EVENTS_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:07.238278 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_METRIC_EVENTS_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:07.247498 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_METRIC_EVENTS_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:07.249670 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_METRICS_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:07.278281 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_METRICS_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:07.279958 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_METRICS_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:07.294031 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_METRICS_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:07.296525 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKETS_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:07.332265 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKETS_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:07.334105 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKETS_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:07.350903 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKETS_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:07.353774 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/USERS_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:07.390134 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/USERS_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:07.391951 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/USERS_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:07.411964 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/USERS_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:07.413668 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/MACROS_ACTIONS_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:07.430012 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/MACROS_ACTIONS_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:07.431425 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/MACROS_ACTIONS_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:07.438837 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/MACROS_ACTIONS_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:07.440198 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/MACROS_ACTIONS_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:07.448908 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/MACROS_ACTIONS_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:07.450491 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/MACROS_RESTRICTION_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:07.459518 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/MACROS_RESTRICTION_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:07.461072 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/MACROS_RESTRICTION_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:07.468445 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/MACROS_RESTRICTION_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:07.469877 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/MACROS_RESTRICTION_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:07.478412 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/MACROS_RESTRICTION_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:07.480010 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/SCHEDULES_INTERVALS_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:07.489446 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/SCHEDULES_INTERVALS_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:07.490797 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/SCHEDULES_INTERVALS_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:07.498777 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/SCHEDULES_INTERVALS_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:07.500075 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/SCHEDULES_INTERVALS_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:07.507205 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/SCHEDULES_INTERVALS_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:07.508554 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/SLA_POLICIES_FILTER_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:07.516381 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/SLA_POLICIES_FILTER_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:07.517952 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/SLA_POLICIES_FILTER_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:07.524137 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/SLA_POLICIES_FILTER_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:07.525481 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/SLA_POLICIES_FILTER_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:07.533555 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/SLA_POLICIES_FILTER_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:07.535131 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/SLA_POLICIES_POLICY_METRICS_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:07.547581 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/SLA_POLICIES_POLICY_METRICS_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:07.549002 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/SLA_POLICIES_POLICY_METRICS_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:07.556338 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/SLA_POLICIES_POLICY_METRICS_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:07.557695 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/SLA_POLICIES_POLICY_METRICS_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:07.567731 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/SLA_POLICIES_POLICY_METRICS_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:07.569365 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_VIA_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:07.577802 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_VIA_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:07.579446 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_VIA_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:07.586310 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_VIA_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:07.587605 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_VIA_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:07.595109 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_VIA_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:07.597218 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:07.631976 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:07.633730 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:07.648659 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:07.650188 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:07.664984 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:07.666674 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_METADATA_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:07.679650 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_METADATA_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:07.681498 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_METADATA_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:07.689470 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_METADATA_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:07.690818 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_METADATA_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:07.700246 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_METADATA_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:07.701785 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_VIA_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:07.710173 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_VIA_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:07.711485 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_VIA_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:07.718599 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_VIA_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:07.719925 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_VIA_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:07.729130 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_VIA_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:07.730807 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_METADATA_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:07.742600 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_METADATA_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:07.744190 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_METADATA_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:07.751993 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_METADATA_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:07.753385 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_METADATA_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:07.762770 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_METADATA_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:07.764942 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_ATTACHMENTS_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:07.785310 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_ATTACHMENTS_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:07.786866 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_ATTACHMENTS_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:07.797405 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_ATTACHMENTS_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:07.798799 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_ATTACHMENTS_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:07.809083 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_ATTACHMENTS_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:07.810607 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_FIELDS_CUSTOM_FIELD_OPTIONS_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:07.823841 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_FIELDS_CUSTOM_FIELD_OPTIONS_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:07.825412 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_FIELDS_CUSTOM_FIELD_OPTIONS_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:07.834325 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_FIELDS_CUSTOM_FIELD_OPTIONS_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:07.835702 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_FIELDS_CUSTOM_FIELD_OPTIONS_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:07.845873 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_FIELDS_CUSTOM_FIELD_OPTIONS_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:07.847784 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_METRICS_STATUS_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:07.855622 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_METRICS_STATUS_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:07.856998 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_METRICS_STATUS_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:07.864378 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_METRICS_STATUS_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:07.865731 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_METRICS_STATUS_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:07.873335 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_METRICS_STATUS_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:07.874820 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_METRICS_REPLY_TIME_IN_MINUTES_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:07.882889 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_METRICS_REPLY_TIME_IN_MINUTES_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:07.884196 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_METRICS_REPLY_TIME_IN_MINUTES_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:07.892932 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_METRICS_REPLY_TIME_IN_MINUTES_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:07.894284 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_METRICS_REPLY_TIME_IN_MINUTES_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:07.901929 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_METRICS_REPLY_TIME_IN_MINUTES_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:07.903454 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_METRICS_ON_HOLD_TIME_IN_MINUTES_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:07.911347 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_METRICS_ON_HOLD_TIME_IN_MINUTES_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:07.912694 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_METRICS_ON_HOLD_TIME_IN_MINUTES_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:07.920220 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_METRICS_ON_HOLD_TIME_IN_MINUTES_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:07.921830 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_METRICS_ON_HOLD_TIME_IN_MINUTES_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:07.929433 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_METRICS_ON_HOLD_TIME_IN_MINUTES_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:07.930934 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_METRICS_AGENT_WAIT_TIME_IN_MINUTES_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:07.938959 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_METRICS_AGENT_WAIT_TIME_IN_MINUTES_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:07.940323 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_METRICS_AGENT_WAIT_TIME_IN_MINUTES_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:07.948790 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_METRICS_AGENT_WAIT_TIME_IN_MINUTES_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:07.950146 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_METRICS_AGENT_WAIT_TIME_IN_MINUTES_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:07.958063 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_METRICS_AGENT_WAIT_TIME_IN_MINUTES_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:07.959695 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_METRICS_REQUESTER_WAIT_TIME_IN_MINUTES_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:07.967870 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_METRICS_REQUESTER_WAIT_TIME_IN_MINUTES_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:07.969715 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_METRICS_REQUESTER_WAIT_TIME_IN_MINUTES_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:07.977509 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_METRICS_REQUESTER_WAIT_TIME_IN_MINUTES_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:07.978888 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_METRICS_REQUESTER_WAIT_TIME_IN_MINUTES_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:07.986624 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_METRICS_REQUESTER_WAIT_TIME_IN_MINUTES_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:07.988561 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_METRICS_FULL_RESOLUTION_TIME_IN_MINUTES_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:07.997742 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_METRICS_FULL_RESOLUTION_TIME_IN_MINUTES_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:07.999106 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_METRICS_FULL_RESOLUTION_TIME_IN_MINUTES_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:08.006153 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_METRICS_FULL_RESOLUTION_TIME_IN_MINUTES_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:08.007523 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_METRICS_FULL_RESOLUTION_TIME_IN_MINUTES_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:08.015269 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_METRICS_FULL_RESOLUTION_TIME_IN_MINUTES_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:08.016827 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKETS_VIA_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:08.025171 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKETS_VIA_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:08.026875 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKETS_VIA_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:08.033940 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKETS_VIA_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:08.035468 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_METRICS_FIRST_RESOLUTION_TIME_IN_MINUTES_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:08.044839 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_METRICS_FIRST_RESOLUTION_TIME_IN_MINUTES_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:08.046233 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_METRICS_FIRST_RESOLUTION_TIME_IN_MINUTES_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:08.053373 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_METRICS_FIRST_RESOLUTION_TIME_IN_MINUTES_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:08.054666 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_METRICS_FIRST_RESOLUTION_TIME_IN_MINUTES_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:08.063360 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_METRICS_FIRST_RESOLUTION_TIME_IN_MINUTES_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:08.065293 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKETS_VIA_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:08.074992 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKETS_VIA_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:08.076843 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKETS_CUSTOM_FIELDS_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:08.090993 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKETS_CUSTOM_FIELDS_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:08.092444 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKETS_CUSTOM_FIELDS_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:08.099909 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKETS_CUSTOM_FIELDS_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:08.101363 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKETS_CUSTOM_FIELDS_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:08.111411 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKETS_CUSTOM_FIELDS_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:08.114100 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKETS_SATISFACTION_RATING_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:08.134663 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKETS_SATISFACTION_RATING_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:08.136342 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKETS_SATISFACTION_RATING_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:08.146742 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKETS_SATISFACTION_RATING_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:08.148245 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKETS_SATISFACTION_RATING_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:08.163314 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKETS_SATISFACTION_RATING_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:08.166116 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/USERS_PHOTO_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:08.259474 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/USERS_PHOTO_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:08.261074 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/USERS_PHOTO_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:08.271447 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/USERS_PHOTO_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:08.273173 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/USERS_PHOTO_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:08.283354 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/USERS_PHOTO_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:08.284821 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/SLA_POLICIES_FILTER_ALL_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:08.296794 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/SLA_POLICIES_FILTER_ALL_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:08.298252 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/SLA_POLICIES_FILTER_ALL_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:08.305299 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/SLA_POLICIES_FILTER_ALL_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:08.306593 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/SLA_POLICIES_FILTER_ALL_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:08.315091 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/SLA_POLICIES_FILTER_ALL_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:08.316557 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/SLA_POLICIES_FILTER_ANY_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:08.327651 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/SLA_POLICIES_FILTER_ANY_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:08.329437 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/SLA_POLICIES_FILTER_ANY_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:08.336657 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/SLA_POLICIES_FILTER_ANY_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:08.338047 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/SLA_POLICIES_FILTER_ANY_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:08.345559 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/SLA_POLICIES_FILTER_ANY_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:08.346908 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_VIA_SOURCE_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:08.356713 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_VIA_SOURCE_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:08.358118 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_VIA_SOURCE_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:08.367586 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_VIA_SOURCE_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:08.368948 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_VIA_SOURCE_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:08.377126 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_VIA_SOURCE_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:08.378710 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_VIA_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:08.386914 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_VIA_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:08.388208 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_VIA_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:08.394976 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_VIA_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:08.396226 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_VIA_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:08.403767 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_VIA_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:08.405234 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_DATA_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:08.420280 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_DATA_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:08.421860 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_DATA_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:08.432321 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_DATA_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:08.433710 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_DATA_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:08.443325 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_DATA_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:08.445146 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_ATTACHMENTS_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:08.463573 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_ATTACHMENTS_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:08.465270 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_ATTACHMENTS_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:08.475690 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_ATTACHMENTS_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:08.477114 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_ATTACHMENTS_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:08.489645 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_ATTACHMENTS_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:08.491365 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_METADATA_SYSTEM_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:08.504159 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_METADATA_SYSTEM_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:08.505675 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_METADATA_SYSTEM_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:08.517475 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_METADATA_SYSTEM_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:08.518857 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_METADATA_SYSTEM_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:08.527834 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_METADATA_SYSTEM_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:08.529340 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_METADATA_FLAGS_OPTIONS_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:08.539789 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_METADATA_FLAGS_OPTIONS_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:08.541189 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_METADATA_FLAGS_OPTIONS_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:08.549031 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_METADATA_FLAGS_OPTIONS_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:08.550408 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_METADATA_FLAGS_OPTIONS_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:08.558373 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_METADATA_FLAGS_OPTIONS_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:08.559807 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_VIA_SOURCE_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:08.569843 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_VIA_SOURCE_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:08.571219 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_VIA_SOURCE_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:08.579839 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_VIA_SOURCE_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:08.581280 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_VIA_SOURCE_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:08.589863 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_VIA_SOURCE_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:08.591513 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_METADATA_SYSTEM_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:08.605514 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_METADATA_SYSTEM_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:08.607043 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_METADATA_SYSTEM_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:08.616922 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_METADATA_SYSTEM_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:08.618603 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_METADATA_SYSTEM_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:08.627722 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_METADATA_SYSTEM_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:08.629267 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:08.638371 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:08.639762 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:08.650013 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:08.651421 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:08.659391 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:08.661232 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:08.679377 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:08.680999 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:08.691777 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:08.693520 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:08.703602 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:08.705113 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKETS_VIA_SOURCE_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:08.716869 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKETS_VIA_SOURCE_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:08.718358 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKETS_VIA_SOURCE_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:08.726885 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKETS_VIA_SOURCE_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:08.728262 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKETS_VIA_SOURCE_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:08.736595 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKETS_VIA_SOURCE_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:08.738385 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/USERS_PHOTO_THUMBNAILS_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:08.756108 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/USERS_PHOTO_THUMBNAILS_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:08.757681 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/USERS_PHOTO_THUMBNAILS_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:08.767679 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/USERS_PHOTO_THUMBNAILS_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:08.769054 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/USERS_PHOTO_THUMBNAILS_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:08.780515 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/USERS_PHOTO_THUMBNAILS_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:08.781935 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_VIA_SOURCE_TO_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:08.790356 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_VIA_SOURCE_TO_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:08.791668 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_VIA_SOURCE_TO_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:08.798738 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_VIA_SOURCE_TO_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:08.800024 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_VIA_SOURCE_TO_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:08.807587 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_VIA_SOURCE_TO_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:08.809402 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_VIA_SOURCE_FROM_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:08.825882 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_VIA_SOURCE_FROM_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:08.827376 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_VIA_SOURCE_FROM_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:08.836973 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_VIA_SOURCE_FROM_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:08.838483 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_VIA_SOURCE_FROM_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:08.849210 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_VIA_SOURCE_FROM_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:08.850662 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_VIA_SOURCE_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:08.860474 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_VIA_SOURCE_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:08.861959 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_VIA_SOURCE_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:08.870663 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_VIA_SOURCE_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:08.872308 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_VIA_SOURCE_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:08.882049 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_VIA_SOURCE_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:08.883811 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:08.902446 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:08.904048 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:08.914699 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:08.916081 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:08.925844 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:08.927182 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:08.934802 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:08.936538 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:08.944489 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:08.945823 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:08.953451 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:08.954808 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:08.963612 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:08.965199 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:08.972330 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:08.973667 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:08.981966 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:08.983358 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_VIA_SOURCE_TO_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:08.993371 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_VIA_SOURCE_TO_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:08.994719 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_VIA_SOURCE_TO_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:09.001769 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_VIA_SOURCE_TO_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:09.003241 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKETS_VIA_SOURCE_TO_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:09.017306 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKETS_VIA_SOURCE_TO_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:09.018754 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_VIA_SOURCE_TO_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:09.026605 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_VIA_SOURCE_TO_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:09.028182 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_VIA_SOURCE_FROM_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:09.043538 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_VIA_SOURCE_FROM_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:09.045066 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_VIA_SOURCE_FROM_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:09.055520 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_VIA_SOURCE_FROM_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:09.056974 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_VIA_SOURCE_FROM_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:09.067637 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_VIA_SOURCE_FROM_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:09.069334 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:09.077148 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:09.078791 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:09.085636 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:09.086908 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:09.098205 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:09.100298 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:09.114776 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:09.116795 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:09.124145 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:09.125587 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:09.134129 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:09.135624 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKETS_VIA_SOURCE_TO_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:09.145138 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKETS_VIA_SOURCE_TO_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:09.146476 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKETS_VIA_SOURCE_TO_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:09.155676 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKETS_VIA_SOURCE_TO_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:09.157448 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKETS_VIA_SOURCE_FROM_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:09.181006 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKETS_VIA_SOURCE_FROM_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:09.182679 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKETS_VIA_SOURCE_FROM_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:09.195295 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKETS_VIA_SOURCE_FROM_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:09.196717 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKETS_VIA_SOURCE_FROM_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:09.208403 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKETS_VIA_SOURCE_FROM_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:09.209828 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_VIA_SOURCE_TO_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:09.218839 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_VIA_SOURCE_TO_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:09.220273 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_VIA_SOURCE_TO_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:09.227642 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_VIA_SOURCE_TO_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:09.229044 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_VIA_SOURCE_TO_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:09.238637 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_VIA_SOURCE_TO_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:09.240184 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:09.255659 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:09.257152 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:09.266708 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:09.268099 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:09.278484 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:09.280077 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:09.288691 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:09.290053 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:09.297082 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:09.298482 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:09.306058 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:09.307579 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:09.314756 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE_AB1.sql 2022-04-22 10:56:35 normalization > 10:55:09.316056 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:09.322891 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE_AB2.sql 2022-04-22 10:56:35 normalization > 10:55:09.324477 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:09.332654 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_ctes/ZENDESK_SUPPORT/TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE_AB3.sql 2022-04-22 10:56:35 normalization > 10:55:09.334081 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_views/ZENDESK_SUPPORT/GROUP_MEMBERSHIPS_STG.sql 2022-04-22 10:56:35 normalization > 10:55:09.344879 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_views/ZENDESK_SUPPORT/GROUP_MEMBERSHIPS_STG.sql 2022-04-22 10:56:35 normalization > 10:55:09.346315 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_views/ZENDESK_SUPPORT/GROUPS_STG.sql 2022-04-22 10:56:35 normalization > 10:55:09.356099 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_views/ZENDESK_SUPPORT/GROUPS_STG.sql 2022-04-22 10:56:35 normalization > 10:55:09.357529 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_views/ZENDESK_SUPPORT/MACROS_STG.sql 2022-04-22 10:56:35 normalization > 10:55:09.367611 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_views/ZENDESK_SUPPORT/MACROS_STG.sql 2022-04-22 10:56:35 normalization > 10:55:09.369049 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_views/ZENDESK_SUPPORT/ORGANIZATIONS_STG.sql 2022-04-22 10:56:35 normalization > 10:55:09.380662 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_views/ZENDESK_SUPPORT/ORGANIZATIONS_STG.sql 2022-04-22 10:56:35 normalization > 10:55:09.382087 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_views/ZENDESK_SUPPORT/SATISFACTION_RATINGS_STG.sql 2022-04-22 10:56:35 normalization > 10:55:09.391669 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_views/ZENDESK_SUPPORT/SATISFACTION_RATINGS_STG.sql 2022-04-22 10:56:35 normalization > 10:55:09.394883 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_views/ZENDESK_SUPPORT/TICKET_AUDITS_STG.sql 2022-04-22 10:56:35 normalization > 10:55:09.403416 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_views/ZENDESK_SUPPORT/TICKET_AUDITS_STG.sql 2022-04-22 10:56:35 normalization > 10:55:09.404765 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_views/ZENDESK_SUPPORT/TICKET_COMMENTS_STG.sql 2022-04-22 10:56:35 normalization > 10:55:09.415401 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_views/ZENDESK_SUPPORT/TICKET_COMMENTS_STG.sql 2022-04-22 10:56:35 normalization > 10:55:09.416836 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_views/ZENDESK_SUPPORT/TICKET_FIELDS_STG.sql 2022-04-22 10:56:35 normalization > 10:55:09.432192 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_views/ZENDESK_SUPPORT/TICKET_FIELDS_STG.sql 2022-04-22 10:56:35 normalization > 10:55:09.433694 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_views/ZENDESK_SUPPORT/TICKET_FORMS_STG.sql 2022-04-22 10:56:35 normalization > 10:55:09.446155 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_views/ZENDESK_SUPPORT/TICKET_FORMS_STG.sql 2022-04-22 10:56:35 normalization > 10:55:09.447893 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_views/ZENDESK_SUPPORT/TICKET_METRIC_EVENTS_STG.sql 2022-04-22 10:56:35 normalization > 10:55:09.457652 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_views/ZENDESK_SUPPORT/TICKET_METRIC_EVENTS_STG.sql 2022-04-22 10:56:35 normalization > 10:55:09.459064 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_views/ZENDESK_SUPPORT/TICKET_METRICS_STG.sql 2022-04-22 10:56:35 normalization > 10:55:09.472463 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_views/ZENDESK_SUPPORT/TICKET_METRICS_STG.sql 2022-04-22 10:56:35 normalization > 10:55:09.474014 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_views/ZENDESK_SUPPORT/TICKETS_STG.sql 2022-04-22 10:56:35 normalization > 10:55:09.492388 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_views/ZENDESK_SUPPORT/TICKETS_STG.sql 2022-04-22 10:56:35 normalization > 10:55:09.493964 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_views/ZENDESK_SUPPORT/USERS_STG.sql 2022-04-22 10:56:35 normalization > 10:55:09.514181 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_views/ZENDESK_SUPPORT/USERS_STG.sql 2022-04-22 10:56:35 normalization > 10:55:09.515978 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_incremental/scd/ZENDESK_SUPPORT/GROUP_MEMBERSHIPS_SCD.sql 2022-04-22 10:56:35 normalization > 10:55:09.530552 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_incremental/scd/ZENDESK_SUPPORT/GROUP_MEMBERSHIPS_SCD.sql 2022-04-22 10:56:35 normalization > 10:55:09.532446 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_incremental/scd/ZENDESK_SUPPORT/GROUPS_SCD.sql 2022-04-22 10:56:35 normalization > 10:55:09.545436 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_incremental/scd/ZENDESK_SUPPORT/GROUPS_SCD.sql 2022-04-22 10:56:35 normalization > 10:55:09.547149 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_incremental/scd/ZENDESK_SUPPORT/MACROS_SCD.sql 2022-04-22 10:56:35 normalization > 10:55:09.560331 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_incremental/scd/ZENDESK_SUPPORT/MACROS_SCD.sql 2022-04-22 10:56:35 normalization > 10:55:09.562090 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_incremental/scd/ZENDESK_SUPPORT/ORGANIZATIONS_SCD.sql 2022-04-22 10:56:35 normalization > 10:55:09.574937 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_incremental/scd/ZENDESK_SUPPORT/ORGANIZATIONS_SCD.sql 2022-04-22 10:56:35 normalization > 10:55:09.576649 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_incremental/scd/ZENDESK_SUPPORT/SATISFACTION_RATINGS_SCD.sql 2022-04-22 10:56:35 normalization > 10:55:09.589100 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_incremental/scd/ZENDESK_SUPPORT/SATISFACTION_RATINGS_SCD.sql 2022-04-22 10:56:35 normalization > 10:55:09.590759 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_incremental/scd/ZENDESK_SUPPORT/TICKET_AUDITS_SCD.sql 2022-04-22 10:56:35 normalization > 10:55:09.671848 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_incremental/scd/ZENDESK_SUPPORT/TICKET_AUDITS_SCD.sql 2022-04-22 10:56:35 normalization > 10:55:09.673861 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_incremental/scd/ZENDESK_SUPPORT/TICKET_COMMENTS_SCD.sql 2022-04-22 10:56:35 normalization > 10:55:09.686777 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_incremental/scd/ZENDESK_SUPPORT/TICKET_COMMENTS_SCD.sql 2022-04-22 10:56:35 normalization > 10:55:09.688518 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_incremental/scd/ZENDESK_SUPPORT/TICKET_FIELDS_SCD.sql 2022-04-22 10:56:35 normalization > 10:55:09.701973 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_incremental/scd/ZENDESK_SUPPORT/TICKET_FIELDS_SCD.sql 2022-04-22 10:56:35 normalization > 10:55:09.703734 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_incremental/scd/ZENDESK_SUPPORT/TICKET_FORMS_SCD.sql 2022-04-22 10:56:35 normalization > 10:55:09.717076 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_incremental/scd/ZENDESK_SUPPORT/TICKET_FORMS_SCD.sql 2022-04-22 10:56:35 normalization > 10:55:09.718759 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_incremental/scd/ZENDESK_SUPPORT/TICKET_METRIC_EVENTS_SCD.sql 2022-04-22 10:56:35 normalization > 10:55:09.732503 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_incremental/scd/ZENDESK_SUPPORT/TICKET_METRIC_EVENTS_SCD.sql 2022-04-22 10:56:35 normalization > 10:55:09.734195 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_incremental/scd/ZENDESK_SUPPORT/TICKET_METRICS_SCD.sql 2022-04-22 10:56:35 normalization > 10:55:09.746631 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_incremental/scd/ZENDESK_SUPPORT/TICKET_METRICS_SCD.sql 2022-04-22 10:56:35 normalization > 10:55:09.748332 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_incremental/scd/ZENDESK_SUPPORT/TICKETS_SCD.sql 2022-04-22 10:56:35 normalization > 10:55:09.761165 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_incremental/scd/ZENDESK_SUPPORT/TICKETS_SCD.sql 2022-04-22 10:56:35 normalization > 10:55:09.762894 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_incremental/scd/ZENDESK_SUPPORT/USERS_SCD.sql 2022-04-22 10:56:35 normalization > 10:55:09.775540 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_incremental/scd/ZENDESK_SUPPORT/USERS_SCD.sql 2022-04-22 10:56:35 normalization > 10:55:09.777010 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_incremental/ZENDESK_SUPPORT/GROUP_MEMBERSHIPS.sql 2022-04-22 10:56:35 normalization > 10:55:09.784359 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_incremental/ZENDESK_SUPPORT/GROUP_MEMBERSHIPS.sql 2022-04-22 10:56:35 normalization > 10:55:09.786240 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_incremental/ZENDESK_SUPPORT/GROUPS.sql 2022-04-22 10:56:35 normalization > 10:55:09.794554 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_incremental/ZENDESK_SUPPORT/GROUPS.sql 2022-04-22 10:56:35 normalization > 10:55:09.796120 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_incremental/ZENDESK_SUPPORT/MACROS.sql 2022-04-22 10:56:35 normalization > 10:55:09.802969 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_incremental/ZENDESK_SUPPORT/MACROS.sql 2022-04-22 10:56:35 normalization > 10:55:09.804502 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_incremental/ZENDESK_SUPPORT/ORGANIZATIONS.sql 2022-04-22 10:56:35 normalization > 10:55:09.811272 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_incremental/ZENDESK_SUPPORT/ORGANIZATIONS.sql 2022-04-22 10:56:35 normalization > 10:55:09.812790 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_incremental/ZENDESK_SUPPORT/SATISFACTION_RATINGS.sql 2022-04-22 10:56:35 normalization > 10:55:09.819580 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_incremental/ZENDESK_SUPPORT/SATISFACTION_RATINGS.sql 2022-04-22 10:56:35 normalization > 10:55:09.821250 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_AUDITS.sql 2022-04-22 10:56:35 normalization > 10:55:09.827903 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_AUDITS.sql 2022-04-22 10:56:35 normalization > 10:55:09.829386 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_COMMENTS.sql 2022-04-22 10:56:35 normalization > 10:55:09.836031 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_COMMENTS.sql 2022-04-22 10:56:35 normalization > 10:55:09.837561 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_FIELDS.sql 2022-04-22 10:56:35 normalization > 10:55:09.845732 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_FIELDS.sql 2022-04-22 10:56:35 normalization > 10:55:09.847053 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_FORMS.sql 2022-04-22 10:56:35 normalization > 10:55:09.853970 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_FORMS.sql 2022-04-22 10:56:35 normalization > 10:55:09.855482 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_METRIC_EVENTS.sql 2022-04-22 10:56:35 normalization > 10:55:09.862173 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_METRIC_EVENTS.sql 2022-04-22 10:56:35 normalization > 10:55:09.863672 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_METRICS.sql 2022-04-22 10:56:35 normalization > 10:55:09.870342 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_METRICS.sql 2022-04-22 10:56:35 normalization > 10:55:09.872019 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKETS.sql 2022-04-22 10:56:35 normalization > 10:55:09.878909 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKETS.sql 2022-04-22 10:56:35 normalization > 10:55:09.880386 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_incremental/ZENDESK_SUPPORT/USERS.sql 2022-04-22 10:56:35 normalization > 10:55:09.887159 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_incremental/ZENDESK_SUPPORT/USERS.sql 2022-04-22 10:56:35 normalization > 10:55:09.888612 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_incremental/ZENDESK_SUPPORT/MACROS_ACTIONS.sql 2022-04-22 10:56:35 normalization > 10:55:09.896535 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_incremental/ZENDESK_SUPPORT/MACROS_ACTIONS.sql 2022-04-22 10:56:35 normalization > 10:55:09.898017 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_incremental/ZENDESK_SUPPORT/MACROS_RESTRICTION.sql 2022-04-22 10:56:35 normalization > 10:55:09.904463 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_incremental/ZENDESK_SUPPORT/MACROS_RESTRICTION.sql 2022-04-22 10:56:35 normalization > 10:55:09.905941 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_AUDITS_VIA.sql 2022-04-22 10:56:35 normalization > 10:55:09.912204 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_AUDITS_VIA.sql 2022-04-22 10:56:35 normalization > 10:55:09.913677 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS.sql 2022-04-22 10:56:35 normalization > 10:55:09.919961 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS.sql 2022-04-22 10:56:35 normalization > 10:55:09.921436 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_AUDITS_METADATA.sql 2022-04-22 10:56:35 normalization > 10:55:09.927784 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_AUDITS_METADATA.sql 2022-04-22 10:56:35 normalization > 10:55:09.929315 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_COMMENTS_VIA.sql 2022-04-22 10:56:35 normalization > 10:55:09.935643 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_COMMENTS_VIA.sql 2022-04-22 10:56:35 normalization > 10:55:09.937084 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_COMMENTS_METADATA.sql 2022-04-22 10:56:35 normalization > 10:55:09.944813 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_COMMENTS_METADATA.sql 2022-04-22 10:56:35 normalization > 10:55:09.946452 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_COMMENTS_ATTACHMENTS.sql 2022-04-22 10:56:35 normalization > 10:55:09.952493 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_COMMENTS_ATTACHMENTS.sql 2022-04-22 10:56:35 normalization > 10:55:09.953748 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_FIELDS_CUSTOM_FIELD_OPTIONS.sql 2022-04-22 10:56:35 normalization > 10:55:09.960070 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_FIELDS_CUSTOM_FIELD_OPTIONS.sql 2022-04-22 10:56:35 normalization > 10:55:09.961518 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_METRICS_STATUS.sql 2022-04-22 10:56:35 normalization > 10:55:09.967708 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_METRICS_STATUS.sql 2022-04-22 10:56:35 normalization > 10:55:09.969151 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_METRICS_REPLY_TIME_IN_MINUTES.sql 2022-04-22 10:56:35 normalization > 10:55:09.975306 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_METRICS_REPLY_TIME_IN_MINUTES.sql 2022-04-22 10:56:35 normalization > 10:55:09.976733 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_METRICS_ON_HOLD_TIME_IN_MINUTES.sql 2022-04-22 10:56:35 normalization > 10:55:09.984287 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_METRICS_ON_HOLD_TIME_IN_MINUTES.sql 2022-04-22 10:56:35 normalization > 10:55:09.985717 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_METRICS_AGENT_WAIT_TIME_IN_MINUTES.sql 2022-04-22 10:56:35 normalization > 10:55:09.991808 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_METRICS_AGENT_WAIT_TIME_IN_MINUTES.sql 2022-04-22 10:56:35 normalization > 10:55:09.993243 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_METRICS_REQUESTER_WAIT_TIME_IN_MINUTES.sql 2022-04-22 10:56:35 normalization > 10:55:09.999289 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_METRICS_REQUESTER_WAIT_TIME_IN_MINUTES.sql 2022-04-22 10:56:35 normalization > 10:55:10.000676 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_METRICS_FULL_RESOLUTION_TIME_IN_MINUTES.sql 2022-04-22 10:56:35 normalization > 10:55:10.006781 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_METRICS_FULL_RESOLUTION_TIME_IN_MINUTES.sql 2022-04-22 10:56:35 normalization > 10:55:10.008215 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_METRICS_FIRST_RESOLUTION_TIME_IN_MINUTES.sql 2022-04-22 10:56:35 normalization > 10:55:10.014601 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_METRICS_FIRST_RESOLUTION_TIME_IN_MINUTES.sql 2022-04-22 10:56:35 normalization > 10:55:10.016082 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKETS_VIA.sql 2022-04-22 10:56:35 normalization > 10:55:10.022566 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKETS_VIA.sql 2022-04-22 10:56:35 normalization > 10:55:10.024250 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKETS_CUSTOM_FIELDS.sql 2022-04-22 10:56:35 normalization > 10:55:10.031959 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKETS_CUSTOM_FIELDS.sql 2022-04-22 10:56:35 normalization > 10:55:10.033715 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKETS_SATISFACTION_RATING.sql 2022-04-22 10:56:35 normalization > 10:55:10.040230 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKETS_SATISFACTION_RATING.sql 2022-04-22 10:56:35 normalization > 10:55:10.041736 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_incremental/ZENDESK_SUPPORT/USERS_PHOTO.sql 2022-04-22 10:56:35 normalization > 10:55:10.048267 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_incremental/ZENDESK_SUPPORT/USERS_PHOTO.sql 2022-04-22 10:56:35 normalization > 10:55:10.049629 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_AUDITS_VIA_SOURCE.sql 2022-04-22 10:56:35 normalization > 10:55:10.056588 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_AUDITS_VIA_SOURCE.sql 2022-04-22 10:56:35 normalization > 10:55:10.058081 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_VIA.sql 2022-04-22 10:56:35 normalization > 10:55:10.064634 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_VIA.sql 2022-04-22 10:56:35 normalization > 10:55:10.066018 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_DATA.sql 2022-04-22 10:56:35 normalization > 10:55:10.073087 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_DATA.sql 2022-04-22 10:56:35 normalization > 10:55:10.074599 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_ATTACHMENTS.sql 2022-04-22 10:56:35 normalization > 10:55:10.082943 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_ATTACHMENTS.sql 2022-04-22 10:56:35 normalization > 10:55:10.084457 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_AUDITS_METADATA_SYSTEM.sql 2022-04-22 10:56:35 normalization > 10:55:10.091081 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_AUDITS_METADATA_SYSTEM.sql 2022-04-22 10:56:35 normalization > 10:55:10.092446 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_AUDITS_METADATA_FLAGS_OPTIONS.sql 2022-04-22 10:56:35 normalization > 10:55:10.099657 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_AUDITS_METADATA_FLAGS_OPTIONS.sql 2022-04-22 10:56:35 normalization > 10:55:10.101385 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_COMMENTS_VIA_SOURCE.sql 2022-04-22 10:56:35 normalization > 10:55:10.108486 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_COMMENTS_VIA_SOURCE.sql 2022-04-22 10:56:35 normalization > 10:55:10.109978 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_COMMENTS_METADATA_SYSTEM.sql 2022-04-22 10:56:35 normalization > 10:55:10.117277 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_COMMENTS_METADATA_SYSTEM.sql 2022-04-22 10:56:35 normalization > 10:55:10.118993 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_COMMENTS_METADATA_FLAGS_OPTIONS.sql 2022-04-22 10:56:35 normalization > 10:55:10.129344 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_COMMENTS_METADATA_FLAGS_OPTIONS.sql 2022-04-22 10:56:35 normalization > 10:55:10.131493 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS.sql 2022-04-22 10:56:35 normalization > 10:55:10.140841 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS.sql 2022-04-22 10:56:35 normalization > 10:55:10.142221 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKETS_VIA_SOURCE.sql 2022-04-22 10:56:35 normalization > 10:55:10.149293 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKETS_VIA_SOURCE.sql 2022-04-22 10:56:35 normalization > 10:55:10.150733 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_incremental/ZENDESK_SUPPORT/USERS_PHOTO_THUMBNAILS.sql 2022-04-22 10:56:35 normalization > 10:55:10.157261 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_incremental/ZENDESK_SUPPORT/USERS_PHOTO_THUMBNAILS.sql 2022-04-22 10:56:35 normalization > 10:55:10.158768 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_AUDITS_VIA_SOURCE_TO.sql 2022-04-22 10:56:35 normalization > 10:55:10.165222 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_AUDITS_VIA_SOURCE_TO.sql 2022-04-22 10:56:35 normalization > 10:55:10.166654 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_AUDITS_VIA_SOURCE_FROM.sql 2022-04-22 10:56:35 normalization > 10:55:10.173035 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_AUDITS_VIA_SOURCE_FROM.sql 2022-04-22 10:56:35 normalization > 10:55:10.174299 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_VIA_SOURCE.sql 2022-04-22 10:56:35 normalization > 10:55:10.182622 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_VIA_SOURCE.sql 2022-04-22 10:56:35 normalization > 10:55:10.184095 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS.sql 2022-04-22 10:56:35 normalization > 10:55:10.190447 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS.sql 2022-04-22 10:56:35 normalization > 10:55:10.191873 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2.sql 2022-04-22 10:56:35 normalization > 10:55:10.198183 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2.sql 2022-04-22 10:56:35 normalization > 10:55:10.199861 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11.sql 2022-04-22 10:56:35 normalization > 10:55:10.206088 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11.sql 2022-04-22 10:56:35 normalization > 10:55:10.207457 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_COMMENTS_VIA_SOURCE_TO.sql 2022-04-22 10:56:35 normalization > 10:55:10.213648 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_COMMENTS_VIA_SOURCE_TO.sql 2022-04-22 10:56:35 normalization > 10:55:10.215055 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_COMMENTS_VIA_SOURCE_FROM.sql 2022-04-22 10:56:35 normalization > 10:55:10.221158 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_COMMENTS_VIA_SOURCE_FROM.sql 2022-04-22 10:56:35 normalization > 10:55:10.222563 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2.sql 2022-04-22 10:56:35 normalization > 10:55:10.230209 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2.sql 2022-04-22 10:56:35 normalization > 10:55:10.231571 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11.sql 2022-04-22 10:56:35 normalization > 10:55:10.237592 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11.sql 2022-04-22 10:56:35 normalization > 10:55:10.238945 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKETS_VIA_SOURCE_TO.sql 2022-04-22 10:56:35 normalization > 10:55:10.244921 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKETS_VIA_SOURCE_TO.sql 2022-04-22 10:56:35 normalization > 10:55:10.246299 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKETS_VIA_SOURCE_FROM.sql 2022-04-22 10:56:35 normalization > 10:55:10.252334 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKETS_VIA_SOURCE_FROM.sql 2022-04-22 10:56:35 normalization > 10:55:10.253864 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_VIA_SOURCE_TO.sql 2022-04-22 10:56:35 normalization > 10:55:10.259897 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_VIA_SOURCE_TO.sql 2022-04-22 10:56:35 normalization > 10:55:10.261273 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM.sql 2022-04-22 10:56:35 normalization > 10:55:10.267272 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM.sql 2022-04-22 10:56:35 normalization > 10:55:10.270513 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE.sql 2022-04-22 10:56:35 normalization > 10:55:10.276494 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE.sql 2022-04-22 10:56:35 normalization > 10:55:10.277889 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE.sql 2022-04-22 10:56:35 normalization > 10:55:10.283927 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_incremental/ZENDESK_SUPPORT/TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE.sql 2022-04-22 10:56:35 normalization > 10:55:10.285389 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_tables/ZENDESK_SUPPORT/SCHEDULES.sql 2022-04-22 10:56:35 normalization > 10:55:10.291121 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_tables/ZENDESK_SUPPORT/SCHEDULES.sql 2022-04-22 10:56:35 normalization > 10:55:10.292493 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_tables/ZENDESK_SUPPORT/SLA_POLICIES.sql 2022-04-22 10:56:35 normalization > 10:55:10.298295 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_tables/ZENDESK_SUPPORT/SLA_POLICIES.sql 2022-04-22 10:56:35 normalization > 10:55:10.299787 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_tables/ZENDESK_SUPPORT/TAGS.sql 2022-04-22 10:56:35 normalization > 10:55:10.305690 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_tables/ZENDESK_SUPPORT/TAGS.sql 2022-04-22 10:56:35 normalization > 10:55:10.308204 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_tables/ZENDESK_SUPPORT/SCHEDULES_INTERVALS.sql 2022-04-22 10:56:35 normalization > 10:55:10.315415 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_tables/ZENDESK_SUPPORT/SCHEDULES_INTERVALS.sql 2022-04-22 10:56:35 normalization > 10:55:10.316688 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_tables/ZENDESK_SUPPORT/SLA_POLICIES_FILTER.sql 2022-04-22 10:56:35 normalization > 10:55:10.322939 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_tables/ZENDESK_SUPPORT/SLA_POLICIES_FILTER.sql 2022-04-22 10:56:35 normalization > 10:55:10.324343 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_tables/ZENDESK_SUPPORT/SLA_POLICIES_POLICY_METRICS.sql 2022-04-22 10:56:35 normalization > 10:55:10.330200 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_tables/ZENDESK_SUPPORT/SLA_POLICIES_POLICY_METRICS.sql 2022-04-22 10:56:35 normalization > 10:55:10.331608 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_tables/ZENDESK_SUPPORT/SLA_POLICIES_FILTER_ALL.sql 2022-04-22 10:56:35 normalization > 10:55:10.337392 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_tables/ZENDESK_SUPPORT/SLA_POLICIES_FILTER_ALL.sql 2022-04-22 10:56:35 normalization > 10:55:10.338843 [debug] [MainThread]: 1603: static parser failed on generated/airbyte_tables/ZENDESK_SUPPORT/SLA_POLICIES_FILTER_ANY.sql 2022-04-22 10:56:35 normalization > 10:55:10.344511 [debug] [MainThread]: 1602: parser fallback to jinja rendering on generated/airbyte_tables/ZENDESK_SUPPORT/SLA_POLICIES_FILTER_ANY.sql 2022-04-22 10:56:35 normalization > 10:55:10.586211 [info ] [MainThread]: Found 289 models, 0 tests, 0 snapshots, 0 analyses, 528 macros, 0 operations, 0 seed files, 16 sources, 0 exposures, 0 metrics 2022-04-22 10:56:35 normalization > 10:55:10.600284 [info ] [MainThread]: 2022-04-22 10:56:35 normalization > 10:55:10.601170 [debug] [MainThread]: Acquiring new snowflake connection "master" 2022-04-22 10:56:35 normalization > 10:55:10.607303 [debug] [ThreadPool]: Acquiring new snowflake connection "list_AIRBYTE_DB" 2022-04-22 10:56:35 normalization > 10:55:10.608433 [debug] [ThreadPool]: Acquiring new snowflake connection "list_AIRBYTE_DB" 2022-04-22 10:56:35 normalization > 10:55:10.628449 [debug] [ThreadPool]: Using snowflake connection "list_AIRBYTE_DB" 2022-04-22 10:56:35 normalization > 10:55:10.631761 [debug] [ThreadPool]: Using snowflake connection "list_AIRBYTE_DB" 2022-04-22 10:56:35 normalization > 10:55:10.632051 [debug] [ThreadPool]: On list_AIRBYTE_DB: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "connection_name": "list_AIRBYTE_DB"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > show terse schemas in database "AIRBYTE_DB" 2022-04-22 10:56:35 normalization > limit 10000 2022-04-22 10:56:35 normalization > 10:55:10.632247 [debug] [ThreadPool]: On list_AIRBYTE_DB: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "connection_name": "list_AIRBYTE_DB"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > show terse schemas in database "AIRBYTE_DB" 2022-04-22 10:56:35 normalization > limit 10000 2022-04-22 10:56:35 normalization > 10:55:10.632527 [debug] [ThreadPool]: Opening a new connection, currently in state init 2022-04-22 10:56:35 normalization > 10:55:10.632855 [debug] [ThreadPool]: Opening a new connection, currently in state init 2022-04-22 10:56:35 normalization > 10:55:11.789330 [debug] [ThreadPool]: SQL status: SUCCESS 14 in 1.16 seconds 2022-04-22 10:56:35 normalization > 10:55:11.791809 [debug] [ThreadPool]: On list_AIRBYTE_DB: Close 2022-04-22 10:56:35 normalization > 10:55:11.975875 [debug] [ThreadPool]: SQL status: SUCCESS 14 in 1.34 seconds 2022-04-22 10:56:35 normalization > 10:55:11.977859 [debug] [ThreadPool]: On list_AIRBYTE_DB: Close 2022-04-22 10:56:35 normalization > 10:55:12.284761 [debug] [ThreadPool]: Acquiring new snowflake connection "list_AIRBYTE_DB__AIRBYTE_ZENDESK_SUPPORT" 2022-04-22 10:56:35 normalization > 10:55:12.287310 [debug] [ThreadPool]: Acquiring new snowflake connection "list_AIRBYTE_DB_ZENDESK_SUPPORT" 2022-04-22 10:56:35 normalization > 10:55:12.302776 [debug] [ThreadPool]: Using snowflake connection "list_AIRBYTE_DB__AIRBYTE_ZENDESK_SUPPORT" 2022-04-22 10:56:35 normalization > 10:55:12.305790 [debug] [ThreadPool]: Using snowflake connection "list_AIRBYTE_DB_ZENDESK_SUPPORT" 2022-04-22 10:56:35 normalization > 10:55:12.306006 [debug] [ThreadPool]: On list_AIRBYTE_DB__AIRBYTE_ZENDESK_SUPPORT: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "connection_name": "list_AIRBYTE_DB__AIRBYTE_ZENDESK_SUPPORT"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > show terse objects in "AIRBYTE_DB"._AIRBYTE_ZENDESK_SUPPORT 2022-04-22 10:56:35 normalization > 10:55:12.306278 [debug] [ThreadPool]: On list_AIRBYTE_DB_ZENDESK_SUPPORT: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "connection_name": "list_AIRBYTE_DB_ZENDESK_SUPPORT"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > show terse objects in "AIRBYTE_DB".ZENDESK_SUPPORT 2022-04-22 10:56:35 normalization > 10:55:12.306488 [debug] [ThreadPool]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:55:12.306675 [debug] [ThreadPool]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:55:13.248277 [debug] [ThreadPool]: SQL status: SUCCESS 13 in 0.94 seconds 2022-04-22 10:56:35 normalization > 10:55:13.250604 [debug] [ThreadPool]: On list_AIRBYTE_DB__AIRBYTE_ZENDESK_SUPPORT: Close 2022-04-22 10:56:35 normalization > 10:55:13.268709 [debug] [ThreadPool]: SQL status: SUCCESS 508 in 0.96 seconds 2022-04-22 10:56:35 normalization > 10:55:13.289977 [debug] [ThreadPool]: On list_AIRBYTE_DB_ZENDESK_SUPPORT: Close 2022-04-22 10:56:35 normalization > 10:55:13.727791 [info ] [MainThread]: Concurrency: 5 threads (target='prod') 2022-04-22 10:56:35 normalization > 10:55:13.728258 [info ] [MainThread]: 2022-04-22 10:56:35 normalization > 10:55:13.746200 [debug] [Thread-1 ]: Began running node model.airbyte_utils.GROUPS_AB1 2022-04-22 10:56:35 normalization > 10:55:13.746414 [debug] [Thread-2 ]: Began running node model.airbyte_utils.GROUP_MEMBERSHIPS_AB1 2022-04-22 10:56:35 normalization > 10:55:13.746666 [debug] [Thread-3 ]: Began running node model.airbyte_utils.MACROS_AB1 2022-04-22 10:56:35 normalization > 10:55:13.747158 [debug] [Thread-1 ]: Acquiring new snowflake connection "model.airbyte_utils.GROUPS_AB1" 2022-04-22 10:56:35 normalization > 10:55:13.747331 [debug] [Thread-4 ]: Began running node model.airbyte_utils.ORGANIZATIONS_AB1 2022-04-22 10:56:35 normalization > 10:55:13.747792 [debug] [Thread-2 ]: Acquiring new snowflake connection "model.airbyte_utils.GROUP_MEMBERSHIPS_AB1" 2022-04-22 10:56:35 normalization > 10:55:13.747949 [debug] [Thread-5 ]: Began running node model.airbyte_utils.SATISFACTION_RATINGS_AB1 2022-04-22 10:56:35 normalization > 10:55:13.748425 [debug] [Thread-3 ]: Acquiring new snowflake connection "model.airbyte_utils.MACROS_AB1" 2022-04-22 10:56:35 normalization > 10:55:13.748646 [debug] [Thread-1 ]: Began compiling node model.airbyte_utils.GROUPS_AB1 2022-04-22 10:56:35 normalization > 10:55:13.749209 [debug] [Thread-4 ]: Acquiring new snowflake connection "model.airbyte_utils.ORGANIZATIONS_AB1" 2022-04-22 10:56:35 normalization > 10:55:13.749410 [debug] [Thread-2 ]: Began compiling node model.airbyte_utils.GROUP_MEMBERSHIPS_AB1 2022-04-22 10:56:35 normalization > 10:55:13.749809 [debug] [Thread-5 ]: Acquiring new snowflake connection "model.airbyte_utils.SATISFACTION_RATINGS_AB1" 2022-04-22 10:56:35 normalization > 10:55:13.749991 [debug] [Thread-3 ]: Began compiling node model.airbyte_utils.MACROS_AB1 2022-04-22 10:56:35 normalization > 10:55:13.750241 [debug] [Thread-1 ]: Compiling model.airbyte_utils.GROUPS_AB1 2022-04-22 10:56:35 normalization > 10:55:13.750415 [debug] [Thread-4 ]: Began compiling node model.airbyte_utils.ORGANIZATIONS_AB1 2022-04-22 10:56:35 normalization > 10:55:13.750588 [debug] [Thread-2 ]: Compiling model.airbyte_utils.GROUP_MEMBERSHIPS_AB1 2022-04-22 10:56:35 normalization > 10:55:13.750758 [debug] [Thread-5 ]: Began compiling node model.airbyte_utils.SATISFACTION_RATINGS_AB1 2022-04-22 10:56:35 normalization > 10:55:13.750928 [debug] [Thread-3 ]: Compiling model.airbyte_utils.MACROS_AB1 2022-04-22 10:56:35 normalization > 10:55:13.761974 [debug] [Thread-1 ]: Writing injected SQL for node "model.airbyte_utils.GROUPS_AB1" 2022-04-22 10:56:35 normalization > 10:55:13.762266 [debug] [Thread-4 ]: Compiling model.airbyte_utils.ORGANIZATIONS_AB1 2022-04-22 10:56:35 normalization > 10:55:13.774466 [debug] [Thread-2 ]: Writing injected SQL for node "model.airbyte_utils.GROUP_MEMBERSHIPS_AB1" 2022-04-22 10:56:35 normalization > 10:55:13.774783 [debug] [Thread-5 ]: Compiling model.airbyte_utils.SATISFACTION_RATINGS_AB1 2022-04-22 10:56:35 normalization > 10:55:13.789866 [debug] [Thread-3 ]: Writing injected SQL for node "model.airbyte_utils.MACROS_AB1" 2022-04-22 10:56:35 normalization > 10:55:13.815478 [debug] [Thread-4 ]: Writing injected SQL for node "model.airbyte_utils.ORGANIZATIONS_AB1" 2022-04-22 10:56:35 normalization > 10:55:13.826052 [debug] [Thread-5 ]: Writing injected SQL for node "model.airbyte_utils.SATISFACTION_RATINGS_AB1" 2022-04-22 10:56:35 normalization > 10:55:13.826721 [debug] [Thread-1 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:13.826913 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:13.827076 [debug] [Thread-3 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:13.827764 [debug] [Thread-1 ]: Finished running node model.airbyte_utils.GROUPS_AB1 2022-04-22 10:56:35 normalization > 10:55:13.828388 [debug] [Thread-2 ]: Finished running node model.airbyte_utils.GROUP_MEMBERSHIPS_AB1 2022-04-22 10:56:35 normalization > 10:55:13.828530 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:13.829077 [debug] [Thread-3 ]: Finished running node model.airbyte_utils.MACROS_AB1 2022-04-22 10:56:35 normalization > 10:55:13.829214 [debug] [Thread-4 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:13.829479 [debug] [Thread-1 ]: Began running node model.airbyte_utils.SCHEDULES_AB1 2022-04-22 10:56:35 normalization > 10:55:13.830223 [debug] [Thread-2 ]: Began running node model.airbyte_utils.SLA_POLICIES_AB1 2022-04-22 10:56:35 normalization > 10:55:13.830668 [debug] [Thread-5 ]: Finished running node model.airbyte_utils.SATISFACTION_RATINGS_AB1 2022-04-22 10:56:35 normalization > 10:55:13.831281 [debug] [Thread-3 ]: Began running node model.airbyte_utils.TAGS_AB1 2022-04-22 10:56:35 normalization > 10:55:13.831695 [debug] [Thread-4 ]: Finished running node model.airbyte_utils.ORGANIZATIONS_AB1 2022-04-22 10:56:35 normalization > 10:55:13.832359 [debug] [Thread-1 ]: Acquiring new snowflake connection "model.airbyte_utils.SCHEDULES_AB1" 2022-04-22 10:56:35 normalization > 10:55:13.832762 [debug] [Thread-2 ]: Acquiring new snowflake connection "model.airbyte_utils.SLA_POLICIES_AB1" 2022-04-22 10:56:35 normalization > 10:55:13.833028 [debug] [Thread-5 ]: Began running node model.airbyte_utils.TICKETS_AB1 2022-04-22 10:56:35 normalization > 10:55:13.833614 [debug] [Thread-3 ]: Acquiring new snowflake connection "model.airbyte_utils.TAGS_AB1" 2022-04-22 10:56:35 normalization > 10:55:13.833958 [debug] [Thread-4 ]: Began running node model.airbyte_utils.TICKET_AUDITS_AB1 2022-04-22 10:56:35 normalization > 10:55:13.834381 [debug] [Thread-1 ]: Began compiling node model.airbyte_utils.SCHEDULES_AB1 2022-04-22 10:56:35 normalization > 10:55:13.834667 [debug] [Thread-2 ]: Began compiling node model.airbyte_utils.SLA_POLICIES_AB1 2022-04-22 10:56:35 normalization > 10:55:13.835028 [debug] [Thread-5 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKETS_AB1" 2022-04-22 10:56:35 normalization > 10:55:13.835203 [debug] [Thread-3 ]: Began compiling node model.airbyte_utils.TAGS_AB1 2022-04-22 10:56:35 normalization > 10:55:13.835560 [debug] [Thread-4 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS_AB1" 2022-04-22 10:56:35 normalization > 10:55:13.835752 [debug] [Thread-1 ]: Compiling model.airbyte_utils.SCHEDULES_AB1 2022-04-22 10:56:35 normalization > 10:55:13.835933 [debug] [Thread-2 ]: Compiling model.airbyte_utils.SLA_POLICIES_AB1 2022-04-22 10:56:35 normalization > 10:55:13.836090 [debug] [Thread-5 ]: Began compiling node model.airbyte_utils.TICKETS_AB1 2022-04-22 10:56:35 normalization > 10:55:13.836269 [debug] [Thread-3 ]: Compiling model.airbyte_utils.TAGS_AB1 2022-04-22 10:56:35 normalization > 10:55:13.836436 [debug] [Thread-4 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS_AB1 2022-04-22 10:56:35 normalization > 10:55:13.846380 [debug] [Thread-1 ]: Writing injected SQL for node "model.airbyte_utils.SCHEDULES_AB1" 2022-04-22 10:56:35 normalization > 10:55:13.858899 [debug] [Thread-2 ]: Writing injected SQL for node "model.airbyte_utils.SLA_POLICIES_AB1" 2022-04-22 10:56:35 normalization > 10:55:13.859177 [debug] [Thread-5 ]: Compiling model.airbyte_utils.TICKETS_AB1 2022-04-22 10:56:35 normalization > 10:55:13.866994 [debug] [Thread-3 ]: Writing injected SQL for node "model.airbyte_utils.TAGS_AB1" 2022-04-22 10:56:35 normalization > 10:55:13.867372 [debug] [Thread-4 ]: Compiling model.airbyte_utils.TICKET_AUDITS_AB1 2022-04-22 10:56:35 normalization > 10:55:13.867926 [debug] [Thread-1 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:13.950131 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:13.980672 [debug] [Thread-5 ]: Writing injected SQL for node "model.airbyte_utils.TICKETS_AB1" 2022-04-22 10:56:35 normalization > 10:55:13.990404 [debug] [Thread-1 ]: Finished running node model.airbyte_utils.SCHEDULES_AB1 2022-04-22 10:56:35 normalization > 10:55:13.991050 [debug] [Thread-2 ]: Finished running node model.airbyte_utils.SLA_POLICIES_AB1 2022-04-22 10:56:35 normalization > 10:55:13.991222 [debug] [Thread-3 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:13.995108 [debug] [Thread-4 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS_AB1" 2022-04-22 10:56:35 normalization > 10:55:13.995582 [debug] [Thread-1 ]: Began running node model.airbyte_utils.TICKET_COMMENTS_AB1 2022-04-22 10:56:35 normalization > 10:55:13.996371 [debug] [Thread-2 ]: Began running node model.airbyte_utils.TICKET_FIELDS_AB1 2022-04-22 10:56:35 normalization > 10:55:13.996518 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:13.997018 [debug] [Thread-3 ]: Finished running node model.airbyte_utils.TAGS_AB1 2022-04-22 10:56:35 normalization > 10:55:13.997902 [debug] [Thread-1 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_COMMENTS_AB1" 2022-04-22 10:56:35 normalization > 10:55:13.998298 [debug] [Thread-2 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_FIELDS_AB1" 2022-04-22 10:56:35 normalization > 10:55:13.998833 [debug] [Thread-5 ]: Finished running node model.airbyte_utils.TICKETS_AB1 2022-04-22 10:56:35 normalization > 10:55:13.999146 [debug] [Thread-3 ]: Began running node model.airbyte_utils.TICKET_FORMS_AB1 2022-04-22 10:56:35 normalization > 10:55:13.999289 [debug] [Thread-4 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:13.999506 [debug] [Thread-1 ]: Began compiling node model.airbyte_utils.TICKET_COMMENTS_AB1 2022-04-22 10:56:35 normalization > 10:55:14.000002 [debug] [Thread-2 ]: Began compiling node model.airbyte_utils.TICKET_FIELDS_AB1 2022-04-22 10:56:35 normalization > 10:55:14.000266 [debug] [Thread-5 ]: Began running node model.airbyte_utils.TICKET_METRICS_AB1 2022-04-22 10:56:35 normalization > 10:55:14.000851 [debug] [Thread-3 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_FORMS_AB1" 2022-04-22 10:56:35 normalization > 10:55:14.001418 [debug] [Thread-4 ]: Finished running node model.airbyte_utils.TICKET_AUDITS_AB1 2022-04-22 10:56:35 normalization > 10:55:14.001618 [debug] [Thread-1 ]: Compiling model.airbyte_utils.TICKET_COMMENTS_AB1 2022-04-22 10:56:35 normalization > 10:55:14.002237 [debug] [Thread-2 ]: Compiling model.airbyte_utils.TICKET_FIELDS_AB1 2022-04-22 10:56:35 normalization > 10:55:14.002610 [debug] [Thread-5 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_METRICS_AB1" 2022-04-22 10:56:35 normalization > 10:55:14.002810 [debug] [Thread-3 ]: Began compiling node model.airbyte_utils.TICKET_FORMS_AB1 2022-04-22 10:56:35 normalization > 10:55:14.003026 [debug] [Thread-4 ]: Began running node model.airbyte_utils.TICKET_METRIC_EVENTS_AB1 2022-04-22 10:56:35 normalization > 10:55:14.040995 [debug] [Thread-2 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_FIELDS_AB1" 2022-04-22 10:56:35 normalization > 10:55:14.047038 [debug] [Thread-1 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_COMMENTS_AB1" 2022-04-22 10:56:35 normalization > 10:55:14.047291 [debug] [Thread-5 ]: Began compiling node model.airbyte_utils.TICKET_METRICS_AB1 2022-04-22 10:56:35 normalization > 10:55:14.047567 [debug] [Thread-3 ]: Compiling model.airbyte_utils.TICKET_FORMS_AB1 2022-04-22 10:56:35 normalization > 10:55:14.048002 [debug] [Thread-4 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_METRIC_EVENTS_AB1" 2022-04-22 10:56:35 normalization > 10:55:14.048560 [debug] [Thread-5 ]: Compiling model.airbyte_utils.TICKET_METRICS_AB1 2022-04-22 10:56:35 normalization > 10:55:14.054145 [debug] [Thread-1 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:14.059531 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:14.067559 [debug] [Thread-3 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_FORMS_AB1" 2022-04-22 10:56:35 normalization > 10:55:14.067841 [debug] [Thread-4 ]: Began compiling node model.airbyte_utils.TICKET_METRIC_EVENTS_AB1 2022-04-22 10:56:35 normalization > 10:55:14.078783 [debug] [Thread-1 ]: Finished running node model.airbyte_utils.TICKET_COMMENTS_AB1 2022-04-22 10:56:35 normalization > 10:55:14.092664 [debug] [Thread-2 ]: Finished running node model.airbyte_utils.TICKET_FIELDS_AB1 2022-04-22 10:56:35 normalization > 10:55:14.099658 [debug] [Thread-5 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_METRICS_AB1" 2022-04-22 10:56:35 normalization > 10:55:14.099966 [debug] [Thread-4 ]: Compiling model.airbyte_utils.TICKET_METRIC_EVENTS_AB1 2022-04-22 10:56:35 normalization > 10:55:14.100321 [debug] [Thread-1 ]: Began running node model.airbyte_utils.USERS_AB1 2022-04-22 10:56:35 normalization > 10:55:14.100640 [debug] [Thread-2 ]: Began running node model.airbyte_utils.GROUPS_AB2 2022-04-22 10:56:35 normalization > 10:55:14.101516 [debug] [Thread-3 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:14.112754 [debug] [Thread-4 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_METRIC_EVENTS_AB1" 2022-04-22 10:56:35 normalization > 10:55:14.113288 [debug] [Thread-1 ]: Acquiring new snowflake connection "model.airbyte_utils.USERS_AB1" 2022-04-22 10:56:35 normalization > 10:55:14.113460 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:14.113885 [debug] [Thread-2 ]: Acquiring new snowflake connection "model.airbyte_utils.GROUPS_AB2" 2022-04-22 10:56:35 normalization > 10:55:14.114312 [debug] [Thread-3 ]: Finished running node model.airbyte_utils.TICKET_FORMS_AB1 2022-04-22 10:56:35 normalization > 10:55:14.114620 [debug] [Thread-1 ]: Began compiling node model.airbyte_utils.USERS_AB1 2022-04-22 10:56:35 normalization > 10:55:14.115152 [debug] [Thread-5 ]: Finished running node model.airbyte_utils.TICKET_METRICS_AB1 2022-04-22 10:56:35 normalization > 10:55:14.115297 [debug] [Thread-4 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:14.115476 [debug] [Thread-2 ]: Began compiling node model.airbyte_utils.GROUPS_AB2 2022-04-22 10:56:35 normalization > 10:55:14.115705 [debug] [Thread-3 ]: Began running node model.airbyte_utils.GROUP_MEMBERSHIPS_AB2 2022-04-22 10:56:35 normalization > 10:55:14.116215 [debug] [Thread-1 ]: Compiling model.airbyte_utils.USERS_AB1 2022-04-22 10:56:35 normalization > 10:55:14.116579 [debug] [Thread-5 ]: Began running node model.airbyte_utils.MACROS_AB2 2022-04-22 10:56:35 normalization > 10:55:14.117318 [debug] [Thread-4 ]: Finished running node model.airbyte_utils.TICKET_METRIC_EVENTS_AB1 2022-04-22 10:56:35 normalization > 10:55:14.117527 [debug] [Thread-2 ]: Compiling model.airbyte_utils.GROUPS_AB2 2022-04-22 10:56:35 normalization > 10:55:14.117883 [debug] [Thread-3 ]: Acquiring new snowflake connection "model.airbyte_utils.GROUP_MEMBERSHIPS_AB2" 2022-04-22 10:56:35 normalization > 10:55:14.142902 [debug] [Thread-5 ]: Acquiring new snowflake connection "model.airbyte_utils.MACROS_AB2" 2022-04-22 10:56:35 normalization > 10:55:14.154307 [debug] [Thread-1 ]: Writing injected SQL for node "model.airbyte_utils.USERS_AB1" 2022-04-22 10:56:35 normalization > 10:55:14.154670 [debug] [Thread-4 ]: Began running node model.airbyte_utils.SATISFACTION_RATINGS_AB2 2022-04-22 10:56:35 normalization > 10:55:14.160627 [debug] [Thread-3 ]: Began compiling node model.airbyte_utils.GROUP_MEMBERSHIPS_AB2 2022-04-22 10:56:35 normalization > 10:55:14.181413 [debug] [Thread-5 ]: Began compiling node model.airbyte_utils.MACROS_AB2 2022-04-22 10:56:35 normalization > 10:55:14.187729 [debug] [Thread-2 ]: Writing injected SQL for node "model.airbyte_utils.GROUPS_AB2" 2022-04-22 10:56:35 normalization > 10:55:14.188600 [debug] [Thread-4 ]: Acquiring new snowflake connection "model.airbyte_utils.SATISFACTION_RATINGS_AB2" 2022-04-22 10:56:35 normalization > 10:55:14.188926 [debug] [Thread-3 ]: Compiling model.airbyte_utils.GROUP_MEMBERSHIPS_AB2 2022-04-22 10:56:35 normalization > 10:55:14.189466 [debug] [Thread-1 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:14.189625 [debug] [Thread-5 ]: Compiling model.airbyte_utils.MACROS_AB2 2022-04-22 10:56:35 normalization > 10:55:14.189946 [debug] [Thread-4 ]: Began compiling node model.airbyte_utils.SATISFACTION_RATINGS_AB2 2022-04-22 10:56:35 normalization > 10:55:14.195729 [debug] [Thread-1 ]: Finished running node model.airbyte_utils.USERS_AB1 2022-04-22 10:56:35 normalization > 10:55:14.201108 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:14.246692 [debug] [Thread-3 ]: Writing injected SQL for node "model.airbyte_utils.GROUP_MEMBERSHIPS_AB2" 2022-04-22 10:56:35 normalization > 10:55:14.252468 [debug] [Thread-4 ]: Compiling model.airbyte_utils.SATISFACTION_RATINGS_AB2 2022-04-22 10:56:35 normalization > 10:55:14.258023 [debug] [Thread-5 ]: Writing injected SQL for node "model.airbyte_utils.MACROS_AB2" 2022-04-22 10:56:35 normalization > 10:55:14.258465 [debug] [Thread-1 ]: Began running node model.airbyte_utils.ORGANIZATIONS_AB2 2022-04-22 10:56:35 normalization > 10:55:14.259205 [debug] [Thread-2 ]: Finished running node model.airbyte_utils.GROUPS_AB2 2022-04-22 10:56:35 normalization > 10:55:14.285860 [debug] [Thread-3 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:14.297272 [debug] [Thread-4 ]: Writing injected SQL for node "model.airbyte_utils.SATISFACTION_RATINGS_AB2" 2022-04-22 10:56:35 normalization > 10:55:14.297830 [debug] [Thread-1 ]: Acquiring new snowflake connection "model.airbyte_utils.ORGANIZATIONS_AB2" 2022-04-22 10:56:35 normalization > 10:55:14.298134 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:14.298511 [debug] [Thread-2 ]: Began running node model.airbyte_utils.SCHEDULES_AB2 2022-04-22 10:56:35 normalization > 10:55:14.299567 [debug] [Thread-3 ]: Finished running node model.airbyte_utils.GROUP_MEMBERSHIPS_AB2 2022-04-22 10:56:35 normalization > 10:55:14.300216 [debug] [Thread-1 ]: Began compiling node model.airbyte_utils.ORGANIZATIONS_AB2 2022-04-22 10:56:35 normalization > 10:55:14.300378 [debug] [Thread-4 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:14.300841 [debug] [Thread-5 ]: Finished running node model.airbyte_utils.MACROS_AB2 2022-04-22 10:56:35 normalization > 10:55:14.301293 [debug] [Thread-2 ]: Acquiring new snowflake connection "model.airbyte_utils.SCHEDULES_AB2" 2022-04-22 10:56:35 normalization > 10:55:14.301527 [debug] [Thread-3 ]: Began running node model.airbyte_utils.SLA_POLICIES_AB2 2022-04-22 10:56:35 normalization > 10:55:14.301968 [debug] [Thread-1 ]: Compiling model.airbyte_utils.ORGANIZATIONS_AB2 2022-04-22 10:56:35 normalization > 10:55:14.302530 [debug] [Thread-4 ]: Finished running node model.airbyte_utils.SATISFACTION_RATINGS_AB2 2022-04-22 10:56:35 normalization > 10:55:14.302762 [debug] [Thread-5 ]: Began running node model.airbyte_utils.TAGS_AB2 2022-04-22 10:56:35 normalization > 10:55:14.302970 [debug] [Thread-2 ]: Began compiling node model.airbyte_utils.SCHEDULES_AB2 2022-04-22 10:56:35 normalization > 10:55:14.303685 [debug] [Thread-3 ]: Acquiring new snowflake connection "model.airbyte_utils.SLA_POLICIES_AB2" 2022-04-22 10:56:35 normalization > 10:55:14.324838 [debug] [Thread-4 ]: Began running node model.airbyte_utils.TICKETS_AB2 2022-04-22 10:56:35 normalization > 10:55:14.342951 [debug] [Thread-1 ]: Writing injected SQL for node "model.airbyte_utils.ORGANIZATIONS_AB2" 2022-04-22 10:56:35 normalization > 10:55:14.343853 [debug] [Thread-5 ]: Acquiring new snowflake connection "model.airbyte_utils.TAGS_AB2" 2022-04-22 10:56:35 normalization > 10:55:14.344147 [debug] [Thread-2 ]: Compiling model.airbyte_utils.SCHEDULES_AB2 2022-04-22 10:56:35 normalization > 10:55:14.344389 [debug] [Thread-3 ]: Began compiling node model.airbyte_utils.SLA_POLICIES_AB2 2022-04-22 10:56:35 normalization > 10:55:14.344837 [debug] [Thread-4 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKETS_AB2" 2022-04-22 10:56:35 normalization > 10:55:14.345201 [debug] [Thread-5 ]: Began compiling node model.airbyte_utils.TAGS_AB2 2022-04-22 10:56:35 normalization > 10:55:14.345488 [debug] [Thread-1 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:14.366583 [debug] [Thread-3 ]: Compiling model.airbyte_utils.SLA_POLICIES_AB2 2022-04-22 10:56:35 normalization > 10:55:14.373520 [debug] [Thread-2 ]: Writing injected SQL for node "model.airbyte_utils.SCHEDULES_AB2" 2022-04-22 10:56:35 normalization > 10:55:14.373871 [debug] [Thread-4 ]: Began compiling node model.airbyte_utils.TICKETS_AB2 2022-04-22 10:56:35 normalization > 10:55:14.374159 [debug] [Thread-5 ]: Compiling model.airbyte_utils.TAGS_AB2 2022-04-22 10:56:35 normalization > 10:55:14.374871 [debug] [Thread-1 ]: Finished running node model.airbyte_utils.ORGANIZATIONS_AB2 2022-04-22 10:56:35 normalization > 10:55:14.401481 [debug] [Thread-4 ]: Compiling model.airbyte_utils.TICKETS_AB2 2022-04-22 10:56:35 normalization > 10:55:14.402095 [debug] [Thread-3 ]: Writing injected SQL for node "model.airbyte_utils.SLA_POLICIES_AB2" 2022-04-22 10:56:35 normalization > 10:55:14.407566 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:14.415109 [debug] [Thread-5 ]: Writing injected SQL for node "model.airbyte_utils.TAGS_AB2" 2022-04-22 10:56:35 normalization > 10:55:14.415557 [debug] [Thread-1 ]: Began running node model.airbyte_utils.TICKET_AUDITS_AB2 2022-04-22 10:56:35 normalization > 10:55:14.463934 [debug] [Thread-3 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:14.474537 [debug] [Thread-2 ]: Finished running node model.airbyte_utils.SCHEDULES_AB2 2022-04-22 10:56:35 normalization > 10:55:14.481080 [debug] [Thread-4 ]: Writing injected SQL for node "model.airbyte_utils.TICKETS_AB2" 2022-04-22 10:56:35 normalization > 10:55:14.481924 [debug] [Thread-1 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS_AB2" 2022-04-22 10:56:35 normalization > 10:55:14.482593 [debug] [Thread-3 ]: Finished running node model.airbyte_utils.SLA_POLICIES_AB2 2022-04-22 10:56:35 normalization > 10:55:14.482825 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:14.483150 [debug] [Thread-2 ]: Began running node model.airbyte_utils.TICKET_COMMENTS_AB2 2022-04-22 10:56:35 normalization > 10:55:14.483842 [debug] [Thread-1 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS_AB2 2022-04-22 10:56:35 normalization > 10:55:14.484283 [debug] [Thread-4 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:14.484518 [debug] [Thread-3 ]: Began running node model.airbyte_utils.TICKET_FIELDS_AB2 2022-04-22 10:56:35 normalization > 10:55:14.485088 [debug] [Thread-5 ]: Finished running node model.airbyte_utils.TAGS_AB2 2022-04-22 10:56:35 normalization > 10:55:14.485883 [debug] [Thread-2 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_COMMENTS_AB2" 2022-04-22 10:56:35 normalization > 10:55:14.486097 [debug] [Thread-1 ]: Compiling model.airbyte_utils.TICKET_AUDITS_AB2 2022-04-22 10:56:35 normalization > 10:55:14.486513 [debug] [Thread-4 ]: Finished running node model.airbyte_utils.TICKETS_AB2 2022-04-22 10:56:35 normalization > 10:55:14.486926 [debug] [Thread-3 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_FIELDS_AB2" 2022-04-22 10:56:35 normalization > 10:55:14.487219 [debug] [Thread-5 ]: Began running node model.airbyte_utils.TICKET_FORMS_AB2 2022-04-22 10:56:35 normalization > 10:55:14.488029 [debug] [Thread-2 ]: Began compiling node model.airbyte_utils.TICKET_COMMENTS_AB2 2022-04-22 10:56:35 normalization > 10:55:14.503861 [debug] [Thread-4 ]: Began running node model.airbyte_utils.TICKET_METRICS_AB2 2022-04-22 10:56:35 normalization > 10:55:14.507989 [debug] [Thread-1 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS_AB2" 2022-04-22 10:56:35 normalization > 10:55:14.508710 [debug] [Thread-3 ]: Began compiling node model.airbyte_utils.TICKET_FIELDS_AB2 2022-04-22 10:56:35 normalization > 10:55:14.509272 [debug] [Thread-5 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_FORMS_AB2" 2022-04-22 10:56:35 normalization > 10:55:14.509489 [debug] [Thread-2 ]: Compiling model.airbyte_utils.TICKET_COMMENTS_AB2 2022-04-22 10:56:35 normalization > 10:55:14.509867 [debug] [Thread-4 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_METRICS_AB2" 2022-04-22 10:56:35 normalization > 10:55:14.510206 [debug] [Thread-3 ]: Compiling model.airbyte_utils.TICKET_FIELDS_AB2 2022-04-22 10:56:35 normalization > 10:55:14.510401 [debug] [Thread-5 ]: Began compiling node model.airbyte_utils.TICKET_FORMS_AB2 2022-04-22 10:56:35 normalization > 10:55:14.515763 [debug] [Thread-1 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:14.531407 [debug] [Thread-4 ]: Began compiling node model.airbyte_utils.TICKET_METRICS_AB2 2022-04-22 10:56:35 normalization > 10:55:14.540219 [debug] [Thread-2 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_COMMENTS_AB2" 2022-04-22 10:56:35 normalization > 10:55:14.566227 [debug] [Thread-5 ]: Compiling model.airbyte_utils.TICKET_FORMS_AB2 2022-04-22 10:56:35 normalization > 10:55:14.591556 [debug] [Thread-3 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_FIELDS_AB2" 2022-04-22 10:56:35 normalization > 10:55:14.592220 [debug] [Thread-1 ]: Finished running node model.airbyte_utils.TICKET_AUDITS_AB2 2022-04-22 10:56:35 normalization > 10:55:14.592486 [debug] [Thread-4 ]: Compiling model.airbyte_utils.TICKET_METRICS_AB2 2022-04-22 10:56:35 normalization > 10:55:14.603174 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:14.619138 [debug] [Thread-1 ]: Began running node model.airbyte_utils.TICKET_METRIC_EVENTS_AB2 2022-04-22 10:56:35 normalization > 10:55:14.628348 [debug] [Thread-5 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_FORMS_AB2" 2022-04-22 10:56:35 normalization > 10:55:14.634095 [debug] [Thread-3 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:14.654957 [debug] [Thread-2 ]: Finished running node model.airbyte_utils.TICKET_COMMENTS_AB2 2022-04-22 10:56:35 normalization > 10:55:14.670422 [debug] [Thread-1 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_METRIC_EVENTS_AB2" 2022-04-22 10:56:35 normalization > 10:55:14.701668 [debug] [Thread-3 ]: Finished running node model.airbyte_utils.TICKET_FIELDS_AB2 2022-04-22 10:56:35 normalization > 10:55:14.707868 [debug] [Thread-4 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_METRICS_AB2" 2022-04-22 10:56:35 normalization > 10:55:14.708148 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:14.708507 [debug] [Thread-2 ]: Began running node model.airbyte_utils.USERS_AB2 2022-04-22 10:56:35 normalization > 10:55:14.708753 [debug] [Thread-1 ]: Began compiling node model.airbyte_utils.TICKET_METRIC_EVENTS_AB2 2022-04-22 10:56:35 normalization > 10:55:14.709551 [debug] [Thread-3 ]: Began running node model.airbyte_utils.GROUPS_STG 2022-04-22 10:56:35 normalization > 10:55:14.710535 [debug] [Thread-5 ]: Finished running node model.airbyte_utils.TICKET_FORMS_AB2 2022-04-22 10:56:35 normalization > 10:55:14.711086 [debug] [Thread-2 ]: Acquiring new snowflake connection "model.airbyte_utils.USERS_AB2" 2022-04-22 10:56:35 normalization > 10:55:14.711243 [debug] [Thread-4 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:14.711464 [debug] [Thread-1 ]: Compiling model.airbyte_utils.TICKET_METRIC_EVENTS_AB2 2022-04-22 10:56:35 normalization > 10:55:14.711793 [info ] [Thread-3 ]: 1 of 95 START view model _AIRBYTE_ZENDESK_SUPPORT.GROUPS_STG............................................................ [RUN] 2022-04-22 10:56:35 normalization > 10:55:14.712103 [debug] [Thread-5 ]: Began running node model.airbyte_utils.GROUP_MEMBERSHIPS_STG 2022-04-22 10:56:35 normalization > 10:55:14.712321 [debug] [Thread-2 ]: Began compiling node model.airbyte_utils.USERS_AB2 2022-04-22 10:56:35 normalization > 10:55:14.713147 [debug] [Thread-4 ]: Finished running node model.airbyte_utils.TICKET_METRICS_AB2 2022-04-22 10:56:35 normalization > 10:55:14.731786 [debug] [Thread-1 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_METRIC_EVENTS_AB2" 2022-04-22 10:56:35 normalization > 10:55:14.732619 [debug] [Thread-3 ]: Acquiring new snowflake connection "model.airbyte_utils.GROUPS_STG" 2022-04-22 10:56:35 normalization > 10:55:14.733221 [info ] [Thread-5 ]: 2 of 95 START view model _AIRBYTE_ZENDESK_SUPPORT.GROUP_MEMBERSHIPS_STG................................................. [RUN] 2022-04-22 10:56:35 normalization > 10:55:14.733508 [debug] [Thread-2 ]: Compiling model.airbyte_utils.USERS_AB2 2022-04-22 10:56:35 normalization > 10:55:14.733805 [debug] [Thread-4 ]: Began running node model.airbyte_utils.MACROS_STG 2022-04-22 10:56:35 normalization > 10:55:14.734719 [debug] [Thread-3 ]: Began compiling node model.airbyte_utils.GROUPS_STG 2022-04-22 10:56:35 normalization > 10:55:14.735031 [debug] [Thread-1 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:14.735646 [debug] [Thread-5 ]: Acquiring new snowflake connection "model.airbyte_utils.GROUP_MEMBERSHIPS_STG" 2022-04-22 10:56:35 normalization > 10:55:14.751567 [info ] [Thread-4 ]: 3 of 95 START view model _AIRBYTE_ZENDESK_SUPPORT.MACROS_STG............................................................ [RUN] 2022-04-22 10:56:35 normalization > 10:55:14.777175 [debug] [Thread-3 ]: Compiling model.airbyte_utils.GROUPS_STG 2022-04-22 10:56:35 normalization > 10:55:14.799693 [debug] [Thread-1 ]: Finished running node model.airbyte_utils.TICKET_METRIC_EVENTS_AB2 2022-04-22 10:56:35 normalization > 10:55:14.813367 [debug] [Thread-2 ]: Writing injected SQL for node "model.airbyte_utils.USERS_AB2" 2022-04-22 10:56:35 normalization > 10:55:14.813689 [debug] [Thread-5 ]: Began compiling node model.airbyte_utils.GROUP_MEMBERSHIPS_STG 2022-04-22 10:56:35 normalization > 10:55:14.819887 [debug] [Thread-4 ]: Acquiring new snowflake connection "model.airbyte_utils.MACROS_STG" 2022-04-22 10:56:35 normalization > 10:55:14.837404 [debug] [Thread-3 ]: Writing injected SQL for node "model.airbyte_utils.GROUPS_STG" 2022-04-22 10:56:35 normalization > 10:55:14.837747 [debug] [Thread-1 ]: Began running node model.airbyte_utils.SATISFACTION_RATINGS_STG 2022-04-22 10:56:35 normalization > 10:55:14.838629 [debug] [Thread-5 ]: Compiling model.airbyte_utils.GROUP_MEMBERSHIPS_STG 2022-04-22 10:56:35 normalization > 10:55:14.838909 [debug] [Thread-4 ]: Began compiling node model.airbyte_utils.MACROS_STG 2022-04-22 10:56:35 normalization > 10:55:14.839278 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:14.839663 [info ] [Thread-1 ]: 4 of 95 START view model _AIRBYTE_ZENDESK_SUPPORT.SATISFACTION_RATINGS_STG.............................................. [RUN] 2022-04-22 10:56:35 normalization > 10:55:14.859419 [debug] [Thread-5 ]: Writing injected SQL for node "model.airbyte_utils.GROUP_MEMBERSHIPS_STG" 2022-04-22 10:56:35 normalization > 10:55:14.859745 [debug] [Thread-4 ]: Compiling model.airbyte_utils.MACROS_STG 2022-04-22 10:56:35 normalization > 10:55:14.859990 [debug] [Thread-3 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:14.860644 [debug] [Thread-2 ]: Finished running node model.airbyte_utils.USERS_AB2 2022-04-22 10:56:35 normalization > 10:55:14.861651 [debug] [Thread-1 ]: Acquiring new snowflake connection "model.airbyte_utils.SATISFACTION_RATINGS_STG" 2022-04-22 10:56:35 normalization > 10:55:14.872533 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:14.889167 [debug] [Thread-4 ]: Writing injected SQL for node "model.airbyte_utils.MACROS_STG" 2022-04-22 10:56:35 normalization > 10:55:14.889423 [debug] [Thread-3 ]: Began executing node model.airbyte_utils.GROUPS_STG 2022-04-22 10:56:35 normalization > 10:55:14.889772 [debug] [Thread-2 ]: Began running node model.airbyte_utils.ORGANIZATIONS_STG 2022-04-22 10:56:35 normalization > 10:55:14.890372 [debug] [Thread-1 ]: Began compiling node model.airbyte_utils.SATISFACTION_RATINGS_STG 2022-04-22 10:56:35 normalization > 10:55:14.890726 [debug] [Thread-5 ]: Began executing node model.airbyte_utils.GROUP_MEMBERSHIPS_STG 2022-04-22 10:56:35 normalization > 10:55:14.901867 [debug] [Thread-4 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:14.912865 [info ] [Thread-2 ]: 5 of 95 START view model _AIRBYTE_ZENDESK_SUPPORT.ORGANIZATIONS_STG..................................................... [RUN] 2022-04-22 10:56:35 normalization > 10:55:14.922328 [debug] [Thread-3 ]: Writing runtime SQL for node "model.airbyte_utils.GROUPS_STG" 2022-04-22 10:56:35 normalization > 10:55:14.922655 [debug] [Thread-1 ]: Compiling model.airbyte_utils.SATISFACTION_RATINGS_STG 2022-04-22 10:56:35 normalization > 10:55:14.928466 [debug] [Thread-5 ]: Writing runtime SQL for node "model.airbyte_utils.GROUP_MEMBERSHIPS_STG" 2022-04-22 10:56:35 normalization > 10:55:14.928767 [debug] [Thread-4 ]: Began executing node model.airbyte_utils.MACROS_STG 2022-04-22 10:56:35 normalization > 10:55:14.935228 [debug] [Thread-2 ]: Acquiring new snowflake connection "model.airbyte_utils.ORGANIZATIONS_STG" 2022-04-22 10:56:35 normalization > 10:55:14.955530 [debug] [Thread-4 ]: Writing runtime SQL for node "model.airbyte_utils.MACROS_STG" 2022-04-22 10:56:35 normalization > 10:55:14.965465 [debug] [Thread-1 ]: Writing injected SQL for node "model.airbyte_utils.SATISFACTION_RATINGS_STG" 2022-04-22 10:56:35 normalization > 10:55:14.969195 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.GROUP_MEMBERSHIPS_STG" 2022-04-22 10:56:35 normalization > 10:55:14.972623 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.GROUPS_STG" 2022-04-22 10:56:35 normalization > 10:55:14.972878 [debug] [Thread-2 ]: Began compiling node model.airbyte_utils.ORGANIZATIONS_STG 2022-04-22 10:56:35 normalization > 10:55:14.977401 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.MACROS_STG" 2022-04-22 10:56:35 normalization > 10:55:14.977766 [debug] [Thread-1 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:14.977934 [debug] [Thread-5 ]: On model.airbyte_utils.GROUP_MEMBERSHIPS_STG: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.GROUP_MEMBERSHIPS_STG"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace view "AIRBYTE_DB"._AIRBYTE_ZENDESK_SUPPORT."GROUP_MEMBERSHIPS_STG" 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > with __dbt__cte__GROUP_MEMBERSHIPS_AB1 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to parse JSON blob stored in a single column and extract into separated field columns as described by the JSON Schema 2022-04-22 10:56:35 normalization > -- depends_on: "AIRBYTE_DB".ZENDESK_SUPPORT._AIRBYTE_RAW_GROUP_MEMBERSHIPS 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"id"')) as ID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"url"')) as URL, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"default"')) as "default", 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"user_id"')) as USER_ID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"group_id"')) as GROUP_ID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"created_at"')) as CREATED_AT, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"updated_at"')) as UPDATED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT._AIRBYTE_RAW_GROUP_MEMBERSHIPS as table_alias 2022-04-22 10:56:35 normalization > -- GROUP_MEMBERSHIPS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__GROUP_MEMBERSHIPS_AB2 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to cast each column to its adequate SQL type converted from the JSON schema type 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__GROUP_MEMBERSHIPS_AB1 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > cast(ID as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as ID, 2022-04-22 10:56:35 normalization > cast(URL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as URL, 2022-04-22 10:56:35 normalization > cast("default" as boolean) as "default", 2022-04-22 10:56:35 normalization > cast(USER_ID as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as USER_ID, 2022-04-22 10:56:35 normalization > cast(GROUP_ID as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as GROUP_ID, 2022-04-22 10:56:35 normalization > case 2022-04-22 10:56:35 normalization > when CREATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{4}' then to_timestamp_tz(CREATED_AT, 'YYYY-MM-DDTHH24:MI:SSTZHTZM') 2022-04-22 10:56:35 normalization > when CREATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{2}' then to_timestamp_tz(CREATED_AT, 'YYYY-MM-DDTHH24:MI:SSTZH') 2022-04-22 10:56:35 normalization > when CREATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{4}' then to_timestamp_tz(CREATED_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZHTZM') 2022-04-22 10:56:35 normalization > when CREATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{2}' then to_timestamp_tz(CREATED_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZH') 2022-04-22 10:56:35 normalization > when CREATED_AT = '' then NULL 2022-04-22 10:56:35 normalization > else to_timestamp_tz(CREATED_AT) 2022-04-22 10:56:35 normalization > end as CREATED_AT 2022-04-22 10:56:35 normalization > , 2022-04-22 10:56:35 normalization > case 2022-04-22 10:56:35 normalization > when UPDATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{4}' then to_timestamp_tz(UPDATED_AT, 'YYYY-MM-DDTHH24:MI:SSTZHTZM') 2022-04-22 10:56:35 normalization > when UPDATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{2}' then to_timestamp_tz(UPDATED_AT, 'YYYY-MM-DDTHH24:MI:SSTZH') 2022-04-22 10:56:35 normalization > when UPDATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{4}' then to_timestamp_tz(UPDATED_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZHTZM') 2022-04-22 10:56:35 normalization > when UPDATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{2}' then to_timestamp_tz(UPDATED_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZH') 2022-04-22 10:56:35 normalization > when UPDATED_AT = '' then NULL 2022-04-22 10:56:35 normalization > else to_timestamp_tz(UPDATED_AT) 2022-04-22 10:56:35 normalization > end as UPDATED_AT 2022-04-22 10:56:35 normalization > , 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from __dbt__cte__GROUP_MEMBERSHIPS_AB1 2022-04-22 10:56:35 normalization > -- GROUP_MEMBERSHIPS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > )-- SQL model to build a hash column based on the values of this record 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__GROUP_MEMBERSHIPS_AB2 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(URL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast("default" as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(USER_ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(GROUP_ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(CREATED_AT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(UPDATED_AT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_GROUP_MEMBERSHIPS_HASHID, 2022-04-22 10:56:35 normalization > tmp.* 2022-04-22 10:56:35 normalization > from __dbt__cte__GROUP_MEMBERSHIPS_AB2 tmp 2022-04-22 10:56:35 normalization > -- GROUP_MEMBERSHIPS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:55:14.978170 [debug] [Thread-3 ]: On model.airbyte_utils.GROUPS_STG: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.GROUPS_STG"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace view "AIRBYTE_DB"._AIRBYTE_ZENDESK_SUPPORT."GROUPS_STG" 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > with __dbt__cte__GROUPS_AB1 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to parse JSON blob stored in a single column and extract into separated field columns as described by the JSON Schema 2022-04-22 10:56:35 normalization > -- depends_on: "AIRBYTE_DB".ZENDESK_SUPPORT._AIRBYTE_RAW_GROUPS 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"id"')) as ID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"url"')) as URL, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"name"')) as NAME, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"deleted"')) as DELETED, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"created_at"')) as CREATED_AT, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"updated_at"')) as UPDATED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT._AIRBYTE_RAW_GROUPS as table_alias 2022-04-22 10:56:35 normalization > -- GROUPS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__GROUPS_AB2 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to cast each column to its adequate SQL type converted from the JSON schema type 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__GROUPS_AB1 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > cast(ID as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as ID, 2022-04-22 10:56:35 normalization > cast(URL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as URL, 2022-04-22 10:56:35 normalization > cast(NAME as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as NAME, 2022-04-22 10:56:35 normalization > cast(DELETED as boolean) as DELETED, 2022-04-22 10:56:35 normalization > case 2022-04-22 10:56:35 normalization > when CREATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{4}' then to_timestamp_tz(CREATED_AT, 'YYYY-MM-DDTHH24:MI:SSTZHTZM') 2022-04-22 10:56:35 normalization > when CREATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{2}' then to_timestamp_tz(CREATED_AT, 'YYYY-MM-DDTHH24:MI:SSTZH') 2022-04-22 10:56:35 normalization > when CREATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{4}' then to_timestamp_tz(CREATED_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZHTZM') 2022-04-22 10:56:35 normalization > when CREATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{2}' then to_timestamp_tz(CREATED_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZH') 2022-04-22 10:56:35 normalization > when CREATED_AT = '' then NULL 2022-04-22 10:56:35 normalization > else to_timestamp_tz(CREATED_AT) 2022-04-22 10:56:35 normalization > end as CREATED_AT 2022-04-22 10:56:35 normalization > , 2022-04-22 10:56:35 normalization > case 2022-04-22 10:56:35 normalization > when UPDATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{4}' then to_timestamp_tz(UPDATED_AT, 'YYYY-MM-DDTHH24:MI:SSTZHTZM') 2022-04-22 10:56:35 normalization > when UPDATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{2}' then to_timestamp_tz(UPDATED_AT, 'YYYY-MM-DDTHH24:MI:SSTZH') 2022-04-22 10:56:35 normalization > when UPDATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{4}' then to_timestamp_tz(UPDATED_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZHTZM') 2022-04-22 10:56:35 normalization > when UPDATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{2}' then to_timestamp_tz(UPDATED_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZH') 2022-04-22 10:56:35 normalization > when UPDATED_AT = '' then NULL 2022-04-22 10:56:35 normalization > else to_timestamp_tz(UPDATED_AT) 2022-04-22 10:56:35 normalization > end as UPDATED_AT 2022-04-22 10:56:35 normalization > , 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from __dbt__cte__GROUPS_AB1 2022-04-22 10:56:35 normalization > -- GROUPS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > )-- SQL model to build a hash column based on the values of this record 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__GROUPS_AB2 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(URL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(NAME as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(DELETED as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(CREATED_AT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(UPDATED_AT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_GROUPS_HASHID, 2022-04-22 10:56:35 normalization > tmp.* 2022-04-22 10:56:35 normalization > from __dbt__cte__GROUPS_AB2 tmp 2022-04-22 10:56:35 normalization > -- GROUPS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:55:14.978383 [debug] [Thread-2 ]: Compiling model.airbyte_utils.ORGANIZATIONS_STG 2022-04-22 10:56:35 normalization > 10:55:14.978557 [debug] [Thread-4 ]: On model.airbyte_utils.MACROS_STG: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.MACROS_STG"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace view "AIRBYTE_DB"._AIRBYTE_ZENDESK_SUPPORT."MACROS_STG" 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > with __dbt__cte__MACROS_AB1 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to parse JSON blob stored in a single column and extract into separated field columns as described by the JSON Schema 2022-04-22 10:56:35 normalization > -- depends_on: "AIRBYTE_DB".ZENDESK_SUPPORT._AIRBYTE_RAW_MACROS 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"id"')) as ID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"url"')) as URL, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"title"')) as TITLE, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"active"')) as ACTIVE, 2022-04-22 10:56:35 normalization > get_path(parse_json(_airbyte_data), '"actions"') as ACTIONS, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"position"')) as POSITION, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"created_at"')) as CREATED_AT, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"updated_at"')) as UPDATED_AT, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"description"')) as DESCRIPTION, 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > get_path(parse_json(table_alias._airbyte_data), '"restriction"') 2022-04-22 10:56:35 normalization > as RESTRICTION, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT._AIRBYTE_RAW_MACROS as table_alias 2022-04-22 10:56:35 normalization > -- MACROS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__MACROS_AB2 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to cast each column to its adequate SQL type converted from the JSON schema type 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__MACROS_AB1 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > cast(ID as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as ID, 2022-04-22 10:56:35 normalization > cast(URL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as URL, 2022-04-22 10:56:35 normalization > cast(TITLE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as TITLE, 2022-04-22 10:56:35 normalization > cast(ACTIVE as boolean) as ACTIVE, 2022-04-22 10:56:35 normalization > ACTIONS, 2022-04-22 10:56:35 normalization > cast(POSITION as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as POSITION, 2022-04-22 10:56:35 normalization > case 2022-04-22 10:56:35 normalization > when CREATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{4}' then to_timestamp_tz(CREATED_AT, 'YYYY-MM-DDTHH24:MI:SSTZHTZM') 2022-04-22 10:56:35 normalization > when CREATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{2}' then to_timestamp_tz(CREATED_AT, 'YYYY-MM-DDTHH24:MI:SSTZH') 2022-04-22 10:56:35 normalization > when CREATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{4}' then to_timestamp_tz(CREATED_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZHTZM') 2022-04-22 10:56:35 normalization > when CREATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{2}' then to_timestamp_tz(CREATED_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZH') 2022-04-22 10:56:35 normalization > when CREATED_AT = '' then NULL 2022-04-22 10:56:35 normalization > else to_timestamp_tz(CREATED_AT) 2022-04-22 10:56:35 normalization > end as CREATED_AT 2022-04-22 10:56:35 normalization > , 2022-04-22 10:56:35 normalization > case 2022-04-22 10:56:35 normalization > when UPDATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{4}' then to_timestamp_tz(UPDATED_AT, 'YYYY-MM-DDTHH24:MI:SSTZHTZM') 2022-04-22 10:56:35 normalization > when UPDATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{2}' then to_timestamp_tz(UPDATED_AT, 'YYYY-MM-DDTHH24:MI:SSTZH') 2022-04-22 10:56:35 normalization > when UPDATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{4}' then to_timestamp_tz(UPDATED_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZHTZM') 2022-04-22 10:56:35 normalization > when UPDATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{2}' then to_timestamp_tz(UPDATED_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZH') 2022-04-22 10:56:35 normalization > when UPDATED_AT = '' then NULL 2022-04-22 10:56:35 normalization > else to_timestamp_tz(UPDATED_AT) 2022-04-22 10:56:35 normalization > end as UPDATED_AT 2022-04-22 10:56:35 normalization > , 2022-04-22 10:56:35 normalization > cast(DESCRIPTION as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as DESCRIPTION, 2022-04-22 10:56:35 normalization > cast(RESTRICTION as 2022-04-22 10:56:35 normalization > variant 2022-04-22 10:56:35 normalization > ) as RESTRICTION, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from __dbt__cte__MACROS_AB1 2022-04-22 10:56:35 normalization > -- MACROS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > )-- SQL model to build a hash column based on the values of this record 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__MACROS_AB2 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(URL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(TITLE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(ACTIVE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(ACTIONS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(POSITION as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(CREATED_AT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(UPDATED_AT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(DESCRIPTION as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(RESTRICTION as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_MACROS_HASHID, 2022-04-22 10:56:35 normalization > tmp.* 2022-04-22 10:56:35 normalization > from __dbt__cte__MACROS_AB2 tmp 2022-04-22 10:56:35 normalization > -- MACROS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:55:14.978767 [debug] [Thread-1 ]: Began executing node model.airbyte_utils.SATISFACTION_RATINGS_STG 2022-04-22 10:56:35 normalization > 10:55:14.978954 [debug] [Thread-5 ]: Opening a new connection, currently in state init 2022-04-22 10:56:35 normalization > 10:55:14.979164 [debug] [Thread-3 ]: Opening a new connection, currently in state init 2022-04-22 10:56:35 normalization > 10:55:14.989735 [debug] [Thread-4 ]: Opening a new connection, currently in state init 2022-04-22 10:56:35 normalization > 10:55:15.016616 [debug] [Thread-1 ]: Writing runtime SQL for node "model.airbyte_utils.SATISFACTION_RATINGS_STG" 2022-04-22 10:56:35 normalization > 10:55:15.019000 [debug] [Thread-2 ]: Writing injected SQL for node "model.airbyte_utils.ORGANIZATIONS_STG" 2022-04-22 10:56:35 normalization > 10:55:15.031067 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.SATISFACTION_RATINGS_STG" 2022-04-22 10:56:35 normalization > 10:55:15.031521 [debug] [Thread-1 ]: On model.airbyte_utils.SATISFACTION_RATINGS_STG: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.SATISFACTION_RATINGS_STG"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace view "AIRBYTE_DB"._AIRBYTE_ZENDESK_SUPPORT."SATISFACTION_RATINGS_STG" 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > with __dbt__cte__SATISFACTION_RATINGS_AB1 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to parse JSON blob stored in a single column and extract into separated field columns as described by the JSON Schema 2022-04-22 10:56:35 normalization > -- depends_on: "AIRBYTE_DB".ZENDESK_SUPPORT._AIRBYTE_RAW_SATISFACTION_RATINGS 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"id"')) as ID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"url"')) as URL, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"score"')) as SCORE, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"reason"')) as REASON, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"comment"')) as COMMENT, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"group_id"')) as GROUP_ID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"reason_id"')) as REASON_ID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"ticket_id"')) as TICKET_ID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"created_at"')) as CREATED_AT, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"updated_at"')) as UPDATED_AT, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"assignee_id"')) as ASSIGNEE_ID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"requester_id"')) as REQUESTER_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT._AIRBYTE_RAW_SATISFACTION_RATINGS as table_alias 2022-04-22 10:56:35 normalization > -- SATISFACTION_RATINGS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__SATISFACTION_RATINGS_AB2 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to cast each column to its adequate SQL type converted from the JSON schema type 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__SATISFACTION_RATINGS_AB1 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > cast(ID as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as ID, 2022-04-22 10:56:35 normalization > cast(URL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as URL, 2022-04-22 10:56:35 normalization > cast(SCORE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as SCORE, 2022-04-22 10:56:35 normalization > cast(REASON as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as REASON, 2022-04-22 10:56:35 normalization > cast(COMMENT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as COMMENT, 2022-04-22 10:56:35 normalization > cast(GROUP_ID as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as GROUP_ID, 2022-04-22 10:56:35 normalization > cast(REASON_ID as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as REASON_ID, 2022-04-22 10:56:35 normalization > cast(TICKET_ID as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as TICKET_ID, 2022-04-22 10:56:35 normalization > case 2022-04-22 10:56:35 normalization > when CREATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{4}' then to_timestamp_tz(CREATED_AT, 'YYYY-MM-DDTHH24:MI:SSTZHTZM') 2022-04-22 10:56:35 normalization > when CREATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{2}' then to_timestamp_tz(CREATED_AT, 'YYYY-MM-DDTHH24:MI:SSTZH') 2022-04-22 10:56:35 normalization > when CREATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{4}' then to_timestamp_tz(CREATED_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZHTZM') 2022-04-22 10:56:35 normalization > when CREATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{2}' then to_timestamp_tz(CREATED_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZH') 2022-04-22 10:56:35 normalization > when CREATED_AT = '' then NULL 2022-04-22 10:56:35 normalization > else to_timestamp_tz(CREATED_AT) 2022-04-22 10:56:35 normalization > end as CREATED_AT 2022-04-22 10:56:35 normalization > , 2022-04-22 10:56:35 normalization > case 2022-04-22 10:56:35 normalization > when UPDATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{4}' then to_timestamp_tz(UPDATED_AT, 'YYYY-MM-DDTHH24:MI:SSTZHTZM') 2022-04-22 10:56:35 normalization > when UPDATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{2}' then to_timestamp_tz(UPDATED_AT, 'YYYY-MM-DDTHH24:MI:SSTZH') 2022-04-22 10:56:35 normalization > when UPDATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{4}' then to_timestamp_tz(UPDATED_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZHTZM') 2022-04-22 10:56:35 normalization > when UPDATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{2}' then to_timestamp_tz(UPDATED_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZH') 2022-04-22 10:56:35 normalization > when UPDATED_AT = '' then NULL 2022-04-22 10:56:35 normalization > else to_timestamp_tz(UPDATED_AT) 2022-04-22 10:56:35 normalization > end as UPDATED_AT 2022-04-22 10:56:35 normalization > , 2022-04-22 10:56:35 normalization > cast(ASSIGNEE_ID as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as ASSIGNEE_ID, 2022-04-22 10:56:35 normalization > cast(REQUESTER_ID as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as REQUESTER_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from __dbt__cte__SATISFACTION_RATINGS_AB1 2022-04-22 10:56:35 normalization > -- SATISFACTION_RATINGS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > )-- SQL model to build a hash column based on the values of this record 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__SATISFACTION_RATINGS_AB2 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(URL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(SCORE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(REASON as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(COMMENT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(GROUP_ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(REASON_ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(TICKET_ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(CREATED_AT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(UPDATED_AT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(ASSIGNEE_ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(REQUESTER_ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_SATISFACTION_RATINGS_HASHID, 2022-04-22 10:56:35 normalization > tmp.* 2022-04-22 10:56:35 normalization > from __dbt__cte__SATISFACTION_RATINGS_AB2 tmp 2022-04-22 10:56:35 normalization > -- SATISFACTION_RATINGS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:55:15.031980 [debug] [Thread-1 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:55:15.034547 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:15.035738 [debug] [Thread-2 ]: Began executing node model.airbyte_utils.ORGANIZATIONS_STG 2022-04-22 10:56:35 normalization > 10:55:15.041113 [debug] [Thread-2 ]: Writing runtime SQL for node "model.airbyte_utils.ORGANIZATIONS_STG" 2022-04-22 10:56:35 normalization > 10:55:15.049568 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.ORGANIZATIONS_STG" 2022-04-22 10:56:35 normalization > 10:55:15.049993 [debug] [Thread-2 ]: On model.airbyte_utils.ORGANIZATIONS_STG: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.ORGANIZATIONS_STG"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace view "AIRBYTE_DB"._AIRBYTE_ZENDESK_SUPPORT."ORGANIZATIONS_STG" 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > with __dbt__cte__ORGANIZATIONS_AB1 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to parse JSON blob stored in a single column and extract into separated field columns as described by the JSON Schema 2022-04-22 10:56:35 normalization > -- depends_on: "AIRBYTE_DB".ZENDESK_SUPPORT._AIRBYTE_RAW_ORGANIZATIONS 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"id"')) as ID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"url"')) as URL, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"name"')) as NAME, 2022-04-22 10:56:35 normalization > get_path(parse_json(_airbyte_data), '"tags"') as TAGS, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"notes"')) as NOTES, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"details"')) as DETAILS, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"group_id"')) as GROUP_ID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"created_at"')) as CREATED_AT, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"deleted_at"')) as DELETED_AT, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"updated_at"')) as UPDATED_AT, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"external_id"')) as EXTERNAL_ID, 2022-04-22 10:56:35 normalization > get_path(parse_json(_airbyte_data), '"domain_names"') as DOMAIN_NAMES, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"shared_tickets"')) as SHARED_TICKETS, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"shared_comments"')) as SHARED_COMMENTS, 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > get_path(parse_json(table_alias._airbyte_data), '"organization_fields"') 2022-04-22 10:56:35 normalization > as ORGANIZATION_FIELDS, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT._AIRBYTE_RAW_ORGANIZATIONS as table_alias 2022-04-22 10:56:35 normalization > -- ORGANIZATIONS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__ORGANIZATIONS_AB2 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to cast each column to its adequate SQL type converted from the JSON schema type 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__ORGANIZATIONS_AB1 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > cast(ID as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as ID, 2022-04-22 10:56:35 normalization > cast(URL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as URL, 2022-04-22 10:56:35 normalization > cast(NAME as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as NAME, 2022-04-22 10:56:35 normalization > TAGS, 2022-04-22 10:56:35 normalization > cast(NOTES as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as NOTES, 2022-04-22 10:56:35 normalization > cast(DETAILS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as DETAILS, 2022-04-22 10:56:35 normalization > cast(GROUP_ID as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as GROUP_ID, 2022-04-22 10:56:35 normalization > case 2022-04-22 10:56:35 normalization > when CREATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{4}' then to_timestamp_tz(CREATED_AT, 'YYYY-MM-DDTHH24:MI:SSTZHTZM') 2022-04-22 10:56:35 normalization > when CREATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{2}' then to_timestamp_tz(CREATED_AT, 'YYYY-MM-DDTHH24:MI:SSTZH') 2022-04-22 10:56:35 normalization > when CREATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{4}' then to_timestamp_tz(CREATED_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZHTZM') 2022-04-22 10:56:35 normalization > when CREATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{2}' then to_timestamp_tz(CREATED_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZH') 2022-04-22 10:56:35 normalization > when CREATED_AT = '' then NULL 2022-04-22 10:56:35 normalization > else to_timestamp_tz(CREATED_AT) 2022-04-22 10:56:35 normalization > end as CREATED_AT 2022-04-22 10:56:35 normalization > , 2022-04-22 10:56:35 normalization > case 2022-04-22 10:56:35 normalization > when DELETED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{4}' then to_timestamp_tz(DELETED_AT, 'YYYY-MM-DDTHH24:MI:SSTZHTZM') 2022-04-22 10:56:35 normalization > when DELETED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{2}' then to_timestamp_tz(DELETED_AT, 'YYYY-MM-DDTHH24:MI:SSTZH') 2022-04-22 10:56:35 normalization > when DELETED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{4}' then to_timestamp_tz(DELETED_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZHTZM') 2022-04-22 10:56:35 normalization > when DELETED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{2}' then to_timestamp_tz(DELETED_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZH') 2022-04-22 10:56:35 normalization > when DELETED_AT = '' then NULL 2022-04-22 10:56:35 normalization > else to_timestamp_tz(DELETED_AT) 2022-04-22 10:56:35 normalization > end as DELETED_AT 2022-04-22 10:56:35 normalization > , 2022-04-22 10:56:35 normalization > case 2022-04-22 10:56:35 normalization > when UPDATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{4}' then to_timestamp_tz(UPDATED_AT, 'YYYY-MM-DDTHH24:MI:SSTZHTZM') 2022-04-22 10:56:35 normalization > when UPDATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{2}' then to_timestamp_tz(UPDATED_AT, 'YYYY-MM-DDTHH24:MI:SSTZH') 2022-04-22 10:56:35 normalization > when UPDATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{4}' then to_timestamp_tz(UPDATED_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZHTZM') 2022-04-22 10:56:35 normalization > when UPDATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{2}' then to_timestamp_tz(UPDATED_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZH') 2022-04-22 10:56:35 normalization > when UPDATED_AT = '' then NULL 2022-04-22 10:56:35 normalization > else to_timestamp_tz(UPDATED_AT) 2022-04-22 10:56:35 normalization > end as UPDATED_AT 2022-04-22 10:56:35 normalization > , 2022-04-22 10:56:35 normalization > cast(EXTERNAL_ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as EXTERNAL_ID, 2022-04-22 10:56:35 normalization > DOMAIN_NAMES, 2022-04-22 10:56:35 normalization > cast(SHARED_TICKETS as boolean) as SHARED_TICKETS, 2022-04-22 10:56:35 normalization > cast(SHARED_COMMENTS as boolean) as SHARED_COMMENTS, 2022-04-22 10:56:35 normalization > cast(ORGANIZATION_FIELDS as 2022-04-22 10:56:35 normalization > variant 2022-04-22 10:56:35 normalization > ) as ORGANIZATION_FIELDS, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from __dbt__cte__ORGANIZATIONS_AB1 2022-04-22 10:56:35 normalization > -- ORGANIZATIONS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > )-- SQL model to build a hash column based on the values of this record 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__ORGANIZATIONS_AB2 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(URL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(NAME as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(TAGS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(NOTES as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(DETAILS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(GROUP_ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(CREATED_AT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(DELETED_AT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(UPDATED_AT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(EXTERNAL_ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(DOMAIN_NAMES as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(SHARED_TICKETS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(SHARED_COMMENTS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(ORGANIZATION_FIELDS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_ORGANIZATIONS_HASHID, 2022-04-22 10:56:35 normalization > tmp.* 2022-04-22 10:56:35 normalization > from __dbt__cte__ORGANIZATIONS_AB2 tmp 2022-04-22 10:56:35 normalization > -- ORGANIZATIONS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:55:15.050956 [debug] [Thread-2 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:55:16.532146 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 1.55 seconds 2022-04-22 10:56:35 normalization > 10:55:16.541813 [debug] [Thread-3 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:16.542119 [debug] [Thread-3 ]: On model.airbyte_utils.GROUPS_STG: Close 2022-04-22 10:56:35 normalization > 10:55:16.725140 [debug] [Thread-5 ]: SQL status: SUCCESS 1 in 1.75 seconds 2022-04-22 10:56:35 normalization > 10:55:16.728369 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:16.728614 [debug] [Thread-5 ]: On model.airbyte_utils.GROUP_MEMBERSHIPS_STG: Close 2022-04-22 10:56:35 normalization > 10:55:16.880228 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 1.85 seconds 2022-04-22 10:56:35 normalization > 10:55:16.883558 [debug] [Thread-1 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:16.883797 [debug] [Thread-1 ]: On model.airbyte_utils.SATISFACTION_RATINGS_STG: Close 2022-04-22 10:56:35 normalization > 10:55:16.931993 [info ] [Thread-3 ]: 1 of 95 OK created view model _AIRBYTE_ZENDESK_SUPPORT.GROUPS_STG....................................................... [SUCCESS 1 in 2.20s] 2022-04-22 10:56:35 normalization > 10:55:16.932502 [debug] [Thread-3 ]: Finished running node model.airbyte_utils.GROUPS_STG 2022-04-22 10:56:35 normalization > 10:55:16.932750 [debug] [Thread-3 ]: Began running node model.airbyte_utils.SCHEDULES_AB3 2022-04-22 10:56:35 normalization > 10:55:16.933704 [debug] [Thread-3 ]: Acquiring new snowflake connection "model.airbyte_utils.SCHEDULES_AB3" 2022-04-22 10:56:35 normalization > 10:55:16.934078 [debug] [Thread-3 ]: Began compiling node model.airbyte_utils.SCHEDULES_AB3 2022-04-22 10:56:35 normalization > 10:55:16.934246 [debug] [Thread-3 ]: Compiling model.airbyte_utils.SCHEDULES_AB3 2022-04-22 10:56:35 normalization > 10:55:16.951604 [debug] [Thread-3 ]: Writing injected SQL for node "model.airbyte_utils.SCHEDULES_AB3" 2022-04-22 10:56:35 normalization > 10:55:16.952025 [debug] [Thread-3 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:16.952464 [debug] [Thread-3 ]: Finished running node model.airbyte_utils.SCHEDULES_AB3 2022-04-22 10:56:35 normalization > 10:55:16.952649 [debug] [Thread-3 ]: Began running node model.airbyte_utils.SLA_POLICIES_AB3 2022-04-22 10:56:35 normalization > 10:55:16.952996 [debug] [Thread-3 ]: Acquiring new snowflake connection "model.airbyte_utils.SLA_POLICIES_AB3" 2022-04-22 10:56:35 normalization > 10:55:16.953470 [debug] [Thread-3 ]: Began compiling node model.airbyte_utils.SLA_POLICIES_AB3 2022-04-22 10:56:35 normalization > 10:55:16.953616 [debug] [Thread-3 ]: Compiling model.airbyte_utils.SLA_POLICIES_AB3 2022-04-22 10:56:35 normalization > 10:55:16.974013 [debug] [Thread-3 ]: Writing injected SQL for node "model.airbyte_utils.SLA_POLICIES_AB3" 2022-04-22 10:56:35 normalization > 10:55:16.974478 [debug] [Thread-3 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:16.974985 [debug] [Thread-3 ]: Finished running node model.airbyte_utils.SLA_POLICIES_AB3 2022-04-22 10:56:35 normalization > 10:55:16.975184 [debug] [Thread-3 ]: Began running node model.airbyte_utils.TAGS_AB3 2022-04-22 10:56:35 normalization > 10:55:16.975533 [debug] [Thread-3 ]: Acquiring new snowflake connection "model.airbyte_utils.TAGS_AB3" 2022-04-22 10:56:35 normalization > 10:55:16.976032 [debug] [Thread-3 ]: Began compiling node model.airbyte_utils.TAGS_AB3 2022-04-22 10:56:35 normalization > 10:55:16.976329 [debug] [Thread-3 ]: Compiling model.airbyte_utils.TAGS_AB3 2022-04-22 10:56:35 normalization > 10:55:16.987929 [debug] [Thread-3 ]: Writing injected SQL for node "model.airbyte_utils.TAGS_AB3" 2022-04-22 10:56:35 normalization > 10:55:16.988309 [debug] [Thread-3 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:16.988691 [debug] [Thread-3 ]: Finished running node model.airbyte_utils.TAGS_AB3 2022-04-22 10:56:35 normalization > 10:55:16.988878 [debug] [Thread-3 ]: Began running node model.airbyte_utils.TICKETS_STG 2022-04-22 10:56:35 normalization > 10:55:16.989152 [info ] [Thread-3 ]: 6 of 95 START view model _AIRBYTE_ZENDESK_SUPPORT.TICKETS_STG........................................................... [RUN] 2022-04-22 10:56:35 normalization > 10:55:16.990065 [debug] [Thread-3 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKETS_STG" 2022-04-22 10:56:35 normalization > 10:55:16.990300 [debug] [Thread-3 ]: Began compiling node model.airbyte_utils.TICKETS_STG 2022-04-22 10:56:35 normalization > 10:55:16.990659 [debug] [Thread-3 ]: Compiling model.airbyte_utils.TICKETS_STG 2022-04-22 10:56:35 normalization > 10:55:17.040704 [info ] [Thread-5 ]: 2 of 95 OK created view model _AIRBYTE_ZENDESK_SUPPORT.GROUP_MEMBERSHIPS_STG............................................ [SUCCESS 1 in 2.31s] 2022-04-22 10:56:35 normalization > 10:55:17.058489 [info ] [Thread-1 ]: 4 of 95 OK created view model _AIRBYTE_ZENDESK_SUPPORT.SATISFACTION_RATINGS_STG......................................... [SUCCESS 1 in 2.20s] 2022-04-22 10:56:35 normalization > 10:55:17.058824 [debug] [Thread-5 ]: Finished running node model.airbyte_utils.GROUP_MEMBERSHIPS_STG 2022-04-22 10:56:35 normalization > 10:55:17.085221 [debug] [Thread-5 ]: Began running node model.airbyte_utils.TICKET_AUDITS_STG 2022-04-22 10:56:35 normalization > 10:55:17.091122 [info ] [Thread-5 ]: 7 of 95 START view model _AIRBYTE_ZENDESK_SUPPORT.TICKET_AUDITS_STG..................................................... [RUN] 2022-04-22 10:56:35 normalization > 10:55:17.091729 [debug] [Thread-3 ]: Writing injected SQL for node "model.airbyte_utils.TICKETS_STG" 2022-04-22 10:56:35 normalization > 10:55:17.092324 [debug] [Thread-1 ]: Finished running node model.airbyte_utils.SATISFACTION_RATINGS_STG 2022-04-22 10:56:35 normalization > 10:55:17.093298 [debug] [Thread-5 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS_STG" 2022-04-22 10:56:35 normalization > 10:55:17.093636 [debug] [Thread-3 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:17.094522 [debug] [Thread-3 ]: Began executing node model.airbyte_utils.TICKETS_STG 2022-04-22 10:56:35 normalization > 10:55:17.094332 [debug] [Thread-5 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS_STG 2022-04-22 10:56:35 normalization > 10:55:17.093859 [debug] [Thread-1 ]: Began running node model.airbyte_utils.TICKET_COMMENTS_STG 2022-04-22 10:56:35 normalization > 10:55:17.099970 [debug] [Thread-3 ]: Writing runtime SQL for node "model.airbyte_utils.TICKETS_STG" 2022-04-22 10:56:35 normalization > 10:55:17.100280 [debug] [Thread-5 ]: Compiling model.airbyte_utils.TICKET_AUDITS_STG 2022-04-22 10:56:35 normalization > 10:55:17.100595 [info ] [Thread-1 ]: 8 of 95 START view model _AIRBYTE_ZENDESK_SUPPORT.TICKET_COMMENTS_STG................................................... [RUN] 2022-04-22 10:56:35 normalization > 10:55:17.121406 [debug] [Thread-5 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS_STG" 2022-04-22 10:56:35 normalization > 10:55:17.130936 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKETS_STG" 2022-04-22 10:56:35 normalization > 10:55:17.131839 [debug] [Thread-1 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_COMMENTS_STG" 2022-04-22 10:56:35 normalization > 10:55:17.133419 [debug] [Thread-4 ]: SQL status: SUCCESS 1 in 2.14 seconds 2022-04-22 10:56:35 normalization > 10:55:17.133586 [debug] [Thread-3 ]: On model.airbyte_utils.TICKETS_STG: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_STG"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace view "AIRBYTE_DB"._AIRBYTE_ZENDESK_SUPPORT."TICKETS_STG" 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > with __dbt__cte__TICKETS_AB1 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to parse JSON blob stored in a single column and extract into separated field columns as described by the JSON Schema 2022-04-22 10:56:35 normalization > -- depends_on: "AIRBYTE_DB".ZENDESK_SUPPORT._AIRBYTE_RAW_TICKETS 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"id"')) as ID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"url"')) as URL, 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > get_path(parse_json(table_alias._airbyte_data), '"via"') 2022-04-22 10:56:35 normalization > as VIA, 2022-04-22 10:56:35 normalization > get_path(parse_json(_airbyte_data), '"tags"') as TAGS, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"type"')) as TYPE, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"due_at"')) as DUE_AT, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"status"')) as STATUS, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"subject"')) as SUBJECT, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"brand_id"')) as BRAND_ID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"group_id"')) as GROUP_ID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"priority"')) as PRIORITY, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"is_public"')) as IS_PUBLIC, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"recipient"')) as RECIPIENT, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"created_at"')) as CREATED_AT, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"problem_id"')) as PROBLEM_ID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"updated_at"')) as UPDATED_AT, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"assignee_id"')) as ASSIGNEE_ID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"description"')) as DESCRIPTION, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"external_id"')) as EXTERNAL_ID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"raw_subject"')) as RAW_SUBJECT, 2022-04-22 10:56:35 normalization > get_path(parse_json(_airbyte_data), '"email_cc_ids"') as EMAIL_CC_IDS, 2022-04-22 10:56:35 normalization > get_path(parse_json(_airbyte_data), '"follower_ids"') as FOLLOWER_IDS, 2022-04-22 10:56:35 normalization > get_path(parse_json(_airbyte_data), '"followup_ids"') as FOLLOWUP_IDS, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"requester_id"')) as REQUESTER_ID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"submitter_id"')) as SUBMITTER_ID, 2022-04-22 10:56:35 normalization > get_path(parse_json(_airbyte_data), '"custom_fields"') as CUSTOM_FIELDS, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"has_incidents"')) as HAS_INCIDENTS, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"forum_topic_id"')) as FORUM_TOPIC_ID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"ticket_form_id"')) as TICKET_FORM_ID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"organization_id"')) as ORGANIZATION_ID, 2022-04-22 10:56:35 normalization > get_path(parse_json(_airbyte_data), '"collaborator_ids"') as COLLABORATOR_IDS, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"allow_attachments"')) as ALLOW_ATTACHMENTS, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"allow_channelback"')) as ALLOW_CHANNELBACK, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"generated_timestamp"')) as GENERATED_TIMESTAMP, 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > get_path(parse_json(table_alias._airbyte_data), '"satisfaction_rating"') 2022-04-22 10:56:35 normalization > as SATISFACTION_RATING, 2022-04-22 10:56:35 normalization > get_path(parse_json(_airbyte_data), '"sharing_agreement_ids"') as SHARING_AGREEMENT_IDS, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT._AIRBYTE_RAW_TICKETS as table_alias 2022-04-22 10:56:35 normalization > -- TICKETS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKETS_AB2 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to cast each column to its adequate SQL type converted from the JSON schema type 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKETS_AB1 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > cast(ID as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as ID, 2022-04-22 10:56:35 normalization > cast(URL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as URL, 2022-04-22 10:56:35 normalization > cast(VIA as 2022-04-22 10:56:35 normalization > variant 2022-04-22 10:56:35 normalization > ) as VIA, 2022-04-22 10:56:35 normalization > TAGS, 2022-04-22 10:56:35 normalization > cast(TYPE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as TYPE, 2022-04-22 10:56:35 normalization > case 2022-04-22 10:56:35 normalization > when DUE_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{4}' then to_timestamp_tz(DUE_AT, 'YYYY-MM-DDTHH24:MI:SSTZHTZM') 2022-04-22 10:56:35 normalization > when DUE_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{2}' then to_timestamp_tz(DUE_AT, 'YYYY-MM-DDTHH24:MI:SSTZH') 2022-04-22 10:56:35 normalization > when DUE_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{4}' then to_timestamp_tz(DUE_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZHTZM') 2022-04-22 10:56:35 normalization > when DUE_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{2}' then to_timestamp_tz(DUE_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZH') 2022-04-22 10:56:35 normalization > when DUE_AT = '' then NULL 2022-04-22 10:56:35 normalization > else to_timestamp_tz(DUE_AT) 2022-04-22 10:56:35 normalization > end as DUE_AT 2022-04-22 10:56:35 normalization > , 2022-04-22 10:56:35 normalization > cast(STATUS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as STATUS, 2022-04-22 10:56:35 normalization > cast(SUBJECT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as SUBJECT, 2022-04-22 10:56:35 normalization > cast(BRAND_ID as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as BRAND_ID, 2022-04-22 10:56:35 normalization > cast(GROUP_ID as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as GROUP_ID, 2022-04-22 10:56:35 normalization > cast(PRIORITY as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as PRIORITY, 2022-04-22 10:56:35 normalization > cast(IS_PUBLIC as boolean) as IS_PUBLIC, 2022-04-22 10:56:35 normalization > cast(RECIPIENT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as RECIPIENT, 2022-04-22 10:56:35 normalization > case 2022-04-22 10:56:35 normalization > when CREATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{4}' then to_timestamp_tz(CREATED_AT, 'YYYY-MM-DDTHH24:MI:SSTZHTZM') 2022-04-22 10:56:35 normalization > when CREATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{2}' then to_timestamp_tz(CREATED_AT, 'YYYY-MM-DDTHH24:MI:SSTZH') 2022-04-22 10:56:35 normalization > when CREATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{4}' then to_timestamp_tz(CREATED_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZHTZM') 2022-04-22 10:56:35 normalization > when CREATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{2}' then to_timestamp_tz(CREATED_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZH') 2022-04-22 10:56:35 normalization > when CREATED_AT = '' then NULL 2022-04-22 10:56:35 normalization > else to_timestamp_tz(CREATED_AT) 2022-04-22 10:56:35 normalization > end as CREATED_AT 2022-04-22 10:56:35 normalization > , 2022-04-22 10:56:35 normalization > cast(PROBLEM_ID as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as PROBLEM_ID, 2022-04-22 10:56:35 normalization > case 2022-04-22 10:56:35 normalization > when UPDATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{4}' then to_timestamp_tz(UPDATED_AT, 'YYYY-MM-DDTHH24:MI:SSTZHTZM') 2022-04-22 10:56:35 normalization > when UPDATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{2}' then to_timestamp_tz(UPDATED_AT, 'YYYY-MM-DDTHH24:MI:SSTZH') 2022-04-22 10:56:35 normalization > when UPDATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{4}' then to_timestamp_tz(UPDATED_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZHTZM') 2022-04-22 10:56:35 normalization > when UPDATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{2}' then to_timestamp_tz(UPDATED_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZH') 2022-04-22 10:56:35 normalization > when UPDATED_AT = '' then NULL 2022-04-22 10:56:35 normalization > else to_timestamp_tz(UPDATED_AT) 2022-04-22 10:56:35 normalization > end as UPDATED_AT 2022-04-22 10:56:35 normalization > , 2022-04-22 10:56:35 normalization > cast(ASSIGNEE_ID as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as ASSIGNEE_ID, 2022-04-22 10:56:35 normalization > cast(DESCRIPTION as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as DESCRIPTION, 2022-04-22 10:56:35 normalization > cast(EXTERNAL_ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as EXTERNAL_ID, 2022-04-22 10:56:35 normalization > cast(RAW_SUBJECT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as RAW_SUBJECT, 2022-04-22 10:56:35 normalization > EMAIL_CC_IDS, 2022-04-22 10:56:35 normalization > FOLLOWER_IDS, 2022-04-22 10:56:35 normalization > FOLLOWUP_IDS, 2022-04-22 10:56:35 normalization > cast(REQUESTER_ID as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as REQUESTER_ID, 2022-04-22 10:56:35 normalization > cast(SUBMITTER_ID as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as SUBMITTER_ID, 2022-04-22 10:56:35 normalization > CUSTOM_FIELDS, 2022-04-22 10:56:35 normalization > cast(HAS_INCIDENTS as boolean) as HAS_INCIDENTS, 2022-04-22 10:56:35 normalization > cast(FORUM_TOPIC_ID as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as FORUM_TOPIC_ID, 2022-04-22 10:56:35 normalization > cast(TICKET_FORM_ID as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as TICKET_FORM_ID, 2022-04-22 10:56:35 normalization > cast(ORGANIZATION_ID as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as ORGANIZATION_ID, 2022-04-22 10:56:35 normalization > COLLABORATOR_IDS, 2022-04-22 10:56:35 normalization > cast(ALLOW_ATTACHMENTS as boolean) as ALLOW_ATTACHMENTS, 2022-04-22 10:56:35 normalization > cast(ALLOW_CHANNELBACK as boolean) as ALLOW_CHANNELBACK, 2022-04-22 10:56:35 normalization > cast(GENERATED_TIMESTAMP as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as GENERATED_TIMESTAMP, 2022-04-22 10:56:35 normalization > cast(SATISFACTION_RATING as 2022-04-22 10:56:35 normalization > variant 2022-04-22 10:56:35 normalization > ) as SATISFACTION_RATING, 2022-04-22 10:56:35 normalization > SHARING_AGREEMENT_IDS, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKETS_AB1 2022-04-22 10:56:35 normalization > -- TICKETS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > )-- SQL model to build a hash column based on the values of this record 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKETS_AB2 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(URL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(VIA as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(TAGS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(TYPE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(DUE_AT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(STATUS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(SUBJECT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(BRAND_ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(GROUP_ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(PRIORITY as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(IS_PUBLIC as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(RECIPIENT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(CREATED_AT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(PROBLEM_ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(UPDATED_AT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(ASSIGNEE_ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(DESCRIPTION as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(EXTERNAL_ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(RAW_SUBJECT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(EMAIL_CC_IDS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(FOLLOWER_IDS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(FOLLOWUP_IDS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(REQUESTER_ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(SUBMITTER_ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(CUSTOM_FIELDS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(HAS_INCIDENTS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(FORUM_TOPIC_ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(TICKET_FORM_ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(ORGANIZATION_ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(COLLABORATOR_IDS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(ALLOW_ATTACHMENTS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(ALLOW_CHANNELBACK as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(GENERATED_TIMESTAMP as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(SATISFACTION_RATING as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(SHARING_AGREEMENT_IDS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_TICKETS_HASHID, 2022-04-22 10:56:35 normalization > tmp.* 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKETS_AB2 tmp 2022-04-22 10:56:35 normalization > -- TICKETS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:55:17.133921 [debug] [Thread-1 ]: Began compiling node model.airbyte_utils.TICKET_COMMENTS_STG 2022-04-22 10:56:35 normalization > 10:55:17.134114 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:17.135200 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 2.08 seconds 2022-04-22 10:56:35 normalization > 10:55:17.138491 [debug] [Thread-4 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:17.139038 [debug] [Thread-3 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:55:17.139255 [debug] [Thread-1 ]: Compiling model.airbyte_utils.TICKET_COMMENTS_STG 2022-04-22 10:56:35 normalization > 10:55:17.139463 [debug] [Thread-5 ]: Began executing node model.airbyte_utils.TICKET_AUDITS_STG 2022-04-22 10:56:35 normalization > 10:55:17.142519 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:17.142776 [debug] [Thread-4 ]: On model.airbyte_utils.MACROS_STG: Close 2022-04-22 10:56:35 normalization > 10:55:17.165500 [debug] [Thread-5 ]: Writing runtime SQL for node "model.airbyte_utils.TICKET_AUDITS_STG" 2022-04-22 10:56:35 normalization > 10:55:17.178487 [debug] [Thread-1 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_COMMENTS_STG" 2022-04-22 10:56:35 normalization > 10:55:17.179061 [debug] [Thread-2 ]: On model.airbyte_utils.ORGANIZATIONS_STG: Close 2022-04-22 10:56:35 normalization > 10:55:17.185192 [debug] [Thread-1 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:17.190838 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_STG" 2022-04-22 10:56:35 normalization > 10:55:17.191094 [debug] [Thread-1 ]: Began executing node model.airbyte_utils.TICKET_COMMENTS_STG 2022-04-22 10:56:35 normalization > 10:55:17.191511 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_AUDITS_STG: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_STG"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace view "AIRBYTE_DB"._AIRBYTE_ZENDESK_SUPPORT."TICKET_AUDITS_STG" 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > with __dbt__cte__TICKET_AUDITS_AB1 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to parse JSON blob stored in a single column and extract into separated field columns as described by the JSON Schema 2022-04-22 10:56:35 normalization > -- depends_on: "AIRBYTE_DB".ZENDESK_SUPPORT._AIRBYTE_RAW_TICKET_AUDITS 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"id"')) as ID, 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > get_path(parse_json(table_alias._airbyte_data), '"via"') 2022-04-22 10:56:35 normalization > as VIA, 2022-04-22 10:56:35 normalization > get_path(parse_json(_airbyte_data), '"events"') as EVENTS, 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > get_path(parse_json(table_alias._airbyte_data), '"metadata"') 2022-04-22 10:56:35 normalization > as METADATA, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"author_id"')) as AUTHOR_ID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"ticket_id"')) as TICKET_ID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"created_at"')) as CREATED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT._AIRBYTE_RAW_TICKET_AUDITS as table_alias 2022-04-22 10:56:35 normalization > -- TICKET_AUDITS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKET_AUDITS_AB2 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to cast each column to its adequate SQL type converted from the JSON schema type 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_AUDITS_AB1 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > cast(ID as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as ID, 2022-04-22 10:56:35 normalization > cast(VIA as 2022-04-22 10:56:35 normalization > variant 2022-04-22 10:56:35 normalization > ) as VIA, 2022-04-22 10:56:35 normalization > EVENTS, 2022-04-22 10:56:35 normalization > cast(METADATA as 2022-04-22 10:56:35 normalization > variant 2022-04-22 10:56:35 normalization > ) as METADATA, 2022-04-22 10:56:35 normalization > cast(AUTHOR_ID as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as AUTHOR_ID, 2022-04-22 10:56:35 normalization > cast(TICKET_ID as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as TICKET_ID, 2022-04-22 10:56:35 normalization > case 2022-04-22 10:56:35 normalization > when CREATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{4}' then to_timestamp_tz(CREATED_AT, 'YYYY-MM-DDTHH24:MI:SSTZHTZM') 2022-04-22 10:56:35 normalization > when CREATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{2}' then to_timestamp_tz(CREATED_AT, 'YYYY-MM-DDTHH24:MI:SSTZH') 2022-04-22 10:56:35 normalization > when CREATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{4}' then to_timestamp_tz(CREATED_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZHTZM') 2022-04-22 10:56:35 normalization > when CREATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{2}' then to_timestamp_tz(CREATED_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZH') 2022-04-22 10:56:35 normalization > when CREATED_AT = '' then NULL 2022-04-22 10:56:35 normalization > else to_timestamp_tz(CREATED_AT) 2022-04-22 10:56:35 normalization > end as CREATED_AT 2022-04-22 10:56:35 normalization > , 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_AUDITS_AB1 2022-04-22 10:56:35 normalization > -- TICKET_AUDITS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > )-- SQL model to build a hash column based on the values of this record 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_AUDITS_AB2 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(VIA as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(EVENTS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(METADATA as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(AUTHOR_ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(TICKET_ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(CREATED_AT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_TICKET_AUDITS_HASHID, 2022-04-22 10:56:35 normalization > tmp.* 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_AUDITS_AB2 tmp 2022-04-22 10:56:35 normalization > -- TICKET_AUDITS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:55:17.196093 [debug] [Thread-1 ]: Writing runtime SQL for node "model.airbyte_utils.TICKET_COMMENTS_STG" 2022-04-22 10:56:35 normalization > 10:55:17.196433 [debug] [Thread-5 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:55:17.202906 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_STG" 2022-04-22 10:56:35 normalization > 10:55:17.203874 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_COMMENTS_STG: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_STG"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace view "AIRBYTE_DB"._AIRBYTE_ZENDESK_SUPPORT."TICKET_COMMENTS_STG" 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > with __dbt__cte__TICKET_COMMENTS_AB1 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to parse JSON blob stored in a single column and extract into separated field columns as described by the JSON Schema 2022-04-22 10:56:35 normalization > -- depends_on: "AIRBYTE_DB".ZENDESK_SUPPORT._AIRBYTE_RAW_TICKET_COMMENTS 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"id"')) as ID, 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > get_path(parse_json(table_alias._airbyte_data), '"via"') 2022-04-22 10:56:35 normalization > as VIA, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"body"')) as BODY, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"type"')) as TYPE, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"public"')) as PUBLIC, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"audit_id"')) as AUDIT_ID, 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > get_path(parse_json(table_alias._airbyte_data), '"metadata"') 2022-04-22 10:56:35 normalization > as METADATA, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"author_id"')) as AUTHOR_ID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"html_body"')) as HTML_BODY, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"ticket_id"')) as TICKET_ID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"created_at"')) as CREATED_AT, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"plain_body"')) as PLAIN_BODY, 2022-04-22 10:56:35 normalization > get_path(parse_json(_airbyte_data), '"attachments"') as ATTACHMENTS, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT._AIRBYTE_RAW_TICKET_COMMENTS as table_alias 2022-04-22 10:56:35 normalization > -- TICKET_COMMENTS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKET_COMMENTS_AB2 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to cast each column to its adequate SQL type converted from the JSON schema type 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_COMMENTS_AB1 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > cast(ID as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as ID, 2022-04-22 10:56:35 normalization > cast(VIA as 2022-04-22 10:56:35 normalization > variant 2022-04-22 10:56:35 normalization > ) as VIA, 2022-04-22 10:56:35 normalization > cast(BODY as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as BODY, 2022-04-22 10:56:35 normalization > cast(TYPE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as TYPE, 2022-04-22 10:56:35 normalization > cast(PUBLIC as boolean) as PUBLIC, 2022-04-22 10:56:35 normalization > cast(AUDIT_ID as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as AUDIT_ID, 2022-04-22 10:56:35 normalization > cast(METADATA as 2022-04-22 10:56:35 normalization > variant 2022-04-22 10:56:35 normalization > ) as METADATA, 2022-04-22 10:56:35 normalization > cast(AUTHOR_ID as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as AUTHOR_ID, 2022-04-22 10:56:35 normalization > cast(HTML_BODY as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as HTML_BODY, 2022-04-22 10:56:35 normalization > cast(TICKET_ID as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as TICKET_ID, 2022-04-22 10:56:35 normalization > case 2022-04-22 10:56:35 normalization > when CREATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{4}' then to_timestamp_tz(CREATED_AT, 'YYYY-MM-DDTHH24:MI:SSTZHTZM') 2022-04-22 10:56:35 normalization > when CREATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{2}' then to_timestamp_tz(CREATED_AT, 'YYYY-MM-DDTHH24:MI:SSTZH') 2022-04-22 10:56:35 normalization > when CREATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{4}' then to_timestamp_tz(CREATED_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZHTZM') 2022-04-22 10:56:35 normalization > when CREATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{2}' then to_timestamp_tz(CREATED_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZH') 2022-04-22 10:56:35 normalization > when CREATED_AT = '' then NULL 2022-04-22 10:56:35 normalization > else to_timestamp_tz(CREATED_AT) 2022-04-22 10:56:35 normalization > end as CREATED_AT 2022-04-22 10:56:35 normalization > , 2022-04-22 10:56:35 normalization > cast(PLAIN_BODY as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as PLAIN_BODY, 2022-04-22 10:56:35 normalization > ATTACHMENTS, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_COMMENTS_AB1 2022-04-22 10:56:35 normalization > -- TICKET_COMMENTS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > )-- SQL model to build a hash column based on the values of this record 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_COMMENTS_AB2 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(VIA as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(BODY as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(TYPE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(PUBLIC as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(AUDIT_ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(METADATA as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(AUTHOR_ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(HTML_BODY as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(TICKET_ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(CREATED_AT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(PLAIN_BODY as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(ATTACHMENTS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_TICKET_COMMENTS_HASHID, 2022-04-22 10:56:35 normalization > tmp.* 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_COMMENTS_AB2 tmp 2022-04-22 10:56:35 normalization > -- TICKET_COMMENTS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:55:17.204074 [debug] [Thread-1 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:55:17.336928 [info ] [Thread-4 ]: 3 of 95 OK created view model _AIRBYTE_ZENDESK_SUPPORT.MACROS_STG....................................................... [SUCCESS 1 in 2.52s] 2022-04-22 10:56:35 normalization > 10:55:17.376073 [debug] [Thread-4 ]: Finished running node model.airbyte_utils.MACROS_STG 2022-04-22 10:56:35 normalization > 10:55:17.376489 [debug] [Thread-4 ]: Began running node model.airbyte_utils.TICKET_FIELDS_STG 2022-04-22 10:56:35 normalization > 10:55:17.378236 [info ] [Thread-2 ]: 5 of 95 OK created view model _AIRBYTE_ZENDESK_SUPPORT.ORGANIZATIONS_STG................................................ [SUCCESS 1 in 2.44s] 2022-04-22 10:56:35 normalization > 10:55:17.379155 [info ] [Thread-4 ]: 9 of 95 START view model _AIRBYTE_ZENDESK_SUPPORT.TICKET_FIELDS_STG..................................................... [RUN] 2022-04-22 10:56:35 normalization > 10:55:17.388202 [debug] [Thread-2 ]: Finished running node model.airbyte_utils.ORGANIZATIONS_STG 2022-04-22 10:56:35 normalization > 10:55:17.404524 [debug] [Thread-4 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_FIELDS_STG" 2022-04-22 10:56:35 normalization > 10:55:17.410038 [debug] [Thread-2 ]: Began running node model.airbyte_utils.TICKET_FORMS_STG 2022-04-22 10:56:35 normalization > 10:55:17.430948 [debug] [Thread-4 ]: Began compiling node model.airbyte_utils.TICKET_FIELDS_STG 2022-04-22 10:56:35 normalization > 10:55:17.453839 [info ] [Thread-2 ]: 10 of 95 START view model _AIRBYTE_ZENDESK_SUPPORT.TICKET_FORMS_STG..................................................... [RUN] 2022-04-22 10:56:35 normalization > 10:55:17.480333 [debug] [Thread-4 ]: Compiling model.airbyte_utils.TICKET_FIELDS_STG 2022-04-22 10:56:35 normalization > 10:55:17.550412 [debug] [Thread-2 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_FORMS_STG" 2022-04-22 10:56:35 normalization > 10:55:17.753954 [debug] [Thread-2 ]: Began compiling node model.airbyte_utils.TICKET_FORMS_STG 2022-04-22 10:56:35 normalization > 10:55:17.766022 [debug] [Thread-2 ]: Compiling model.airbyte_utils.TICKET_FORMS_STG 2022-04-22 10:56:35 normalization > 10:55:17.868534 [debug] [Thread-2 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_FORMS_STG" 2022-04-22 10:56:35 normalization > 10:55:17.903718 [debug] [Thread-4 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_FIELDS_STG" 2022-04-22 10:56:35 normalization > 10:55:17.904308 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:17.906303 [debug] [Thread-4 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:17.907190 [debug] [Thread-2 ]: Began executing node model.airbyte_utils.TICKET_FORMS_STG 2022-04-22 10:56:35 normalization > 10:55:17.918274 [debug] [Thread-4 ]: Began executing node model.airbyte_utils.TICKET_FIELDS_STG 2022-04-22 10:56:35 normalization > 10:55:17.926334 [debug] [Thread-2 ]: Writing runtime SQL for node "model.airbyte_utils.TICKET_FORMS_STG" 2022-04-22 10:56:35 normalization > 10:55:17.931201 [debug] [Thread-4 ]: Writing runtime SQL for node "model.airbyte_utils.TICKET_FIELDS_STG" 2022-04-22 10:56:35 normalization > 10:55:17.940698 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_FIELDS_STG" 2022-04-22 10:56:35 normalization > 10:55:17.941722 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_FIELDS_STG: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_FIELDS_STG"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace view "AIRBYTE_DB"._AIRBYTE_ZENDESK_SUPPORT."TICKET_FIELDS_STG" 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > with __dbt__cte__TICKET_FIELDS_AB1 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to parse JSON blob stored in a single column and extract into separated field columns as described by the JSON Schema 2022-04-22 10:56:35 normalization > -- depends_on: "AIRBYTE_DB".ZENDESK_SUPPORT._AIRBYTE_RAW_TICKET_FIELDS 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"id"')) as ID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"tag"')) as TAG, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"url"')) as URL, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"type"')) as TYPE, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"title"')) as TITLE, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"active"')) as ACTIVE, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"position"')) as POSITION, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"required"')) as REQUIRED, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"raw_title"')) as RAW_TITLE, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"removable"')) as REMOVABLE, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"created_at"')) as CREATED_AT, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"updated_at"')) as UPDATED_AT, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"description"')) as DESCRIPTION, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"sub_type_id"')) as SUB_TYPE_ID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"raw_description"')) as RAW_DESCRIPTION, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"title_in_portal"')) as TITLE_IN_PORTAL, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"agent_description"')) as AGENT_DESCRIPTION, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"visible_in_portal"')) as VISIBLE_IN_PORTAL, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"editable_in_portal"')) as EDITABLE_IN_PORTAL, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"required_in_portal"')) as REQUIRED_IN_PORTAL, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"raw_title_in_portal"')) as RAW_TITLE_IN_PORTAL, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"collapsed_for_agents"')) as COLLAPSED_FOR_AGENTS, 2022-04-22 10:56:35 normalization > get_path(parse_json(_airbyte_data), '"custom_field_options"') as CUSTOM_FIELD_OPTIONS, 2022-04-22 10:56:35 normalization > get_path(parse_json(_airbyte_data), '"system_field_options"') as SYSTEM_FIELD_OPTIONS, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"regexp_for_validation"')) as REGEXP_FOR_VALIDATION, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT._AIRBYTE_RAW_TICKET_FIELDS as table_alias 2022-04-22 10:56:35 normalization > -- TICKET_FIELDS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKET_FIELDS_AB2 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to cast each column to its adequate SQL type converted from the JSON schema type 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_FIELDS_AB1 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > cast(ID as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as ID, 2022-04-22 10:56:35 normalization > cast(TAG as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as TAG, 2022-04-22 10:56:35 normalization > cast(URL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as URL, 2022-04-22 10:56:35 normalization > cast(TYPE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as TYPE, 2022-04-22 10:56:35 normalization > cast(TITLE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as TITLE, 2022-04-22 10:56:35 normalization > cast(ACTIVE as boolean) as ACTIVE, 2022-04-22 10:56:35 normalization > cast(POSITION as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as POSITION, 2022-04-22 10:56:35 normalization > cast(REQUIRED as boolean) as REQUIRED, 2022-04-22 10:56:35 normalization > cast(RAW_TITLE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as RAW_TITLE, 2022-04-22 10:56:35 normalization > cast(REMOVABLE as boolean) as REMOVABLE, 2022-04-22 10:56:35 normalization > case 2022-04-22 10:56:35 normalization > when CREATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{4}' then to_timestamp_tz(CREATED_AT, 'YYYY-MM-DDTHH24:MI:SSTZHTZM') 2022-04-22 10:56:35 normalization > when CREATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{2}' then to_timestamp_tz(CREATED_AT, 'YYYY-MM-DDTHH24:MI:SSTZH') 2022-04-22 10:56:35 normalization > when CREATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{4}' then to_timestamp_tz(CREATED_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZHTZM') 2022-04-22 10:56:35 normalization > when CREATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{2}' then to_timestamp_tz(CREATED_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZH') 2022-04-22 10:56:35 normalization > when CREATED_AT = '' then NULL 2022-04-22 10:56:35 normalization > else to_timestamp_tz(CREATED_AT) 2022-04-22 10:56:35 normalization > end as CREATED_AT 2022-04-22 10:56:35 normalization > , 2022-04-22 10:56:35 normalization > case 2022-04-22 10:56:35 normalization > when UPDATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{4}' then to_timestamp_tz(UPDATED_AT, 'YYYY-MM-DDTHH24:MI:SSTZHTZM') 2022-04-22 10:56:35 normalization > when UPDATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{2}' then to_timestamp_tz(UPDATED_AT, 'YYYY-MM-DDTHH24:MI:SSTZH') 2022-04-22 10:56:35 normalization > when UPDATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{4}' then to_timestamp_tz(UPDATED_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZHTZM') 2022-04-22 10:56:35 normalization > when UPDATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{2}' then to_timestamp_tz(UPDATED_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZH') 2022-04-22 10:56:35 normalization > when UPDATED_AT = '' then NULL 2022-04-22 10:56:35 normalization > else to_timestamp_tz(UPDATED_AT) 2022-04-22 10:56:35 normalization > end as UPDATED_AT 2022-04-22 10:56:35 normalization > , 2022-04-22 10:56:35 normalization > cast(DESCRIPTION as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as DESCRIPTION, 2022-04-22 10:56:35 normalization > cast(SUB_TYPE_ID as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as SUB_TYPE_ID, 2022-04-22 10:56:35 normalization > cast(RAW_DESCRIPTION as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as RAW_DESCRIPTION, 2022-04-22 10:56:35 normalization > cast(TITLE_IN_PORTAL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as TITLE_IN_PORTAL, 2022-04-22 10:56:35 normalization > cast(AGENT_DESCRIPTION as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as AGENT_DESCRIPTION, 2022-04-22 10:56:35 normalization > cast(VISIBLE_IN_PORTAL as boolean) as VISIBLE_IN_PORTAL, 2022-04-22 10:56:35 normalization > cast(EDITABLE_IN_PORTAL as boolean) as EDITABLE_IN_PORTAL, 2022-04-22 10:56:35 normalization > cast(REQUIRED_IN_PORTAL as boolean) as REQUIRED_IN_PORTAL, 2022-04-22 10:56:35 normalization > cast(RAW_TITLE_IN_PORTAL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as RAW_TITLE_IN_PORTAL, 2022-04-22 10:56:35 normalization > cast(COLLAPSED_FOR_AGENTS as boolean) as COLLAPSED_FOR_AGENTS, 2022-04-22 10:56:35 normalization > CUSTOM_FIELD_OPTIONS, 2022-04-22 10:56:35 normalization > SYSTEM_FIELD_OPTIONS, 2022-04-22 10:56:35 normalization > cast(REGEXP_FOR_VALIDATION as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as REGEXP_FOR_VALIDATION, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_FIELDS_AB1 2022-04-22 10:56:35 normalization > -- TICKET_FIELDS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > )-- SQL model to build a hash column based on the values of this record 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_FIELDS_AB2 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(TAG as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(URL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(TYPE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(TITLE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(ACTIVE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(POSITION as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(REQUIRED as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(RAW_TITLE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(REMOVABLE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(CREATED_AT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(UPDATED_AT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(DESCRIPTION as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(SUB_TYPE_ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(RAW_DESCRIPTION as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(TITLE_IN_PORTAL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(AGENT_DESCRIPTION as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(VISIBLE_IN_PORTAL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(EDITABLE_IN_PORTAL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(REQUIRED_IN_PORTAL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(RAW_TITLE_IN_PORTAL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(COLLAPSED_FOR_AGENTS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(CUSTOM_FIELD_OPTIONS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(SYSTEM_FIELD_OPTIONS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(REGEXP_FOR_VALIDATION as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_TICKET_FIELDS_HASHID, 2022-04-22 10:56:35 normalization > tmp.* 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_FIELDS_AB2 tmp 2022-04-22 10:56:35 normalization > -- TICKET_FIELDS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:55:17.947309 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_FORMS_STG" 2022-04-22 10:56:35 normalization > 10:55:17.947610 [debug] [Thread-4 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:55:17.948608 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_FORMS_STG: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_FORMS_STG"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace view "AIRBYTE_DB"._AIRBYTE_ZENDESK_SUPPORT."TICKET_FORMS_STG" 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > with __dbt__cte__TICKET_FORMS_AB1 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to parse JSON blob stored in a single column and extract into separated field columns as described by the JSON Schema 2022-04-22 10:56:35 normalization > -- depends_on: "AIRBYTE_DB".ZENDESK_SUPPORT._AIRBYTE_RAW_TICKET_FORMS 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"id"')) as ID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"url"')) as URL, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"name"')) as NAME, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"active"')) as ACTIVE, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"default"')) as "default", 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"position"')) as POSITION, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"raw_name"')) as RAW_NAME, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"created_at"')) as CREATED_AT, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"updated_at"')) as UPDATED_AT, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"display_name"')) as DISPLAY_NAME, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"in_all_brands"')) as IN_ALL_BRANDS, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"end_user_visible"')) as END_USER_VISIBLE, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"raw_display_name"')) as RAW_DISPLAY_NAME, 2022-04-22 10:56:35 normalization > get_path(parse_json(_airbyte_data), '"ticket_field_ids"') as TICKET_FIELD_IDS, 2022-04-22 10:56:35 normalization > get_path(parse_json(_airbyte_data), '"restricted_brand_ids"') as RESTRICTED_BRAND_IDS, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT._AIRBYTE_RAW_TICKET_FORMS as table_alias 2022-04-22 10:56:35 normalization > -- TICKET_FORMS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKET_FORMS_AB2 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to cast each column to its adequate SQL type converted from the JSON schema type 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_FORMS_AB1 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > cast(ID as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as ID, 2022-04-22 10:56:35 normalization > cast(URL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as URL, 2022-04-22 10:56:35 normalization > cast(NAME as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as NAME, 2022-04-22 10:56:35 normalization > cast(ACTIVE as boolean) as ACTIVE, 2022-04-22 10:56:35 normalization > cast("default" as boolean) as "default", 2022-04-22 10:56:35 normalization > cast(POSITION as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as POSITION, 2022-04-22 10:56:35 normalization > cast(RAW_NAME as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as RAW_NAME, 2022-04-22 10:56:35 normalization > case 2022-04-22 10:56:35 normalization > when CREATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{4}' then to_timestamp_tz(CREATED_AT, 'YYYY-MM-DDTHH24:MI:SSTZHTZM') 2022-04-22 10:56:35 normalization > when CREATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{2}' then to_timestamp_tz(CREATED_AT, 'YYYY-MM-DDTHH24:MI:SSTZH') 2022-04-22 10:56:35 normalization > when CREATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{4}' then to_timestamp_tz(CREATED_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZHTZM') 2022-04-22 10:56:35 normalization > when CREATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{2}' then to_timestamp_tz(CREATED_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZH') 2022-04-22 10:56:35 normalization > when CREATED_AT = '' then NULL 2022-04-22 10:56:35 normalization > else to_timestamp_tz(CREATED_AT) 2022-04-22 10:56:35 normalization > end as CREATED_AT 2022-04-22 10:56:35 normalization > , 2022-04-22 10:56:35 normalization > case 2022-04-22 10:56:35 normalization > when UPDATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{4}' then to_timestamp_tz(UPDATED_AT, 'YYYY-MM-DDTHH24:MI:SSTZHTZM') 2022-04-22 10:56:35 normalization > when UPDATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{2}' then to_timestamp_tz(UPDATED_AT, 'YYYY-MM-DDTHH24:MI:SSTZH') 2022-04-22 10:56:35 normalization > when UPDATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{4}' then to_timestamp_tz(UPDATED_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZHTZM') 2022-04-22 10:56:35 normalization > when UPDATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{2}' then to_timestamp_tz(UPDATED_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZH') 2022-04-22 10:56:35 normalization > when UPDATED_AT = '' then NULL 2022-04-22 10:56:35 normalization > else to_timestamp_tz(UPDATED_AT) 2022-04-22 10:56:35 normalization > end as UPDATED_AT 2022-04-22 10:56:35 normalization > , 2022-04-22 10:56:35 normalization > cast(DISPLAY_NAME as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as DISPLAY_NAME, 2022-04-22 10:56:35 normalization > cast(IN_ALL_BRANDS as boolean) as IN_ALL_BRANDS, 2022-04-22 10:56:35 normalization > cast(END_USER_VISIBLE as boolean) as END_USER_VISIBLE, 2022-04-22 10:56:35 normalization > cast(RAW_DISPLAY_NAME as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as RAW_DISPLAY_NAME, 2022-04-22 10:56:35 normalization > TICKET_FIELD_IDS, 2022-04-22 10:56:35 normalization > RESTRICTED_BRAND_IDS, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_FORMS_AB1 2022-04-22 10:56:35 normalization > -- TICKET_FORMS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > )-- SQL model to build a hash column based on the values of this record 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_FORMS_AB2 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(URL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(NAME as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(ACTIVE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast("default" as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(POSITION as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(RAW_NAME as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(CREATED_AT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(UPDATED_AT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(DISPLAY_NAME as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(IN_ALL_BRANDS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(END_USER_VISIBLE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(RAW_DISPLAY_NAME as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(TICKET_FIELD_IDS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(RESTRICTED_BRAND_IDS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_TICKET_FORMS_HASHID, 2022-04-22 10:56:35 normalization > tmp.* 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_FORMS_AB2 tmp 2022-04-22 10:56:35 normalization > -- TICKET_FORMS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:55:17.953525 [debug] [Thread-2 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:55:19.343343 [debug] [Thread-5 ]: SQL status: SUCCESS 1 in 2.15 seconds 2022-04-22 10:56:35 normalization > 10:55:19.347076 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:19.347346 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_AUDITS_STG: Close 2022-04-22 10:56:35 normalization > 10:55:19.484448 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 2.35 seconds 2022-04-22 10:56:35 normalization > 10:55:19.487663 [debug] [Thread-3 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:19.487897 [debug] [Thread-3 ]: On model.airbyte_utils.TICKETS_STG: Close 2022-04-22 10:56:35 normalization > 10:55:19.533188 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 1.58 seconds 2022-04-22 10:56:35 normalization > 10:55:19.536388 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:19.536602 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_FORMS_STG: Close 2022-04-22 10:56:35 normalization > 10:55:19.581898 [info ] [Thread-5 ]: 7 of 95 OK created view model _AIRBYTE_ZENDESK_SUPPORT.TICKET_AUDITS_STG................................................ [SUCCESS 1 in 2.49s] 2022-04-22 10:56:35 normalization > 10:55:19.582387 [debug] [Thread-5 ]: Finished running node model.airbyte_utils.TICKET_AUDITS_STG 2022-04-22 10:56:35 normalization > 10:55:19.582787 [debug] [Thread-5 ]: Began running node model.airbyte_utils.TICKET_METRICS_STG 2022-04-22 10:56:35 normalization > 10:55:19.583781 [info ] [Thread-5 ]: 11 of 95 START view model _AIRBYTE_ZENDESK_SUPPORT.TICKET_METRICS_STG................................................... [RUN] 2022-04-22 10:56:35 normalization > 10:55:19.584534 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 2.38 seconds 2022-04-22 10:56:35 normalization > 10:55:19.585173 [debug] [Thread-5 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_METRICS_STG" 2022-04-22 10:56:35 normalization > 10:55:19.589056 [debug] [Thread-1 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:19.589330 [debug] [Thread-5 ]: Began compiling node model.airbyte_utils.TICKET_METRICS_STG 2022-04-22 10:56:35 normalization > 10:55:19.589560 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_COMMENTS_STG: Close 2022-04-22 10:56:35 normalization > 10:55:19.589742 [debug] [Thread-5 ]: Compiling model.airbyte_utils.TICKET_METRICS_STG 2022-04-22 10:56:35 normalization > 10:55:19.653389 [debug] [Thread-4 ]: SQL status: SUCCESS 1 in 1.71 seconds 2022-04-22 10:56:35 normalization > 10:55:19.658239 [debug] [Thread-5 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_METRICS_STG" 2022-04-22 10:56:35 normalization > 10:55:19.662460 [debug] [Thread-4 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:19.663012 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_FIELDS_STG: Close 2022-04-22 10:56:35 normalization > 10:55:19.663631 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:19.663831 [debug] [Thread-5 ]: Began executing node model.airbyte_utils.TICKET_METRICS_STG 2022-04-22 10:56:35 normalization > 10:55:19.668381 [debug] [Thread-5 ]: Writing runtime SQL for node "model.airbyte_utils.TICKET_METRICS_STG" 2022-04-22 10:56:35 normalization > 10:55:19.681855 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_METRICS_STG" 2022-04-22 10:56:35 normalization > 10:55:19.682116 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_METRICS_STG: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_METRICS_STG"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace view "AIRBYTE_DB"._AIRBYTE_ZENDESK_SUPPORT."TICKET_METRICS_STG" 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > with __dbt__cte__TICKET_METRICS_AB1 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to parse JSON blob stored in a single column and extract into separated field columns as described by the JSON Schema 2022-04-22 10:56:35 normalization > -- depends_on: "AIRBYTE_DB".ZENDESK_SUPPORT._AIRBYTE_RAW_TICKET_METRICS 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"id"')) as ID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"url"')) as URL, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"time"')) as TIME, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"type"')) as TYPE, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"metric"')) as METRIC, 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > get_path(parse_json(table_alias._airbyte_data), '"status"') 2022-04-22 10:56:35 normalization > as STATUS, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"reopens"')) as REOPENS, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"replies"')) as REPLIES, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"solved_at"')) as SOLVED_AT, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"ticket_id"')) as TICKET_ID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"created_at"')) as CREATED_AT, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"updated_at"')) as UPDATED_AT, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"assigned_at"')) as ASSIGNED_AT, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"instance_id"')) as INSTANCE_ID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"group_stations"')) as GROUP_STATIONS, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"assignee_stations"')) as ASSIGNEE_STATIONS, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"status_updated_at"')) as STATUS_UPDATED_AT, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"assignee_updated_at"')) as ASSIGNEE_UPDATED_AT, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"requester_updated_at"')) as REQUESTER_UPDATED_AT, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"initially_assigned_at"')) as INITIALLY_ASSIGNED_AT, 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > get_path(parse_json(table_alias._airbyte_data), '"reply_time_in_minutes"') 2022-04-22 10:56:35 normalization > as REPLY_TIME_IN_MINUTES, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"latest_comment_added_at"')) as LATEST_COMMENT_ADDED_AT, 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > get_path(parse_json(table_alias._airbyte_data), '"on_hold_time_in_minutes"') 2022-04-22 10:56:35 normalization > as ON_HOLD_TIME_IN_MINUTES, 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > get_path(parse_json(table_alias._airbyte_data), '"agent_wait_time_in_minutes"') 2022-04-22 10:56:35 normalization > as AGENT_WAIT_TIME_IN_MINUTES, 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > get_path(parse_json(table_alias._airbyte_data), '"requester_wait_time_in_minutes"') 2022-04-22 10:56:35 normalization > as REQUESTER_WAIT_TIME_IN_MINUTES, 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > get_path(parse_json(table_alias._airbyte_data), '"full_resolution_time_in_minutes"') 2022-04-22 10:56:35 normalization > as FULL_RESOLUTION_TIME_IN_MINUTES, 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > get_path(parse_json(table_alias._airbyte_data), '"first_resolution_time_in_minutes"') 2022-04-22 10:56:35 normalization > as FIRST_RESOLUTION_TIME_IN_MINUTES, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT._AIRBYTE_RAW_TICKET_METRICS as table_alias 2022-04-22 10:56:35 normalization > -- TICKET_METRICS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKET_METRICS_AB2 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to cast each column to its adequate SQL type converted from the JSON schema type 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_METRICS_AB1 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > cast(ID as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as ID, 2022-04-22 10:56:35 normalization > cast(URL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as URL, 2022-04-22 10:56:35 normalization > cast(TIME as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as TIME, 2022-04-22 10:56:35 normalization > cast(TYPE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as TYPE, 2022-04-22 10:56:35 normalization > cast(METRIC as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as METRIC, 2022-04-22 10:56:35 normalization > cast(STATUS as 2022-04-22 10:56:35 normalization > variant 2022-04-22 10:56:35 normalization > ) as STATUS, 2022-04-22 10:56:35 normalization > cast(REOPENS as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as REOPENS, 2022-04-22 10:56:35 normalization > cast(REPLIES as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as REPLIES, 2022-04-22 10:56:35 normalization > case 2022-04-22 10:56:35 normalization > when SOLVED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{4}' then to_timestamp_tz(SOLVED_AT, 'YYYY-MM-DDTHH24:MI:SSTZHTZM') 2022-04-22 10:56:35 normalization > when SOLVED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{2}' then to_timestamp_tz(SOLVED_AT, 'YYYY-MM-DDTHH24:MI:SSTZH') 2022-04-22 10:56:35 normalization > when SOLVED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{4}' then to_timestamp_tz(SOLVED_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZHTZM') 2022-04-22 10:56:35 normalization > when SOLVED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{2}' then to_timestamp_tz(SOLVED_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZH') 2022-04-22 10:56:35 normalization > when SOLVED_AT = '' then NULL 2022-04-22 10:56:35 normalization > else to_timestamp_tz(SOLVED_AT) 2022-04-22 10:56:35 normalization > end as SOLVED_AT 2022-04-22 10:56:35 normalization > , 2022-04-22 10:56:35 normalization > cast(TICKET_ID as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as TICKET_ID, 2022-04-22 10:56:35 normalization > case 2022-04-22 10:56:35 normalization > when CREATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{4}' then to_timestamp_tz(CREATED_AT, 'YYYY-MM-DDTHH24:MI:SSTZHTZM') 2022-04-22 10:56:35 normalization > when CREATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{2}' then to_timestamp_tz(CREATED_AT, 'YYYY-MM-DDTHH24:MI:SSTZH') 2022-04-22 10:56:35 normalization > when CREATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{4}' then to_timestamp_tz(CREATED_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZHTZM') 2022-04-22 10:56:35 normalization > when CREATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{2}' then to_timestamp_tz(CREATED_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZH') 2022-04-22 10:56:35 normalization > when CREATED_AT = '' then NULL 2022-04-22 10:56:35 normalization > else to_timestamp_tz(CREATED_AT) 2022-04-22 10:56:35 normalization > end as CREATED_AT 2022-04-22 10:56:35 normalization > , 2022-04-22 10:56:35 normalization > case 2022-04-22 10:56:35 normalization > when UPDATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{4}' then to_timestamp_tz(UPDATED_AT, 'YYYY-MM-DDTHH24:MI:SSTZHTZM') 2022-04-22 10:56:35 normalization > when UPDATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{2}' then to_timestamp_tz(UPDATED_AT, 'YYYY-MM-DDTHH24:MI:SSTZH') 2022-04-22 10:56:35 normalization > when UPDATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{4}' then to_timestamp_tz(UPDATED_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZHTZM') 2022-04-22 10:56:35 normalization > when UPDATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{2}' then to_timestamp_tz(UPDATED_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZH') 2022-04-22 10:56:35 normalization > when UPDATED_AT = '' then NULL 2022-04-22 10:56:35 normalization > else to_timestamp_tz(UPDATED_AT) 2022-04-22 10:56:35 normalization > end as UPDATED_AT 2022-04-22 10:56:35 normalization > , 2022-04-22 10:56:35 normalization > case 2022-04-22 10:56:35 normalization > when ASSIGNED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{4}' then to_timestamp_tz(ASSIGNED_AT, 'YYYY-MM-DDTHH24:MI:SSTZHTZM') 2022-04-22 10:56:35 normalization > when ASSIGNED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{2}' then to_timestamp_tz(ASSIGNED_AT, 'YYYY-MM-DDTHH24:MI:SSTZH') 2022-04-22 10:56:35 normalization > when ASSIGNED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{4}' then to_timestamp_tz(ASSIGNED_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZHTZM') 2022-04-22 10:56:35 normalization > when ASSIGNED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{2}' then to_timestamp_tz(ASSIGNED_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZH') 2022-04-22 10:56:35 normalization > when ASSIGNED_AT = '' then NULL 2022-04-22 10:56:35 normalization > else to_timestamp_tz(ASSIGNED_AT) 2022-04-22 10:56:35 normalization > end as ASSIGNED_AT 2022-04-22 10:56:35 normalization > , 2022-04-22 10:56:35 normalization > cast(INSTANCE_ID as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as INSTANCE_ID, 2022-04-22 10:56:35 normalization > cast(GROUP_STATIONS as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as GROUP_STATIONS, 2022-04-22 10:56:35 normalization > cast(ASSIGNEE_STATIONS as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as ASSIGNEE_STATIONS, 2022-04-22 10:56:35 normalization > case 2022-04-22 10:56:35 normalization > when STATUS_UPDATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{4}' then to_timestamp_tz(STATUS_UPDATED_AT, 'YYYY-MM-DDTHH24:MI:SSTZHTZM') 2022-04-22 10:56:35 normalization > when STATUS_UPDATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{2}' then to_timestamp_tz(STATUS_UPDATED_AT, 'YYYY-MM-DDTHH24:MI:SSTZH') 2022-04-22 10:56:35 normalization > when STATUS_UPDATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{4}' then to_timestamp_tz(STATUS_UPDATED_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZHTZM') 2022-04-22 10:56:35 normalization > when STATUS_UPDATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{2}' then to_timestamp_tz(STATUS_UPDATED_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZH') 2022-04-22 10:56:35 normalization > when STATUS_UPDATED_AT = '' then NULL 2022-04-22 10:56:35 normalization > else to_timestamp_tz(STATUS_UPDATED_AT) 2022-04-22 10:56:35 normalization > end as STATUS_UPDATED_AT 2022-04-22 10:56:35 normalization > , 2022-04-22 10:56:35 normalization > case 2022-04-22 10:56:35 normalization > when ASSIGNEE_UPDATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{4}' then to_timestamp_tz(ASSIGNEE_UPDATED_AT, 'YYYY-MM-DDTHH24:MI:SSTZHTZM') 2022-04-22 10:56:35 normalization > when ASSIGNEE_UPDATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{2}' then to_timestamp_tz(ASSIGNEE_UPDATED_AT, 'YYYY-MM-DDTHH24:MI:SSTZH') 2022-04-22 10:56:35 normalization > when ASSIGNEE_UPDATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{4}' then to_timestamp_tz(ASSIGNEE_UPDATED_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZHTZM') 2022-04-22 10:56:35 normalization > when ASSIGNEE_UPDATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{2}' then to_timestamp_tz(ASSIGNEE_UPDATED_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZH') 2022-04-22 10:56:35 normalization > when ASSIGNEE_UPDATED_AT = '' then NULL 2022-04-22 10:56:35 normalization > else to_timestamp_tz(ASSIGNEE_UPDATED_AT) 2022-04-22 10:56:35 normalization > end as ASSIGNEE_UPDATED_AT 2022-04-22 10:56:35 normalization > , 2022-04-22 10:56:35 normalization > case 2022-04-22 10:56:35 normalization > when REQUESTER_UPDATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{4}' then to_timestamp_tz(REQUESTER_UPDATED_AT, 'YYYY-MM-DDTHH24:MI:SSTZHTZM') 2022-04-22 10:56:35 normalization > when REQUESTER_UPDATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{2}' then to_timestamp_tz(REQUESTER_UPDATED_AT, 'YYYY-MM-DDTHH24:MI:SSTZH') 2022-04-22 10:56:35 normalization > when REQUESTER_UPDATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{4}' then to_timestamp_tz(REQUESTER_UPDATED_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZHTZM') 2022-04-22 10:56:35 normalization > when REQUESTER_UPDATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{2}' then to_timestamp_tz(REQUESTER_UPDATED_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZH') 2022-04-22 10:56:35 normalization > when REQUESTER_UPDATED_AT = '' then NULL 2022-04-22 10:56:35 normalization > else to_timestamp_tz(REQUESTER_UPDATED_AT) 2022-04-22 10:56:35 normalization > end as REQUESTER_UPDATED_AT 2022-04-22 10:56:35 normalization > , 2022-04-22 10:56:35 normalization > case 2022-04-22 10:56:35 normalization > when INITIALLY_ASSIGNED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{4}' then to_timestamp_tz(INITIALLY_ASSIGNED_AT, 'YYYY-MM-DDTHH24:MI:SSTZHTZM') 2022-04-22 10:56:35 normalization > when INITIALLY_ASSIGNED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{2}' then to_timestamp_tz(INITIALLY_ASSIGNED_AT, 'YYYY-MM-DDTHH24:MI:SSTZH') 2022-04-22 10:56:35 normalization > when INITIALLY_ASSIGNED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{4}' then to_timestamp_tz(INITIALLY_ASSIGNED_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZHTZM') 2022-04-22 10:56:35 normalization > when INITIALLY_ASSIGNED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{2}' then to_timestamp_tz(INITIALLY_ASSIGNED_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZH') 2022-04-22 10:56:35 normalization > when INITIALLY_ASSIGNED_AT = '' then NULL 2022-04-22 10:56:35 normalization > else to_timestamp_tz(INITIALLY_ASSIGNED_AT) 2022-04-22 10:56:35 normalization > end as INITIALLY_ASSIGNED_AT 2022-04-22 10:56:35 normalization > , 2022-04-22 10:56:35 normalization > cast(REPLY_TIME_IN_MINUTES as 2022-04-22 10:56:35 normalization > variant 2022-04-22 10:56:35 normalization > ) as REPLY_TIME_IN_MINUTES, 2022-04-22 10:56:35 normalization > case 2022-04-22 10:56:35 normalization > when LATEST_COMMENT_ADDED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{4}' then to_timestamp_tz(LATEST_COMMENT_ADDED_AT, 'YYYY-MM-DDTHH24:MI:SSTZHTZM') 2022-04-22 10:56:35 normalization > when LATEST_COMMENT_ADDED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{2}' then to_timestamp_tz(LATEST_COMMENT_ADDED_AT, 'YYYY-MM-DDTHH24:MI:SSTZH') 2022-04-22 10:56:35 normalization > when LATEST_COMMENT_ADDED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{4}' then to_timestamp_tz(LATEST_COMMENT_ADDED_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZHTZM') 2022-04-22 10:56:35 normalization > when LATEST_COMMENT_ADDED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{2}' then to_timestamp_tz(LATEST_COMMENT_ADDED_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZH') 2022-04-22 10:56:35 normalization > when LATEST_COMMENT_ADDED_AT = '' then NULL 2022-04-22 10:56:35 normalization > else to_timestamp_tz(LATEST_COMMENT_ADDED_AT) 2022-04-22 10:56:35 normalization > end as LATEST_COMMENT_ADDED_AT 2022-04-22 10:56:35 normalization > , 2022-04-22 10:56:35 normalization > cast(ON_HOLD_TIME_IN_MINUTES as 2022-04-22 10:56:35 normalization > variant 2022-04-22 10:56:35 normalization > ) as ON_HOLD_TIME_IN_MINUTES, 2022-04-22 10:56:35 normalization > cast(AGENT_WAIT_TIME_IN_MINUTES as 2022-04-22 10:56:35 normalization > variant 2022-04-22 10:56:35 normalization > ) as AGENT_WAIT_TIME_IN_MINUTES, 2022-04-22 10:56:35 normalization > cast(REQUESTER_WAIT_TIME_IN_MINUTES as 2022-04-22 10:56:35 normalization > variant 2022-04-22 10:56:35 normalization > ) as REQUESTER_WAIT_TIME_IN_MINUTES, 2022-04-22 10:56:35 normalization > cast(FULL_RESOLUTION_TIME_IN_MINUTES as 2022-04-22 10:56:35 normalization > variant 2022-04-22 10:56:35 normalization > ) as FULL_RESOLUTION_TIME_IN_MINUTES, 2022-04-22 10:56:35 normalization > cast(FIRST_RESOLUTION_TIME_IN_MINUTES as 2022-04-22 10:56:35 normalization > variant 2022-04-22 10:56:35 normalization > ) as FIRST_RESOLUTION_TIME_IN_MINUTES, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_METRICS_AB1 2022-04-22 10:56:35 normalization > -- TICKET_METRICS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > )-- SQL model to build a hash column based on the values of this record 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_METRICS_AB2 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(URL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(TIME as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(TYPE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(METRIC as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(STATUS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(REOPENS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(REPLIES as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(SOLVED_AT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(TICKET_ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(CREATED_AT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(UPDATED_AT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(ASSIGNED_AT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(INSTANCE_ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(GROUP_STATIONS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(ASSIGNEE_STATIONS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(STATUS_UPDATED_AT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(ASSIGNEE_UPDATED_AT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(REQUESTER_UPDATED_AT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(INITIALLY_ASSIGNED_AT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(REPLY_TIME_IN_MINUTES as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(LATEST_COMMENT_ADDED_AT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(ON_HOLD_TIME_IN_MINUTES as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(AGENT_WAIT_TIME_IN_MINUTES as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(REQUESTER_WAIT_TIME_IN_MINUTES as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(FULL_RESOLUTION_TIME_IN_MINUTES as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(FIRST_RESOLUTION_TIME_IN_MINUTES as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_TICKET_METRICS_HASHID, 2022-04-22 10:56:35 normalization > tmp.* 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_METRICS_AB2 tmp 2022-04-22 10:56:35 normalization > -- TICKET_METRICS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:55:19.682257 [debug] [Thread-5 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:55:19.689822 [info ] [Thread-3 ]: 6 of 95 OK created view model _AIRBYTE_ZENDESK_SUPPORT.TICKETS_STG...................................................... [SUCCESS 1 in 2.70s] 2022-04-22 10:56:35 normalization > 10:55:19.690301 [debug] [Thread-3 ]: Finished running node model.airbyte_utils.TICKETS_STG 2022-04-22 10:56:35 normalization > 10:55:19.690553 [debug] [Thread-3 ]: Began running node model.airbyte_utils.TICKET_METRIC_EVENTS_STG 2022-04-22 10:56:35 normalization > 10:55:19.690881 [info ] [Thread-3 ]: 12 of 95 START view model _AIRBYTE_ZENDESK_SUPPORT.TICKET_METRIC_EVENTS_STG............................................. [RUN] 2022-04-22 10:56:35 normalization > 10:55:19.691582 [debug] [Thread-3 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_METRIC_EVENTS_STG" 2022-04-22 10:56:35 normalization > 10:55:19.691802 [debug] [Thread-3 ]: Began compiling node model.airbyte_utils.TICKET_METRIC_EVENTS_STG 2022-04-22 10:56:35 normalization > 10:55:19.692590 [debug] [Thread-3 ]: Compiling model.airbyte_utils.TICKET_METRIC_EVENTS_STG 2022-04-22 10:56:35 normalization > 10:55:19.712837 [debug] [Thread-3 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_METRIC_EVENTS_STG" 2022-04-22 10:56:35 normalization > 10:55:19.717052 [debug] [Thread-3 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:19.717380 [debug] [Thread-3 ]: Began executing node model.airbyte_utils.TICKET_METRIC_EVENTS_STG 2022-04-22 10:56:35 normalization > 10:55:19.721839 [debug] [Thread-3 ]: Writing runtime SQL for node "model.airbyte_utils.TICKET_METRIC_EVENTS_STG" 2022-04-22 10:56:35 normalization > 10:55:19.722866 [info ] [Thread-2 ]: 10 of 95 OK created view model _AIRBYTE_ZENDESK_SUPPORT.TICKET_FORMS_STG................................................ [SUCCESS 1 in 2.17s] 2022-04-22 10:56:35 normalization > 10:55:19.723873 [debug] [Thread-2 ]: Finished running node model.airbyte_utils.TICKET_FORMS_STG 2022-04-22 10:56:35 normalization > 10:55:19.724319 [debug] [Thread-2 ]: Began running node model.airbyte_utils.USERS_STG 2022-04-22 10:56:35 normalization > 10:55:19.724626 [info ] [Thread-2 ]: 13 of 95 START view model _AIRBYTE_ZENDESK_SUPPORT.USERS_STG............................................................ [RUN] 2022-04-22 10:56:35 normalization > 10:55:19.726915 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_METRIC_EVENTS_STG" 2022-04-22 10:56:35 normalization > 10:55:19.728186 [debug] [Thread-2 ]: Acquiring new snowflake connection "model.airbyte_utils.USERS_STG" 2022-04-22 10:56:35 normalization > 10:55:19.728400 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_METRIC_EVENTS_STG: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_METRIC_EVENTS_STG"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace view "AIRBYTE_DB"._AIRBYTE_ZENDESK_SUPPORT."TICKET_METRIC_EVENTS_STG" 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > with __dbt__cte__TICKET_METRIC_EVENTS_AB1 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to parse JSON blob stored in a single column and extract into separated field columns as described by the JSON Schema 2022-04-22 10:56:35 normalization > -- depends_on: "AIRBYTE_DB".ZENDESK_SUPPORT._AIRBYTE_RAW_TICKET_METRIC_EVENTS 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"id"')) as ID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"time"')) as TIME, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"type"')) as TYPE, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"metric"')) as METRIC, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"ticket_id"')) as TICKET_ID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"instance_id"')) as INSTANCE_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT._AIRBYTE_RAW_TICKET_METRIC_EVENTS as table_alias 2022-04-22 10:56:35 normalization > -- TICKET_METRIC_EVENTS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKET_METRIC_EVENTS_AB2 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to cast each column to its adequate SQL type converted from the JSON schema type 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_METRIC_EVENTS_AB1 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > cast(ID as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as ID, 2022-04-22 10:56:35 normalization > cast(TIME as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as TIME, 2022-04-22 10:56:35 normalization > cast(TYPE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as TYPE, 2022-04-22 10:56:35 normalization > cast(METRIC as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as METRIC, 2022-04-22 10:56:35 normalization > cast(TICKET_ID as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as TICKET_ID, 2022-04-22 10:56:35 normalization > cast(INSTANCE_ID as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as INSTANCE_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_METRIC_EVENTS_AB1 2022-04-22 10:56:35 normalization > -- TICKET_METRIC_EVENTS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > )-- SQL model to build a hash column based on the values of this record 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_METRIC_EVENTS_AB2 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(TIME as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(TYPE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(METRIC as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(TICKET_ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(INSTANCE_ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_TICKET_METRIC_EVENTS_HASHID, 2022-04-22 10:56:35 normalization > tmp.* 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_METRIC_EVENTS_AB2 tmp 2022-04-22 10:56:35 normalization > -- TICKET_METRIC_EVENTS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:55:19.728686 [debug] [Thread-2 ]: Began compiling node model.airbyte_utils.USERS_STG 2022-04-22 10:56:35 normalization > 10:55:19.734127 [debug] [Thread-3 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:55:19.765077 [debug] [Thread-2 ]: Compiling model.airbyte_utils.USERS_STG 2022-04-22 10:56:35 normalization > 10:55:19.838016 [info ] [Thread-1 ]: 8 of 95 OK created view model _AIRBYTE_ZENDESK_SUPPORT.TICKET_COMMENTS_STG.............................................. [SUCCESS 1 in 2.71s] 2022-04-22 10:56:35 normalization > 10:55:19.898656 [debug] [Thread-1 ]: Finished running node model.airbyte_utils.TICKET_COMMENTS_STG 2022-04-22 10:56:35 normalization > 10:55:19.899289 [debug] [Thread-1 ]: Began running node model.airbyte_utils.GROUPS_SCD 2022-04-22 10:56:35 normalization > 10:55:19.905419 [info ] [Thread-4 ]: 9 of 95 OK created view model _AIRBYTE_ZENDESK_SUPPORT.TICKET_FIELDS_STG................................................ [SUCCESS 1 in 2.50s] 2022-04-22 10:56:35 normalization > 10:55:19.911158 [info ] [Thread-1 ]: 14 of 95 START incremental model ZENDESK_SUPPORT.GROUPS_SCD............................................................. [RUN] 2022-04-22 10:56:35 normalization > 10:55:19.933397 [debug] [Thread-4 ]: Finished running node model.airbyte_utils.TICKET_FIELDS_STG 2022-04-22 10:56:35 normalization > 10:55:19.962511 [debug] [Thread-1 ]: Acquiring new snowflake connection "model.airbyte_utils.GROUPS_SCD" 2022-04-22 10:56:35 normalization > 10:55:19.968128 [debug] [Thread-4 ]: Began running node model.airbyte_utils.SCHEDULES 2022-04-22 10:56:35 normalization > 10:55:19.970141 [debug] [Thread-1 ]: Began compiling node model.airbyte_utils.GROUPS_SCD 2022-04-22 10:56:35 normalization > 10:55:19.981151 [info ] [Thread-4 ]: 15 of 95 START table model ZENDESK_SUPPORT.SCHEDULES.................................................................... [RUN] 2022-04-22 10:56:35 normalization > 10:55:19.985637 [debug] [Thread-2 ]: Writing injected SQL for node "model.airbyte_utils.USERS_STG" 2022-04-22 10:56:35 normalization > 10:55:19.992827 [debug] [Thread-1 ]: Compiling model.airbyte_utils.GROUPS_SCD 2022-04-22 10:56:35 normalization > 10:55:19.994283 [debug] [Thread-4 ]: Acquiring new snowflake connection "model.airbyte_utils.SCHEDULES" 2022-04-22 10:56:35 normalization > 10:55:20.011049 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:20.016558 [debug] [Thread-4 ]: Began compiling node model.airbyte_utils.SCHEDULES 2022-04-22 10:56:35 normalization > 10:55:20.016996 [debug] [Thread-2 ]: Began executing node model.airbyte_utils.USERS_STG 2022-04-22 10:56:35 normalization > 10:55:20.030424 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.GROUPS_SCD" 2022-04-22 10:56:35 normalization > 10:55:20.031192 [debug] [Thread-4 ]: Compiling model.airbyte_utils.SCHEDULES 2022-04-22 10:56:35 normalization > 10:55:20.035721 [debug] [Thread-2 ]: Writing runtime SQL for node "model.airbyte_utils.USERS_STG" 2022-04-22 10:56:35 normalization > 10:55:20.056946 [debug] [Thread-1 ]: On model.airbyte_utils.GROUPS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.GROUPS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."GROUPS_SCD" 2022-04-22 10:56:35 normalization > 10:55:20.108501 [debug] [Thread-4 ]: Writing injected SQL for node "model.airbyte_utils.SCHEDULES" 2022-04-22 10:56:35 normalization > 10:55:20.135312 [debug] [Thread-1 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:55:20.161082 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.USERS_STG" 2022-04-22 10:56:35 normalization > 10:55:20.185455 [debug] [Thread-2 ]: On model.airbyte_utils.USERS_STG: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.USERS_STG"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace view "AIRBYTE_DB"._AIRBYTE_ZENDESK_SUPPORT."USERS_STG" 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > with __dbt__cte__USERS_AB1 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to parse JSON blob stored in a single column and extract into separated field columns as described by the JSON Schema 2022-04-22 10:56:35 normalization > -- depends_on: "AIRBYTE_DB".ZENDESK_SUPPORT._AIRBYTE_RAW_USERS 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"id"')) as ID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"url"')) as URL, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"name"')) as NAME, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"role"')) as ROLE, 2022-04-22 10:56:35 normalization > get_path(parse_json(_airbyte_data), '"tags"') as TAGS, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"alias"')) as ALIAS, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"email"')) as EMAIL, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"notes"')) as NOTES, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"phone"')) as PHONE, 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > get_path(parse_json(table_alias._airbyte_data), '"photo"') 2022-04-22 10:56:35 normalization > as PHOTO, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"active"')) as ACTIVE, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"locale"')) as LOCALE, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"shared"')) as SHARED, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"details"')) as DETAILS, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"verified"')) as VERIFIED, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"chat_only"')) as CHAT_ONLY, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"locale_id"')) as LOCALE_ID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"moderator"')) as MODERATOR, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"role_type"')) as ROLE_TYPE, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"signature"')) as SIGNATURE, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"suspended"')) as SUSPENDED, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"time_zone"')) as TIME_ZONE, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"created_at"')) as CREATED_AT, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"report_csv"')) as REPORT_CSV, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"updated_at"')) as UPDATED_AT, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"external_id"')) as EXTERNAL_ID, 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > get_path(parse_json(table_alias._airbyte_data), '"user_fields"') 2022-04-22 10:56:35 normalization > as USER_FIELDS, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"shared_agent"')) as SHARED_AGENT, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"last_login_at"')) as LAST_LOGIN_AT, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"custom_role_id"')) as CUSTOM_ROLE_ID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"organization_id"')) as ORGANIZATION_ID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"default_group_id"')) as DEFAULT_GROUP_ID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"restricted_agent"')) as RESTRICTED_AGENT, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"ticket_restriction"')) as TICKET_RESTRICTION, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"permanently_deleted"')) as PERMANENTLY_DELETED, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"shared_phone_number"')) as SHARED_PHONE_NUMBER, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"only_private_comments"')) as ONLY_PRIVATE_COMMENTS, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"two_factor_auth_enabled"')) as TWO_FACTOR_AUTH_ENABLED, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT._AIRBYTE_RAW_USERS as table_alias 2022-04-22 10:56:35 normalization > -- USERS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__USERS_AB2 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to cast each column to its adequate SQL type converted from the JSON schema type 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__USERS_AB1 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > cast(ID as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as ID, 2022-04-22 10:56:35 normalization > cast(URL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as URL, 2022-04-22 10:56:35 normalization > cast(NAME as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as NAME, 2022-04-22 10:56:35 normalization > cast(ROLE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as ROLE, 2022-04-22 10:56:35 normalization > TAGS, 2022-04-22 10:56:35 normalization > cast(ALIAS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as ALIAS, 2022-04-22 10:56:35 normalization > cast(EMAIL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as EMAIL, 2022-04-22 10:56:35 normalization > cast(NOTES as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as NOTES, 2022-04-22 10:56:35 normalization > cast(PHONE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as PHONE, 2022-04-22 10:56:35 normalization > cast(PHOTO as 2022-04-22 10:56:35 normalization > variant 2022-04-22 10:56:35 normalization > ) as PHOTO, 2022-04-22 10:56:35 normalization > cast(ACTIVE as boolean) as ACTIVE, 2022-04-22 10:56:35 normalization > cast(LOCALE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as LOCALE, 2022-04-22 10:56:35 normalization > cast(SHARED as boolean) as SHARED, 2022-04-22 10:56:35 normalization > cast(DETAILS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as DETAILS, 2022-04-22 10:56:35 normalization > cast(VERIFIED as boolean) as VERIFIED, 2022-04-22 10:56:35 normalization > cast(CHAT_ONLY as boolean) as CHAT_ONLY, 2022-04-22 10:56:35 normalization > cast(LOCALE_ID as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as LOCALE_ID, 2022-04-22 10:56:35 normalization > cast(MODERATOR as boolean) as MODERATOR, 2022-04-22 10:56:35 normalization > cast(ROLE_TYPE as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as ROLE_TYPE, 2022-04-22 10:56:35 normalization > cast(SIGNATURE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as SIGNATURE, 2022-04-22 10:56:35 normalization > cast(SUSPENDED as boolean) as SUSPENDED, 2022-04-22 10:56:35 normalization > cast(TIME_ZONE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as TIME_ZONE, 2022-04-22 10:56:35 normalization > case 2022-04-22 10:56:35 normalization > when CREATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{4}' then to_timestamp_tz(CREATED_AT, 'YYYY-MM-DDTHH24:MI:SSTZHTZM') 2022-04-22 10:56:35 normalization > when CREATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{2}' then to_timestamp_tz(CREATED_AT, 'YYYY-MM-DDTHH24:MI:SSTZH') 2022-04-22 10:56:35 normalization > when CREATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{4}' then to_timestamp_tz(CREATED_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZHTZM') 2022-04-22 10:56:35 normalization > when CREATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{2}' then to_timestamp_tz(CREATED_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZH') 2022-04-22 10:56:35 normalization > when CREATED_AT = '' then NULL 2022-04-22 10:56:35 normalization > else to_timestamp_tz(CREATED_AT) 2022-04-22 10:56:35 normalization > end as CREATED_AT 2022-04-22 10:56:35 normalization > , 2022-04-22 10:56:35 normalization > cast(REPORT_CSV as boolean) as REPORT_CSV, 2022-04-22 10:56:35 normalization > case 2022-04-22 10:56:35 normalization > when UPDATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{4}' then to_timestamp_tz(UPDATED_AT, 'YYYY-MM-DDTHH24:MI:SSTZHTZM') 2022-04-22 10:56:35 normalization > when UPDATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{2}' then to_timestamp_tz(UPDATED_AT, 'YYYY-MM-DDTHH24:MI:SSTZH') 2022-04-22 10:56:35 normalization > when UPDATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{4}' then to_timestamp_tz(UPDATED_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZHTZM') 2022-04-22 10:56:35 normalization > when UPDATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{2}' then to_timestamp_tz(UPDATED_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZH') 2022-04-22 10:56:35 normalization > when UPDATED_AT = '' then NULL 2022-04-22 10:56:35 normalization > else to_timestamp_tz(UPDATED_AT) 2022-04-22 10:56:35 normalization > end as UPDATED_AT 2022-04-22 10:56:35 normalization > , 2022-04-22 10:56:35 normalization > cast(EXTERNAL_ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as EXTERNAL_ID, 2022-04-22 10:56:35 normalization > cast(USER_FIELDS as 2022-04-22 10:56:35 normalization > variant 2022-04-22 10:56:35 normalization > ) as USER_FIELDS, 2022-04-22 10:56:35 normalization > cast(SHARED_AGENT as boolean) as SHARED_AGENT, 2022-04-22 10:56:35 normalization > case 2022-04-22 10:56:35 normalization > when LAST_LOGIN_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{4}' then to_timestamp_tz(LAST_LOGIN_AT, 'YYYY-MM-DDTHH24:MI:SSTZHTZM') 2022-04-22 10:56:35 normalization > when LAST_LOGIN_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{2}' then to_timestamp_tz(LAST_LOGIN_AT, 'YYYY-MM-DDTHH24:MI:SSTZH') 2022-04-22 10:56:35 normalization > when LAST_LOGIN_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{4}' then to_timestamp_tz(LAST_LOGIN_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZHTZM') 2022-04-22 10:56:35 normalization > when LAST_LOGIN_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{2}' then to_timestamp_tz(LAST_LOGIN_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZH') 2022-04-22 10:56:35 normalization > when LAST_LOGIN_AT = '' then NULL 2022-04-22 10:56:35 normalization > else to_timestamp_tz(LAST_LOGIN_AT) 2022-04-22 10:56:35 normalization > end as LAST_LOGIN_AT 2022-04-22 10:56:35 normalization > , 2022-04-22 10:56:35 normalization > cast(CUSTOM_ROLE_ID as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as CUSTOM_ROLE_ID, 2022-04-22 10:56:35 normalization > cast(ORGANIZATION_ID as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as ORGANIZATION_ID, 2022-04-22 10:56:35 normalization > cast(DEFAULT_GROUP_ID as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as DEFAULT_GROUP_ID, 2022-04-22 10:56:35 normalization > cast(RESTRICTED_AGENT as boolean) as RESTRICTED_AGENT, 2022-04-22 10:56:35 normalization > cast(TICKET_RESTRICTION as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as TICKET_RESTRICTION, 2022-04-22 10:56:35 normalization > cast(PERMANENTLY_DELETED as boolean) as PERMANENTLY_DELETED, 2022-04-22 10:56:35 normalization > cast(SHARED_PHONE_NUMBER as boolean) as SHARED_PHONE_NUMBER, 2022-04-22 10:56:35 normalization > cast(ONLY_PRIVATE_COMMENTS as boolean) as ONLY_PRIVATE_COMMENTS, 2022-04-22 10:56:35 normalization > cast(TWO_FACTOR_AUTH_ENABLED as boolean) as TWO_FACTOR_AUTH_ENABLED, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from __dbt__cte__USERS_AB1 2022-04-22 10:56:35 normalization > -- USERS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > )-- SQL model to build a hash column based on the values of this record 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__USERS_AB2 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(URL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(NAME as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(ROLE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(TAGS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(ALIAS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(EMAIL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(NOTES as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(PHONE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(PHOTO as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(ACTIVE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(LOCALE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(SHARED as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(DETAILS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(VERIFIED as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(CHAT_ONLY as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(LOCALE_ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(MODERATOR as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(ROLE_TYPE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(SIGNATURE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(SUSPENDED as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(TIME_ZONE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(CREATED_AT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(REPORT_CSV as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(UPDATED_AT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(EXTERNAL_ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(USER_FIELDS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(SHARED_AGENT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(LAST_LOGIN_AT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(CUSTOM_ROLE_ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(ORGANIZATION_ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(DEFAULT_GROUP_ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(RESTRICTED_AGENT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(TICKET_RESTRICTION as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(PERMANENTLY_DELETED as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(SHARED_PHONE_NUMBER as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(ONLY_PRIVATE_COMMENTS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(TWO_FACTOR_AUTH_ENABLED as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_USERS_HASHID, 2022-04-22 10:56:35 normalization > tmp.* 2022-04-22 10:56:35 normalization > from __dbt__cte__USERS_AB2 tmp 2022-04-22 10:56:35 normalization > -- USERS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:55:20.188170 [debug] [Thread-2 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:55:20.191463 [debug] [Thread-4 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:20.194148 [debug] [Thread-4 ]: Began executing node model.airbyte_utils.SCHEDULES 2022-04-22 10:56:35 normalization > 10:55:20.231261 [debug] [Thread-4 ]: Writing runtime SQL for node "model.airbyte_utils.SCHEDULES" 2022-04-22 10:56:35 normalization > 10:55:20.236804 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.SCHEDULES" 2022-04-22 10:56:35 normalization > 10:55:20.237864 [debug] [Thread-4 ]: On model.airbyte_utils.SCHEDULES: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.SCHEDULES"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace table "AIRBYTE_DB".ZENDESK_SUPPORT."SCHEDULES" as 2022-04-22 10:56:35 normalization > (select * from( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > with __dbt__cte__SCHEDULES_AB1 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to parse JSON blob stored in a single column and extract into separated field columns as described by the JSON Schema 2022-04-22 10:56:35 normalization > -- depends_on: "AIRBYTE_DB".ZENDESK_SUPPORT._AIRBYTE_RAW_SCHEDULES 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"id"')) as ID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"name"')) as NAME, 2022-04-22 10:56:35 normalization > get_path(parse_json(_airbyte_data), '"intervals"') as INTERVALS, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"time_zone"')) as TIME_ZONE, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"created_at"')) as CREATED_AT, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"updated_at"')) as UPDATED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT._AIRBYTE_RAW_SCHEDULES as table_alias 2022-04-22 10:56:35 normalization > -- SCHEDULES 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > ), __dbt__cte__SCHEDULES_AB2 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to cast each column to its adequate SQL type converted from the JSON schema type 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__SCHEDULES_AB1 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > cast(ID as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as ID, 2022-04-22 10:56:35 normalization > cast(NAME as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as NAME, 2022-04-22 10:56:35 normalization > INTERVALS, 2022-04-22 10:56:35 normalization > cast(TIME_ZONE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as TIME_ZONE, 2022-04-22 10:56:35 normalization > case 2022-04-22 10:56:35 normalization > when CREATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{4}' then to_timestamp_tz(CREATED_AT, 'YYYY-MM-DDTHH24:MI:SSTZHTZM') 2022-04-22 10:56:35 normalization > when CREATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{2}' then to_timestamp_tz(CREATED_AT, 'YYYY-MM-DDTHH24:MI:SSTZH') 2022-04-22 10:56:35 normalization > when CREATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{4}' then to_timestamp_tz(CREATED_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZHTZM') 2022-04-22 10:56:35 normalization > when CREATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{2}' then to_timestamp_tz(CREATED_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZH') 2022-04-22 10:56:35 normalization > when CREATED_AT = '' then NULL 2022-04-22 10:56:35 normalization > else to_timestamp_tz(CREATED_AT) 2022-04-22 10:56:35 normalization > end as CREATED_AT 2022-04-22 10:56:35 normalization > , 2022-04-22 10:56:35 normalization > case 2022-04-22 10:56:35 normalization > when UPDATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{4}' then to_timestamp_tz(UPDATED_AT, 'YYYY-MM-DDTHH24:MI:SSTZHTZM') 2022-04-22 10:56:35 normalization > when UPDATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{2}' then to_timestamp_tz(UPDATED_AT, 'YYYY-MM-DDTHH24:MI:SSTZH') 2022-04-22 10:56:35 normalization > when UPDATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{4}' then to_timestamp_tz(UPDATED_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZHTZM') 2022-04-22 10:56:35 normalization > when UPDATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{2}' then to_timestamp_tz(UPDATED_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZH') 2022-04-22 10:56:35 normalization > when UPDATED_AT = '' then NULL 2022-04-22 10:56:35 normalization > else to_timestamp_tz(UPDATED_AT) 2022-04-22 10:56:35 normalization > end as UPDATED_AT 2022-04-22 10:56:35 normalization > , 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from __dbt__cte__SCHEDULES_AB1 2022-04-22 10:56:35 normalization > -- SCHEDULES 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > ), __dbt__cte__SCHEDULES_AB3 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to build a hash column based on the values of this record 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__SCHEDULES_AB2 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(NAME as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(INTERVALS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(TIME_ZONE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(CREATED_AT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(UPDATED_AT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_SCHEDULES_HASHID, 2022-04-22 10:56:35 normalization > tmp.* 2022-04-22 10:56:35 normalization > from __dbt__cte__SCHEDULES_AB2 tmp 2022-04-22 10:56:35 normalization > -- SCHEDULES 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > )-- Final base SQL model 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__SCHEDULES_AB3 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > ID, 2022-04-22 10:56:35 normalization > NAME, 2022-04-22 10:56:35 normalization > INTERVALS, 2022-04-22 10:56:35 normalization > TIME_ZONE, 2022-04-22 10:56:35 normalization > CREATED_AT, 2022-04-22 10:56:35 normalization > UPDATED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_SCHEDULES_HASHID 2022-04-22 10:56:35 normalization > from __dbt__cte__SCHEDULES_AB3 2022-04-22 10:56:35 normalization > -- SCHEDULES from "AIRBYTE_DB".ZENDESK_SUPPORT._AIRBYTE_RAW_SCHEDULES 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > ) order by (_AIRBYTE_EMITTED_AT) 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:55:20.238184 [debug] [Thread-4 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:55:21.533808 [debug] [Thread-5 ]: SQL status: SUCCESS 1 in 1.85 seconds 2022-04-22 10:56:35 normalization > 10:55:21.537287 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:21.537546 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_METRICS_STG: Close 2022-04-22 10:56:35 normalization > 10:55:21.628605 [debug] [Thread-1 ]: SQL status: SUCCESS 15 in 1.49 seconds 2022-04-22 10:56:35 normalization > 10:55:21.639975 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.GROUPS_SCD" 2022-04-22 10:56:35 normalization > 10:55:21.640234 [debug] [Thread-1 ]: On model.airbyte_utils.GROUPS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.GROUPS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."GROUPS_SCD" 2022-04-22 10:56:35 normalization > 10:55:21.649608 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 1.92 seconds 2022-04-22 10:56:35 normalization > 10:55:21.652867 [debug] [Thread-3 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:21.653131 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_METRIC_EVENTS_STG: Close 2022-04-22 10:56:35 normalization > 10:55:21.711710 [debug] [Thread-1 ]: SQL status: SUCCESS 15 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:55:21.727292 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.GROUPS_SCD" 2022-04-22 10:56:35 normalization > 10:55:21.727544 [debug] [Thread-1 ]: On model.airbyte_utils.GROUPS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.GROUPS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."GROUPS_SCD" 2022-04-22 10:56:35 normalization > 10:55:21.776574 [info ] [Thread-5 ]: 11 of 95 OK created view model _AIRBYTE_ZENDESK_SUPPORT.TICKET_METRICS_STG.............................................. [SUCCESS 1 in 2.19s] 2022-04-22 10:56:35 normalization > 10:55:21.777106 [debug] [Thread-5 ]: Finished running node model.airbyte_utils.TICKET_METRICS_STG 2022-04-22 10:56:35 normalization > 10:55:21.777361 [debug] [Thread-5 ]: Began running node model.airbyte_utils.SLA_POLICIES 2022-04-22 10:56:35 normalization > 10:55:21.778071 [info ] [Thread-5 ]: 16 of 95 START table model ZENDESK_SUPPORT.SLA_POLICIES................................................................. [RUN] 2022-04-22 10:56:35 normalization > 10:55:21.778733 [debug] [Thread-5 ]: Acquiring new snowflake connection "model.airbyte_utils.SLA_POLICIES" 2022-04-22 10:56:35 normalization > 10:55:21.779110 [debug] [Thread-5 ]: Began compiling node model.airbyte_utils.SLA_POLICIES 2022-04-22 10:56:35 normalization > 10:55:21.779261 [debug] [Thread-5 ]: Compiling model.airbyte_utils.SLA_POLICIES 2022-04-22 10:56:35 normalization > 10:55:21.789631 [debug] [Thread-5 ]: Writing injected SQL for node "model.airbyte_utils.SLA_POLICIES" 2022-04-22 10:56:35 normalization > 10:55:21.789993 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:21.790135 [debug] [Thread-5 ]: Began executing node model.airbyte_utils.SLA_POLICIES 2022-04-22 10:56:35 normalization > 10:55:21.797781 [debug] [Thread-5 ]: Writing runtime SQL for node "model.airbyte_utils.SLA_POLICIES" 2022-04-22 10:56:35 normalization > 10:55:21.799146 [debug] [Thread-1 ]: SQL status: SUCCESS 15 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:55:21.804092 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.GROUPS_SCD" 2022-04-22 10:56:35 normalization > 10:55:21.804365 [debug] [Thread-1 ]: On model.airbyte_utils.GROUPS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.GROUPS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."GROUPS_SCD" 2022-04-22 10:56:35 normalization > 10:55:21.808962 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.SLA_POLICIES" 2022-04-22 10:56:35 normalization > 10:55:21.810145 [debug] [Thread-5 ]: On model.airbyte_utils.SLA_POLICIES: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.SLA_POLICIES"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace table "AIRBYTE_DB".ZENDESK_SUPPORT."SLA_POLICIES" as 2022-04-22 10:56:35 normalization > (select * from( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > with __dbt__cte__SLA_POLICIES_AB1 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to parse JSON blob stored in a single column and extract into separated field columns as described by the JSON Schema 2022-04-22 10:56:35 normalization > -- depends_on: "AIRBYTE_DB".ZENDESK_SUPPORT._AIRBYTE_RAW_SLA_POLICIES 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"id"')) as ID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"url"')) as URL, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"title"')) as TITLE, 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > get_path(parse_json(table_alias._airbyte_data), '"filter"') 2022-04-22 10:56:35 normalization > as FILTER, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"position"')) as POSITION, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"created_at"')) as CREATED_AT, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"updated_at"')) as UPDATED_AT, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"description"')) as DESCRIPTION, 2022-04-22 10:56:35 normalization > get_path(parse_json(_airbyte_data), '"policy_metrics"') as POLICY_METRICS, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT._AIRBYTE_RAW_SLA_POLICIES as table_alias 2022-04-22 10:56:35 normalization > -- SLA_POLICIES 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > ), __dbt__cte__SLA_POLICIES_AB2 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to cast each column to its adequate SQL type converted from the JSON schema type 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__SLA_POLICIES_AB1 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > cast(ID as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as ID, 2022-04-22 10:56:35 normalization > cast(URL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as URL, 2022-04-22 10:56:35 normalization > cast(TITLE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as TITLE, 2022-04-22 10:56:35 normalization > cast(FILTER as 2022-04-22 10:56:35 normalization > variant 2022-04-22 10:56:35 normalization > ) as FILTER, 2022-04-22 10:56:35 normalization > cast(POSITION as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as POSITION, 2022-04-22 10:56:35 normalization > case 2022-04-22 10:56:35 normalization > when CREATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{4}' then to_timestamp_tz(CREATED_AT, 'YYYY-MM-DDTHH24:MI:SSTZHTZM') 2022-04-22 10:56:35 normalization > when CREATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{2}' then to_timestamp_tz(CREATED_AT, 'YYYY-MM-DDTHH24:MI:SSTZH') 2022-04-22 10:56:35 normalization > when CREATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{4}' then to_timestamp_tz(CREATED_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZHTZM') 2022-04-22 10:56:35 normalization > when CREATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{2}' then to_timestamp_tz(CREATED_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZH') 2022-04-22 10:56:35 normalization > when CREATED_AT = '' then NULL 2022-04-22 10:56:35 normalization > else to_timestamp_tz(CREATED_AT) 2022-04-22 10:56:35 normalization > end as CREATED_AT 2022-04-22 10:56:35 normalization > , 2022-04-22 10:56:35 normalization > case 2022-04-22 10:56:35 normalization > when UPDATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{4}' then to_timestamp_tz(UPDATED_AT, 'YYYY-MM-DDTHH24:MI:SSTZHTZM') 2022-04-22 10:56:35 normalization > when UPDATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{2}' then to_timestamp_tz(UPDATED_AT, 'YYYY-MM-DDTHH24:MI:SSTZH') 2022-04-22 10:56:35 normalization > when UPDATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{4}' then to_timestamp_tz(UPDATED_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZHTZM') 2022-04-22 10:56:35 normalization > when UPDATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{2}' then to_timestamp_tz(UPDATED_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZH') 2022-04-22 10:56:35 normalization > when UPDATED_AT = '' then NULL 2022-04-22 10:56:35 normalization > else to_timestamp_tz(UPDATED_AT) 2022-04-22 10:56:35 normalization > end as UPDATED_AT 2022-04-22 10:56:35 normalization > , 2022-04-22 10:56:35 normalization > cast(DESCRIPTION as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as DESCRIPTION, 2022-04-22 10:56:35 normalization > POLICY_METRICS, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from __dbt__cte__SLA_POLICIES_AB1 2022-04-22 10:56:35 normalization > -- SLA_POLICIES 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > ), __dbt__cte__SLA_POLICIES_AB3 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to build a hash column based on the values of this record 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__SLA_POLICIES_AB2 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(URL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(TITLE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(FILTER as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(POSITION as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(CREATED_AT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(UPDATED_AT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(DESCRIPTION as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(POLICY_METRICS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_SLA_POLICIES_HASHID, 2022-04-22 10:56:35 normalization > tmp.* 2022-04-22 10:56:35 normalization > from __dbt__cte__SLA_POLICIES_AB2 tmp 2022-04-22 10:56:35 normalization > -- SLA_POLICIES 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > )-- Final base SQL model 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__SLA_POLICIES_AB3 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > ID, 2022-04-22 10:56:35 normalization > URL, 2022-04-22 10:56:35 normalization > TITLE, 2022-04-22 10:56:35 normalization > FILTER, 2022-04-22 10:56:35 normalization > POSITION, 2022-04-22 10:56:35 normalization > CREATED_AT, 2022-04-22 10:56:35 normalization > UPDATED_AT, 2022-04-22 10:56:35 normalization > DESCRIPTION, 2022-04-22 10:56:35 normalization > POLICY_METRICS, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_SLA_POLICIES_HASHID 2022-04-22 10:56:35 normalization > from __dbt__cte__SLA_POLICIES_AB3 2022-04-22 10:56:35 normalization > -- SLA_POLICIES from "AIRBYTE_DB".ZENDESK_SUPPORT._AIRBYTE_RAW_SLA_POLICIES 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > ) order by (_AIRBYTE_EMITTED_AT) 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:55:21.810744 [debug] [Thread-5 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:55:21.930657 [info ] [Thread-3 ]: 12 of 95 OK created view model _AIRBYTE_ZENDESK_SUPPORT.TICKET_METRIC_EVENTS_STG........................................ [SUCCESS 1 in 2.24s] 2022-04-22 10:56:35 normalization > 10:55:21.951968 [debug] [Thread-3 ]: Finished running node model.airbyte_utils.TICKET_METRIC_EVENTS_STG 2022-04-22 10:56:35 normalization > 10:55:21.953879 [debug] [Thread-3 ]: Began running node model.airbyte_utils.TAGS 2022-04-22 10:56:35 normalization > 10:55:21.954536 [info ] [Thread-3 ]: 17 of 95 START table model ZENDESK_SUPPORT.TAGS......................................................................... [RUN] 2022-04-22 10:56:35 normalization > 10:55:21.955936 [debug] [Thread-3 ]: Acquiring new snowflake connection "model.airbyte_utils.TAGS" 2022-04-22 10:56:35 normalization > 10:55:21.956205 [debug] [Thread-3 ]: Began compiling node model.airbyte_utils.TAGS 2022-04-22 10:56:35 normalization > 10:55:21.956415 [debug] [Thread-3 ]: Compiling model.airbyte_utils.TAGS 2022-04-22 10:56:35 normalization > 10:55:21.974501 [debug] [Thread-3 ]: Writing injected SQL for node "model.airbyte_utils.TAGS" 2022-04-22 10:56:35 normalization > 10:55:21.979527 [debug] [Thread-3 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:21.979784 [debug] [Thread-3 ]: Began executing node model.airbyte_utils.TAGS 2022-04-22 10:56:35 normalization > 10:55:21.987712 [debug] [Thread-3 ]: Writing runtime SQL for node "model.airbyte_utils.TAGS" 2022-04-22 10:56:35 normalization > 10:55:21.990117 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TAGS" 2022-04-22 10:56:35 normalization > 10:55:21.990325 [debug] [Thread-3 ]: On model.airbyte_utils.TAGS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TAGS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace table "AIRBYTE_DB".ZENDESK_SUPPORT."TAGS" as 2022-04-22 10:56:35 normalization > (select * from( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > with __dbt__cte__TAGS_AB1 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to parse JSON blob stored in a single column and extract into separated field columns as described by the JSON Schema 2022-04-22 10:56:35 normalization > -- depends_on: "AIRBYTE_DB".ZENDESK_SUPPORT._AIRBYTE_RAW_TAGS 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"name"')) as NAME, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(_airbyte_data), '"count"')) as COUNT, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT._AIRBYTE_RAW_TAGS as table_alias 2022-04-22 10:56:35 normalization > -- TAGS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > ), __dbt__cte__TAGS_AB2 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to cast each column to its adequate SQL type converted from the JSON schema type 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TAGS_AB1 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > cast(NAME as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as NAME, 2022-04-22 10:56:35 normalization > cast(COUNT as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as COUNT, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from __dbt__cte__TAGS_AB1 2022-04-22 10:56:35 normalization > -- TAGS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > ), __dbt__cte__TAGS_AB3 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to build a hash column based on the values of this record 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TAGS_AB2 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(NAME as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(COUNT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_TAGS_HASHID, 2022-04-22 10:56:35 normalization > tmp.* 2022-04-22 10:56:35 normalization > from __dbt__cte__TAGS_AB2 tmp 2022-04-22 10:56:35 normalization > -- TAGS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > )-- Final base SQL model 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TAGS_AB3 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > NAME, 2022-04-22 10:56:35 normalization > COUNT, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_TAGS_HASHID 2022-04-22 10:56:35 normalization > from __dbt__cte__TAGS_AB3 2022-04-22 10:56:35 normalization > -- TAGS from "AIRBYTE_DB".ZENDESK_SUPPORT._AIRBYTE_RAW_TAGS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > ) order by (_AIRBYTE_EMITTED_AT) 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:55:21.990457 [debug] [Thread-3 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:55:22.097851 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 1.91 seconds 2022-04-22 10:56:35 normalization > 10:55:22.141133 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:22.141635 [debug] [Thread-2 ]: On model.airbyte_utils.USERS_STG: Close 2022-04-22 10:56:35 normalization > 10:55:22.181043 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 0.38 seconds 2022-04-22 10:56:35 normalization > 10:55:22.191299 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.GROUPS_SCD" 2022-04-22 10:56:35 normalization > 10:55:22.192777 [debug] [Thread-1 ]: On model.airbyte_utils.GROUPS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.GROUPS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."GROUPS_SCD" 2022-04-22 10:56:35 normalization > 10:55:22.272486 [info ] [Thread-2 ]: 13 of 95 OK created view model _AIRBYTE_ZENDESK_SUPPORT.USERS_STG....................................................... [SUCCESS 1 in 2.54s] 2022-04-22 10:56:35 normalization > 10:55:22.273022 [debug] [Thread-2 ]: Finished running node model.airbyte_utils.USERS_STG 2022-04-22 10:56:35 normalization > 10:55:22.273310 [debug] [Thread-2 ]: Began running node model.airbyte_utils.GROUP_MEMBERSHIPS_SCD 2022-04-22 10:56:35 normalization > 10:55:22.273999 [info ] [Thread-2 ]: 18 of 95 START incremental model ZENDESK_SUPPORT.GROUP_MEMBERSHIPS_SCD.................................................. [RUN] 2022-04-22 10:56:35 normalization > 10:55:22.274802 [debug] [Thread-2 ]: Acquiring new snowflake connection "model.airbyte_utils.GROUP_MEMBERSHIPS_SCD" 2022-04-22 10:56:35 normalization > 10:55:22.275002 [debug] [Thread-2 ]: Began compiling node model.airbyte_utils.GROUP_MEMBERSHIPS_SCD 2022-04-22 10:56:35 normalization > 10:55:22.275140 [debug] [Thread-2 ]: Compiling model.airbyte_utils.GROUP_MEMBERSHIPS_SCD 2022-04-22 10:56:35 normalization > 10:55:22.293232 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.GROUP_MEMBERSHIPS_SCD" 2022-04-22 10:56:35 normalization > 10:55:22.294196 [debug] [Thread-1 ]: SQL status: SUCCESS 15 in 0.1 seconds 2022-04-22 10:56:35 normalization > 10:55:22.294611 [debug] [Thread-2 ]: On model.airbyte_utils.GROUP_MEMBERSHIPS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.GROUP_MEMBERSHIPS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."GROUP_MEMBERSHIPS_SCD" 2022-04-22 10:56:35 normalization > 10:55:22.298403 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.GROUPS_SCD" 2022-04-22 10:56:35 normalization > 10:55:22.298628 [debug] [Thread-2 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:55:22.298804 [debug] [Thread-1 ]: On model.airbyte_utils.GROUPS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.GROUPS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."GROUPS_SCD" 2022-04-22 10:56:35 normalization > 10:55:22.444027 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 0.14 seconds 2022-04-22 10:56:35 normalization > 10:55:22.474989 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.GROUPS_SCD" 2022-04-22 10:56:35 normalization > 10:55:22.484025 [debug] [Thread-1 ]: On model.airbyte_utils.GROUPS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.GROUPS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"._AIRBYTE_ZENDESK_SUPPORT."GROUPS_STG" 2022-04-22 10:56:35 normalization > 10:55:22.530105 [debug] [Thread-4 ]: SQL status: SUCCESS 1 in 2.29 seconds 2022-04-22 10:56:35 normalization > 10:55:22.530597 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.SCHEDULES" 2022-04-22 10:56:35 normalization > 10:55:22.533250 [debug] [Thread-4 ]: On model.airbyte_utils.SCHEDULES: alter table "AIRBYTE_DB".ZENDESK_SUPPORT."SCHEDULES" cluster by (_AIRBYTE_EMITTED_AT); 2022-04-22 10:56:35 normalization > 10:55:22.589744 [debug] [Thread-1 ]: SQL status: SUCCESS 10 in 0.11 seconds 2022-04-22 10:56:35 normalization > 10:55:22.596058 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.GROUPS_SCD" 2022-04-22 10:56:35 normalization > 10:55:22.596285 [debug] [Thread-1 ]: On model.airbyte_utils.GROUPS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.GROUPS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."GROUPS_SCD" 2022-04-22 10:56:35 normalization > 10:55:22.703000 [debug] [Thread-1 ]: SQL status: SUCCESS 15 in 0.11 seconds 2022-04-22 10:56:35 normalization > 10:55:22.724221 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.GROUPS_SCD" 2022-04-22 10:56:35 normalization > 10:55:22.724487 [debug] [Thread-1 ]: On model.airbyte_utils.GROUPS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.GROUPS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"._AIRBYTE_ZENDESK_SUPPORT."GROUPS_STG" 2022-04-22 10:56:35 normalization > 10:55:22.727758 [debug] [Thread-4 ]: SQL status: SUCCESS 1 in 0.19 seconds 2022-04-22 10:56:35 normalization > 10:55:22.734487 [debug] [Thread-4 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:22.734732 [debug] [Thread-4 ]: On model.airbyte_utils.SCHEDULES: Close 2022-04-22 10:56:35 normalization > 10:55:22.798353 [debug] [Thread-1 ]: SQL status: SUCCESS 10 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:55:22.806138 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.GROUPS_SCD" 2022-04-22 10:56:35 normalization > 10:55:22.806340 [debug] [Thread-1 ]: On model.airbyte_utils.GROUPS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.GROUPS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"._AIRBYTE_ZENDESK_SUPPORT."GROUPS_STG" 2022-04-22 10:56:35 normalization > 10:55:22.887053 [info ] [Thread-4 ]: 15 of 95 OK created table model ZENDESK_SUPPORT.SCHEDULES............................................................... [SUCCESS 1 in 2.89s] 2022-04-22 10:56:35 normalization > 10:55:22.887644 [debug] [Thread-4 ]: Finished running node model.airbyte_utils.SCHEDULES 2022-04-22 10:56:35 normalization > 10:55:22.888964 [debug] [Thread-1 ]: SQL status: SUCCESS 10 in 0.08 seconds 2022-04-22 10:56:35 normalization > 10:55:22.889294 [debug] [Thread-4 ]: Began running node model.airbyte_utils.SATISFACTION_RATINGS_SCD 2022-04-22 10:56:35 normalization > 10:55:22.892738 [info ] [Thread-4 ]: 19 of 95 START incremental model ZENDESK_SUPPORT.SATISFACTION_RATINGS_SCD............................................... [RUN] 2022-04-22 10:56:35 normalization > 10:55:22.893671 [debug] [Thread-4 ]: Acquiring new snowflake connection "model.airbyte_utils.SATISFACTION_RATINGS_SCD" 2022-04-22 10:56:35 normalization > 10:55:22.894152 [debug] [Thread-4 ]: Began compiling node model.airbyte_utils.SATISFACTION_RATINGS_SCD 2022-04-22 10:56:35 normalization > 10:55:22.894517 [debug] [Thread-4 ]: Compiling model.airbyte_utils.SATISFACTION_RATINGS_SCD 2022-04-22 10:56:35 normalization > 10:55:22.912346 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.SATISFACTION_RATINGS_SCD" 2022-04-22 10:56:35 normalization > 10:55:22.912784 [debug] [Thread-4 ]: On model.airbyte_utils.SATISFACTION_RATINGS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.SATISFACTION_RATINGS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."SATISFACTION_RATINGS_SCD" 2022-04-22 10:56:35 normalization > 10:55:22.913329 [debug] [Thread-4 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:55:22.921131 [debug] [Thread-1 ]: Writing injected SQL for node "model.airbyte_utils.GROUPS_SCD" 2022-04-22 10:56:35 normalization > 10:55:22.922093 [debug] [Thread-1 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:22.922398 [debug] [Thread-1 ]: Began executing node model.airbyte_utils.GROUPS_SCD 2022-04-22 10:56:35 normalization > 10:55:22.940104 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.GROUPS_SCD" 2022-04-22 10:56:35 normalization > 10:55:22.940465 [debug] [Thread-1 ]: On model.airbyte_utils.GROUPS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.GROUPS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."GROUPS_SCD" 2022-04-22 10:56:35 normalization > 10:55:23.030517 [debug] [Thread-1 ]: SQL status: SUCCESS 15 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:55:23.092620 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.GROUPS_SCD" 2022-04-22 10:56:35 normalization > 10:55:23.103205 [debug] [Thread-1 ]: On model.airbyte_utils.GROUPS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.GROUPS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace temporary table "AIRBYTE_DB".ZENDESK_SUPPORT."GROUPS_SCD__dbt_tmp" as 2022-04-22 10:56:35 normalization > (select * from( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- depends_on: ref('GROUPS_STG') 2022-04-22 10:56:35 normalization > with 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > new_data as ( 2022-04-22 10:56:35 normalization > -- retrieve incremental "new" data 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > * 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB"._AIRBYTE_ZENDESK_SUPPORT."GROUPS_STG" 2022-04-22 10:56:35 normalization > -- GROUPS from "AIRBYTE_DB".ZENDESK_SUPPORT._AIRBYTE_RAW_GROUPS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > and cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) >= 2022-04-22 10:56:35 normalization > cast('2022-04-19 22:53:32.941000-07:00' as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > new_data_ids as ( 2022-04-22 10:56:35 normalization > -- build a subset of _AIRBYTE_UNIQUE_KEY from rows that are new 2022-04-22 10:56:35 normalization > select distinct 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_UNIQUE_KEY 2022-04-22 10:56:35 normalization > from new_data 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > empty_new_data as ( 2022-04-22 10:56:35 normalization > -- build an empty table to only keep the table's column types 2022-04-22 10:56:35 normalization > select * from new_data where 1 = 0 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > previous_active_scd_data as ( 2022-04-22 10:56:35 normalization > -- retrieve "incomplete old" data that needs to be updated with an end date because of new changes 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > this_data."_AIRBYTE_GROUPS_HASHID", 2022-04-22 10:56:35 normalization > this_data."ID", 2022-04-22 10:56:35 normalization > this_data."URL", 2022-04-22 10:56:35 normalization > this_data."NAME", 2022-04-22 10:56:35 normalization > this_data."DELETED", 2022-04-22 10:56:35 normalization > this_data."CREATED_AT", 2022-04-22 10:56:35 normalization > this_data."UPDATED_AT", 2022-04-22 10:56:35 normalization > this_data."_AIRBYTE_AB_ID", 2022-04-22 10:56:35 normalization > this_data."_AIRBYTE_EMITTED_AT", 2022-04-22 10:56:35 normalization > this_data."_AIRBYTE_NORMALIZED_AT" 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."GROUPS_SCD" as this_data 2022-04-22 10:56:35 normalization > -- make a join with new_data using primary key to filter active data that need to be updated only 2022-04-22 10:56:35 normalization > join new_data_ids on this_data._AIRBYTE_UNIQUE_KEY = new_data_ids._AIRBYTE_UNIQUE_KEY 2022-04-22 10:56:35 normalization > -- force left join to NULL values (we just need to transfer column types only for the star_intersect macro on schema changes) 2022-04-22 10:56:35 normalization > left join empty_new_data as inc_data on this_data._AIRBYTE_AB_ID = inc_data._AIRBYTE_AB_ID 2022-04-22 10:56:35 normalization > where _AIRBYTE_ACTIVE_ROW = 1 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > input_data as ( 2022-04-22 10:56:35 normalization > select "_AIRBYTE_GROUPS_HASHID", 2022-04-22 10:56:35 normalization > "ID", 2022-04-22 10:56:35 normalization > "URL", 2022-04-22 10:56:35 normalization > "NAME", 2022-04-22 10:56:35 normalization > "DELETED", 2022-04-22 10:56:35 normalization > "CREATED_AT", 2022-04-22 10:56:35 normalization > "UPDATED_AT", 2022-04-22 10:56:35 normalization > "_AIRBYTE_AB_ID", 2022-04-22 10:56:35 normalization > "_AIRBYTE_EMITTED_AT", 2022-04-22 10:56:35 normalization > "_AIRBYTE_NORMALIZED_AT" from new_data 2022-04-22 10:56:35 normalization > union all 2022-04-22 10:56:35 normalization > select "_AIRBYTE_GROUPS_HASHID", 2022-04-22 10:56:35 normalization > "ID", 2022-04-22 10:56:35 normalization > "URL", 2022-04-22 10:56:35 normalization > "NAME", 2022-04-22 10:56:35 normalization > "DELETED", 2022-04-22 10:56:35 normalization > "CREATED_AT", 2022-04-22 10:56:35 normalization > "UPDATED_AT", 2022-04-22 10:56:35 normalization > "_AIRBYTE_AB_ID", 2022-04-22 10:56:35 normalization > "_AIRBYTE_EMITTED_AT", 2022-04-22 10:56:35 normalization > "_AIRBYTE_NORMALIZED_AT" from previous_active_scd_data 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > scd_data as ( 2022-04-22 10:56:35 normalization > -- SQL model to build a Type 2 Slowly Changing Dimension (SCD) table for each record identified by their primary key 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_UNIQUE_KEY, 2022-04-22 10:56:35 normalization > ID, 2022-04-22 10:56:35 normalization > URL, 2022-04-22 10:56:35 normalization > NAME, 2022-04-22 10:56:35 normalization > DELETED, 2022-04-22 10:56:35 normalization > CREATED_AT, 2022-04-22 10:56:35 normalization > UPDATED_AT, 2022-04-22 10:56:35 normalization > UPDATED_AT as _AIRBYTE_START_AT, 2022-04-22 10:56:35 normalization > lag(UPDATED_AT) over ( 2022-04-22 10:56:35 normalization > partition by ID 2022-04-22 10:56:35 normalization > order by 2022-04-22 10:56:35 normalization > UPDATED_AT is null asc, 2022-04-22 10:56:35 normalization > UPDATED_AT desc, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT desc 2022-04-22 10:56:35 normalization > ) as _AIRBYTE_END_AT, 2022-04-22 10:56:35 normalization > case when row_number() over ( 2022-04-22 10:56:35 normalization > partition by ID 2022-04-22 10:56:35 normalization > order by 2022-04-22 10:56:35 normalization > UPDATED_AT is null asc, 2022-04-22 10:56:35 normalization > UPDATED_AT desc, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT desc 2022-04-22 10:56:35 normalization > ) = 1 then 1 else 0 end as _AIRBYTE_ACTIVE_ROW, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_GROUPS_HASHID 2022-04-22 10:56:35 normalization > from input_data 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > dedup_data as ( 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > -- we need to ensure de-duplicated rows for merge/update queries 2022-04-22 10:56:35 normalization > -- additionally, we generate a unique key for the scd table 2022-04-22 10:56:35 normalization > row_number() over ( 2022-04-22 10:56:35 normalization > partition by 2022-04-22 10:56:35 normalization > _AIRBYTE_UNIQUE_KEY, 2022-04-22 10:56:35 normalization > _AIRBYTE_START_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT 2022-04-22 10:56:35 normalization > order by _AIRBYTE_ACTIVE_ROW desc, _AIRBYTE_AB_ID 2022-04-22 10:56:35 normalization > ) as _AIRBYTE_ROW_NUM, 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(_AIRBYTE_UNIQUE_KEY as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(_AIRBYTE_START_AT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_UNIQUE_KEY_SCD, 2022-04-22 10:56:35 normalization > scd_data.* 2022-04-22 10:56:35 normalization > from scd_data 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_UNIQUE_KEY, 2022-04-22 10:56:35 normalization > _AIRBYTE_UNIQUE_KEY_SCD, 2022-04-22 10:56:35 normalization > ID, 2022-04-22 10:56:35 normalization > URL, 2022-04-22 10:56:35 normalization > NAME, 2022-04-22 10:56:35 normalization > DELETED, 2022-04-22 10:56:35 normalization > CREATED_AT, 2022-04-22 10:56:35 normalization > UPDATED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_START_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_END_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_ACTIVE_ROW, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_GROUPS_HASHID 2022-04-22 10:56:35 normalization > from dedup_data where _AIRBYTE_ROW_NUM = 1 2022-04-22 10:56:35 normalization > ) order by (_AIRBYTE_ACTIVE_ROW, _AIRBYTE_UNIQUE_KEY_SCD, _AIRBYTE_EMITTED_AT) 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:55:23.336629 [debug] [Thread-2 ]: SQL status: SUCCESS 16 in 1.04 seconds 2022-04-22 10:56:35 normalization > 10:55:23.348469 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.GROUP_MEMBERSHIPS_SCD" 2022-04-22 10:56:35 normalization > 10:55:23.350403 [debug] [Thread-2 ]: On model.airbyte_utils.GROUP_MEMBERSHIPS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.GROUP_MEMBERSHIPS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."GROUP_MEMBERSHIPS_SCD" 2022-04-22 10:56:35 normalization > 10:55:23.483795 [debug] [Thread-4 ]: SQL status: SUCCESS 21 in 0.57 seconds 2022-04-22 10:56:35 normalization > 10:55:23.495606 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.SATISFACTION_RATINGS_SCD" 2022-04-22 10:56:35 normalization > 10:55:23.496291 [debug] [Thread-2 ]: SQL status: SUCCESS 16 in 0.15 seconds 2022-04-22 10:56:35 normalization > 10:55:23.496532 [debug] [Thread-4 ]: On model.airbyte_utils.SATISFACTION_RATINGS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.SATISFACTION_RATINGS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."SATISFACTION_RATINGS_SCD" 2022-04-22 10:56:35 normalization > 10:55:23.508513 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.GROUP_MEMBERSHIPS_SCD" 2022-04-22 10:56:35 normalization > 10:55:23.509760 [debug] [Thread-2 ]: On model.airbyte_utils.GROUP_MEMBERSHIPS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.GROUP_MEMBERSHIPS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."GROUP_MEMBERSHIPS_SCD" 2022-04-22 10:56:35 normalization > 10:55:23.573887 [debug] [Thread-2 ]: SQL status: SUCCESS 16 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:55:23.577188 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.GROUP_MEMBERSHIPS_SCD" 2022-04-22 10:56:35 normalization > 10:55:23.577394 [debug] [Thread-2 ]: On model.airbyte_utils.GROUP_MEMBERSHIPS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.GROUP_MEMBERSHIPS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."GROUP_MEMBERSHIPS_SCD" 2022-04-22 10:56:35 normalization > 10:55:23.581296 [debug] [Thread-5 ]: SQL status: SUCCESS 1 in 1.77 seconds 2022-04-22 10:56:35 normalization > 10:55:23.581502 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.SLA_POLICIES" 2022-04-22 10:56:35 normalization > 10:55:23.581606 [debug] [Thread-5 ]: On model.airbyte_utils.SLA_POLICIES: alter table "AIRBYTE_DB".ZENDESK_SUPPORT."SLA_POLICIES" cluster by (_AIRBYTE_EMITTED_AT); 2022-04-22 10:56:35 normalization > 10:55:23.621958 [debug] [Thread-4 ]: SQL status: SUCCESS 21 in 0.11 seconds 2022-04-22 10:56:35 normalization > 10:55:23.633212 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.SATISFACTION_RATINGS_SCD" 2022-04-22 10:56:35 normalization > 10:55:23.633458 [debug] [Thread-4 ]: On model.airbyte_utils.SATISFACTION_RATINGS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.SATISFACTION_RATINGS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."SATISFACTION_RATINGS_SCD" 2022-04-22 10:56:35 normalization > 10:55:23.727446 [debug] [Thread-4 ]: SQL status: SUCCESS 21 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:55:23.731722 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.SATISFACTION_RATINGS_SCD" 2022-04-22 10:56:35 normalization > 10:55:23.731992 [debug] [Thread-4 ]: On model.airbyte_utils.SATISFACTION_RATINGS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.SATISFACTION_RATINGS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."SATISFACTION_RATINGS_SCD" 2022-04-22 10:56:35 normalization > 10:55:23.768147 [debug] [Thread-5 ]: SQL status: SUCCESS 1 in 0.19 seconds 2022-04-22 10:56:35 normalization > 10:55:23.772342 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:23.772607 [debug] [Thread-5 ]: On model.airbyte_utils.SLA_POLICIES: Close 2022-04-22 10:56:35 normalization > 10:55:23.878131 [info ] [Thread-5 ]: 16 of 95 OK created table model ZENDESK_SUPPORT.SLA_POLICIES............................................................ [SUCCESS 1 in 2.10s] 2022-04-22 10:56:35 normalization > 10:55:23.878625 [debug] [Thread-5 ]: Finished running node model.airbyte_utils.SLA_POLICIES 2022-04-22 10:56:35 normalization > 10:55:23.878949 [debug] [Thread-5 ]: Began running node model.airbyte_utils.MACROS_SCD 2022-04-22 10:56:35 normalization > 10:55:23.879732 [info ] [Thread-5 ]: 20 of 95 START incremental model ZENDESK_SUPPORT.MACROS_SCD............................................................. [RUN] 2022-04-22 10:56:35 normalization > 10:55:23.880730 [debug] [Thread-5 ]: Acquiring new snowflake connection "model.airbyte_utils.MACROS_SCD" 2022-04-22 10:56:35 normalization > 10:55:23.881074 [debug] [Thread-5 ]: Began compiling node model.airbyte_utils.MACROS_SCD 2022-04-22 10:56:35 normalization > 10:55:23.881232 [debug] [Thread-5 ]: Compiling model.airbyte_utils.MACROS_SCD 2022-04-22 10:56:35 normalization > 10:55:23.899593 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.MACROS_SCD" 2022-04-22 10:56:35 normalization > 10:55:23.900291 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 0.32 seconds 2022-04-22 10:56:35 normalization > 10:55:23.900471 [debug] [Thread-5 ]: On model.airbyte_utils.MACROS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.MACROS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."MACROS_SCD" 2022-04-22 10:56:35 normalization > 10:55:23.910304 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.GROUP_MEMBERSHIPS_SCD" 2022-04-22 10:56:35 normalization > 10:55:23.910581 [debug] [Thread-5 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:55:23.910832 [debug] [Thread-2 ]: On model.airbyte_utils.GROUP_MEMBERSHIPS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.GROUP_MEMBERSHIPS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."GROUP_MEMBERSHIPS_SCD" 2022-04-22 10:56:35 normalization > 10:55:24.035689 [debug] [Thread-2 ]: SQL status: SUCCESS 16 in 0.12 seconds 2022-04-22 10:56:35 normalization > 10:55:24.052572 [debug] [Thread-4 ]: SQL status: SUCCESS 1 in 0.32 seconds 2022-04-22 10:56:35 normalization > 10:55:24.060135 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.GROUP_MEMBERSHIPS_SCD" 2022-04-22 10:56:35 normalization > 10:55:24.176302 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.SATISFACTION_RATINGS_SCD" 2022-04-22 10:56:35 normalization > 10:55:24.176648 [debug] [Thread-2 ]: On model.airbyte_utils.GROUP_MEMBERSHIPS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.GROUP_MEMBERSHIPS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."GROUP_MEMBERSHIPS_SCD" 2022-04-22 10:56:35 normalization > 10:55:24.177524 [debug] [Thread-4 ]: On model.airbyte_utils.SATISFACTION_RATINGS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.SATISFACTION_RATINGS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."SATISFACTION_RATINGS_SCD" 2022-04-22 10:56:35 normalization > 10:55:24.185734 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 2.2 seconds 2022-04-22 10:56:35 normalization > 10:55:24.186144 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TAGS" 2022-04-22 10:56:35 normalization > 10:55:24.186368 [debug] [Thread-3 ]: On model.airbyte_utils.TAGS: alter table "AIRBYTE_DB".ZENDESK_SUPPORT."TAGS" cluster by (_AIRBYTE_EMITTED_AT); 2022-04-22 10:56:35 normalization > 10:55:24.243558 [debug] [Thread-4 ]: SQL status: SUCCESS 21 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:55:24.247081 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.SATISFACTION_RATINGS_SCD" 2022-04-22 10:56:35 normalization > 10:55:24.261475 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 0.08 seconds 2022-04-22 10:56:35 normalization > 10:55:24.262874 [debug] [Thread-4 ]: On model.airbyte_utils.SATISFACTION_RATINGS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.SATISFACTION_RATINGS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."SATISFACTION_RATINGS_SCD" 2022-04-22 10:56:35 normalization > 10:55:24.269789 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.GROUP_MEMBERSHIPS_SCD" 2022-04-22 10:56:35 normalization > 10:55:24.271430 [debug] [Thread-2 ]: On model.airbyte_utils.GROUP_MEMBERSHIPS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.GROUP_MEMBERSHIPS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"._AIRBYTE_ZENDESK_SUPPORT."GROUP_MEMBERSHIPS_STG" 2022-04-22 10:56:35 normalization > 10:55:24.331868 [debug] [Thread-4 ]: SQL status: SUCCESS 1 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:55:24.338339 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.SATISFACTION_RATINGS_SCD" 2022-04-22 10:56:35 normalization > 10:55:24.338572 [debug] [Thread-4 ]: On model.airbyte_utils.SATISFACTION_RATINGS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.SATISFACTION_RATINGS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"._AIRBYTE_ZENDESK_SUPPORT."SATISFACTION_RATINGS_STG" 2022-04-22 10:56:35 normalization > 10:55:24.377186 [debug] [Thread-2 ]: SQL status: SUCCESS 11 in 0.11 seconds 2022-04-22 10:56:35 normalization > 10:55:24.383552 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.GROUP_MEMBERSHIPS_SCD" 2022-04-22 10:56:35 normalization > 10:55:24.383764 [debug] [Thread-2 ]: On model.airbyte_utils.GROUP_MEMBERSHIPS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.GROUP_MEMBERSHIPS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."GROUP_MEMBERSHIPS_SCD" 2022-04-22 10:56:35 normalization > 10:55:24.398987 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 1.29 seconds 2022-04-22 10:56:35 normalization > 10:55:24.403105 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.GROUPS_SCD" 2022-04-22 10:56:35 normalization > 10:55:24.403280 [debug] [Thread-1 ]: On model.airbyte_utils.GROUPS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.GROUPS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."GROUPS_SCD__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:55:24.425096 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 0.24 seconds 2022-04-22 10:56:35 normalization > 10:55:24.431707 [debug] [Thread-3 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:24.432015 [debug] [Thread-3 ]: On model.airbyte_utils.TAGS: Close 2022-04-22 10:56:35 normalization > 10:55:24.446107 [debug] [Thread-2 ]: SQL status: SUCCESS 16 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:55:24.458274 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.GROUP_MEMBERSHIPS_SCD" 2022-04-22 10:56:35 normalization > 10:55:24.458479 [debug] [Thread-2 ]: On model.airbyte_utils.GROUP_MEMBERSHIPS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.GROUP_MEMBERSHIPS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"._AIRBYTE_ZENDESK_SUPPORT."GROUP_MEMBERSHIPS_STG" 2022-04-22 10:56:35 normalization > 10:55:24.471598 [debug] [Thread-4 ]: SQL status: SUCCESS 16 in 0.13 seconds 2022-04-22 10:56:35 normalization > 10:55:24.476043 [debug] [Thread-5 ]: SQL status: SUCCESS 19 in 0.57 seconds 2022-04-22 10:56:35 normalization > 10:55:24.489615 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.MACROS_SCD" 2022-04-22 10:56:35 normalization > 10:55:24.490290 [debug] [Thread-5 ]: On model.airbyte_utils.MACROS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.MACROS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."MACROS_SCD" 2022-04-22 10:56:35 normalization > 10:55:24.496085 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.SATISFACTION_RATINGS_SCD" 2022-04-22 10:56:35 normalization > 10:55:24.496315 [debug] [Thread-4 ]: On model.airbyte_utils.SATISFACTION_RATINGS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.SATISFACTION_RATINGS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."SATISFACTION_RATINGS_SCD" 2022-04-22 10:56:35 normalization > 10:55:24.544468 [debug] [Thread-2 ]: SQL status: SUCCESS 11 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:55:24.545790 [debug] [Thread-5 ]: SQL status: SUCCESS 19 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:55:24.559142 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.MACROS_SCD" 2022-04-22 10:56:35 normalization > 10:55:24.559669 [debug] [Thread-5 ]: On model.airbyte_utils.MACROS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.MACROS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."MACROS_SCD" 2022-04-22 10:56:35 normalization > 10:55:24.567572 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.GROUP_MEMBERSHIPS_SCD" 2022-04-22 10:56:35 normalization > 10:55:24.568225 [debug] [Thread-1 ]: SQL status: SUCCESS 15 in 0.16 seconds 2022-04-22 10:56:35 normalization > 10:55:24.568435 [debug] [Thread-2 ]: On model.airbyte_utils.GROUP_MEMBERSHIPS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.GROUP_MEMBERSHIPS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"._AIRBYTE_ZENDESK_SUPPORT."GROUP_MEMBERSHIPS_STG" 2022-04-22 10:56:35 normalization > 10:55:24.575631 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.GROUPS_SCD" 2022-04-22 10:56:35 normalization > 10:55:24.577271 [debug] [Thread-1 ]: On model.airbyte_utils.GROUPS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.GROUPS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."GROUPS_SCD" 2022-04-22 10:56:35 normalization > 10:55:24.606618 [info ] [Thread-3 ]: 17 of 95 OK created table model ZENDESK_SUPPORT.TAGS.................................................................... [SUCCESS 1 in 2.65s] 2022-04-22 10:56:35 normalization > 10:55:24.608270 [debug] [Thread-4 ]: SQL status: SUCCESS 21 in 0.11 seconds 2022-04-22 10:56:35 normalization > 10:55:24.616422 [debug] [Thread-3 ]: Finished running node model.airbyte_utils.TAGS 2022-04-22 10:56:35 normalization > 10:55:24.617189 [debug] [Thread-3 ]: Began running node model.airbyte_utils.ORGANIZATIONS_SCD 2022-04-22 10:56:35 normalization > 10:55:24.626756 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.SATISFACTION_RATINGS_SCD" 2022-04-22 10:56:35 normalization > 10:55:24.627475 [debug] [Thread-5 ]: SQL status: SUCCESS 19 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:55:24.627864 [info ] [Thread-3 ]: 21 of 95 START incremental model ZENDESK_SUPPORT.ORGANIZATIONS_SCD...................................................... [RUN] 2022-04-22 10:56:35 normalization > 10:55:24.628087 [debug] [Thread-4 ]: On model.airbyte_utils.SATISFACTION_RATINGS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.SATISFACTION_RATINGS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"._AIRBYTE_ZENDESK_SUPPORT."SATISFACTION_RATINGS_STG" 2022-04-22 10:56:35 normalization > 10:55:24.631686 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.MACROS_SCD" 2022-04-22 10:56:35 normalization > 10:55:24.633168 [debug] [Thread-3 ]: Acquiring new snowflake connection "model.airbyte_utils.ORGANIZATIONS_SCD" 2022-04-22 10:56:35 normalization > 10:55:24.633866 [debug] [Thread-1 ]: SQL status: SUCCESS 15 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:55:24.634634 [debug] [Thread-5 ]: On model.airbyte_utils.MACROS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.MACROS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."MACROS_SCD" 2022-04-22 10:56:35 normalization > 10:55:24.636314 [debug] [Thread-3 ]: Began compiling node model.airbyte_utils.ORGANIZATIONS_SCD 2022-04-22 10:56:35 normalization > 10:55:24.654660 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.GROUPS_SCD" 2022-04-22 10:56:35 normalization > 10:55:24.656535 [debug] [Thread-3 ]: Compiling model.airbyte_utils.ORGANIZATIONS_SCD 2022-04-22 10:56:35 normalization > 10:55:24.657286 [debug] [Thread-1 ]: On model.airbyte_utils.GROUPS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.GROUPS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."GROUPS_SCD__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:55:24.675619 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.ORGANIZATIONS_SCD" 2022-04-22 10:56:35 normalization > 10:55:24.676968 [debug] [Thread-3 ]: On model.airbyte_utils.ORGANIZATIONS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.ORGANIZATIONS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."ORGANIZATIONS_SCD" 2022-04-22 10:56:35 normalization > 10:55:24.677677 [debug] [Thread-3 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:55:24.721653 [debug] [Thread-4 ]: SQL status: SUCCESS 16 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:55:24.757862 [debug] [Thread-1 ]: SQL status: SUCCESS 15 in 0.08 seconds 2022-04-22 10:56:35 normalization > 10:55:24.769679 [debug] [Thread-2 ]: SQL status: SUCCESS 11 in 0.19 seconds 2022-04-22 10:56:35 normalization > 10:55:24.793595 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.GROUPS_SCD" 2022-04-22 10:56:35 normalization > 10:55:24.836975 [debug] [Thread-1 ]: On model.airbyte_utils.GROUPS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.GROUPS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"."ZENDESK_SUPPORT"."GROUPS_SCD" 2022-04-22 10:56:35 normalization > 10:55:24.864539 [debug] [Thread-2 ]: Writing injected SQL for node "model.airbyte_utils.GROUP_MEMBERSHIPS_SCD" 2022-04-22 10:56:35 normalization > 10:55:24.868978 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.SATISFACTION_RATINGS_SCD" 2022-04-22 10:56:35 normalization > 10:55:24.869306 [debug] [Thread-4 ]: On model.airbyte_utils.SATISFACTION_RATINGS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.SATISFACTION_RATINGS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"._AIRBYTE_ZENDESK_SUPPORT."SATISFACTION_RATINGS_STG" 2022-04-22 10:56:35 normalization > 10:55:24.876989 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:24.877246 [debug] [Thread-2 ]: Began executing node model.airbyte_utils.GROUP_MEMBERSHIPS_SCD 2022-04-22 10:56:35 normalization > 10:55:24.882876 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.GROUP_MEMBERSHIPS_SCD" 2022-04-22 10:56:35 normalization > 10:55:24.883056 [debug] [Thread-2 ]: On model.airbyte_utils.GROUP_MEMBERSHIPS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.GROUP_MEMBERSHIPS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."GROUP_MEMBERSHIPS_SCD" 2022-04-22 10:56:35 normalization > 10:55:24.949968 [debug] [Thread-1 ]: SQL status: SUCCESS 15 in 0.11 seconds 2022-04-22 10:56:35 normalization > 10:55:24.963339 [debug] [Thread-1 ]: 2022-04-22 10:56:35 normalization > In "AIRBYTE_DB"."ZENDESK_SUPPORT"."GROUPS_SCD": 2022-04-22 10:56:35 normalization > Schema changed: False 2022-04-22 10:56:35 normalization > Source columns not in target: [] 2022-04-22 10:56:35 normalization > Target columns not in source: [] 2022-04-22 10:56:35 normalization > New column types: [] 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 10:55:24.964789 [debug] [Thread-4 ]: SQL status: SUCCESS 16 in 0.1 seconds 2022-04-22 10:56:35 normalization > 10:55:24.970692 [debug] [Thread-2 ]: SQL status: SUCCESS 16 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:55:24.990592 [debug] [Thread-1 ]: Writing runtime SQL for node "model.airbyte_utils.GROUPS_SCD" 2022-04-22 10:56:35 normalization > 10:55:25.005580 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.GROUP_MEMBERSHIPS_SCD" 2022-04-22 10:56:35 normalization > 10:55:25.006200 [debug] [Thread-2 ]: On model.airbyte_utils.GROUP_MEMBERSHIPS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.GROUP_MEMBERSHIPS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace temporary table "AIRBYTE_DB".ZENDESK_SUPPORT."GROUP_MEMBERSHIPS_SCD__dbt_tmp" as 2022-04-22 10:56:35 normalization > (select * from( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- depends_on: ref('GROUP_MEMBERSHIPS_STG') 2022-04-22 10:56:35 normalization > with 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > new_data as ( 2022-04-22 10:56:35 normalization > -- retrieve incremental "new" data 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > * 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB"._AIRBYTE_ZENDESK_SUPPORT."GROUP_MEMBERSHIPS_STG" 2022-04-22 10:56:35 normalization > -- GROUP_MEMBERSHIPS from "AIRBYTE_DB".ZENDESK_SUPPORT._AIRBYTE_RAW_GROUP_MEMBERSHIPS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > and cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) >= 2022-04-22 10:56:35 normalization > cast('2022-04-21 22:53:24.139000-07:00' as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > new_data_ids as ( 2022-04-22 10:56:35 normalization > -- build a subset of _AIRBYTE_UNIQUE_KEY from rows that are new 2022-04-22 10:56:35 normalization > select distinct 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_UNIQUE_KEY 2022-04-22 10:56:35 normalization > from new_data 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > empty_new_data as ( 2022-04-22 10:56:35 normalization > -- build an empty table to only keep the table's column types 2022-04-22 10:56:35 normalization > select * from new_data where 1 = 0 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > previous_active_scd_data as ( 2022-04-22 10:56:35 normalization > -- retrieve "incomplete old" data that needs to be updated with an end date because of new changes 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > this_data."_AIRBYTE_GROUP_MEMBERSHIPS_HASHID", 2022-04-22 10:56:35 normalization > this_data."ID", 2022-04-22 10:56:35 normalization > this_data."URL", 2022-04-22 10:56:35 normalization > this_data."default", 2022-04-22 10:56:35 normalization > this_data."USER_ID", 2022-04-22 10:56:35 normalization > this_data."GROUP_ID", 2022-04-22 10:56:35 normalization > this_data."CREATED_AT", 2022-04-22 10:56:35 normalization > this_data."UPDATED_AT", 2022-04-22 10:56:35 normalization > this_data."_AIRBYTE_AB_ID", 2022-04-22 10:56:35 normalization > this_data."_AIRBYTE_EMITTED_AT", 2022-04-22 10:56:35 normalization > this_data."_AIRBYTE_NORMALIZED_AT" 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."GROUP_MEMBERSHIPS_SCD" as this_data 2022-04-22 10:56:35 normalization > -- make a join with new_data using primary key to filter active data that need to be updated only 2022-04-22 10:56:35 normalization > join new_data_ids on this_data._AIRBYTE_UNIQUE_KEY = new_data_ids._AIRBYTE_UNIQUE_KEY 2022-04-22 10:56:35 normalization > -- force left join to NULL values (we just need to transfer column types only for the star_intersect macro on schema changes) 2022-04-22 10:56:35 normalization > left join empty_new_data as inc_data on this_data._AIRBYTE_AB_ID = inc_data._AIRBYTE_AB_ID 2022-04-22 10:56:35 normalization > where _AIRBYTE_ACTIVE_ROW = 1 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > input_data as ( 2022-04-22 10:56:35 normalization > select "_AIRBYTE_GROUP_MEMBERSHIPS_HASHID", 2022-04-22 10:56:35 normalization > "ID", 2022-04-22 10:56:35 normalization > "URL", 2022-04-22 10:56:35 normalization > "default", 2022-04-22 10:56:35 normalization > "USER_ID", 2022-04-22 10:56:35 normalization > "GROUP_ID", 2022-04-22 10:56:35 normalization > "CREATED_AT", 2022-04-22 10:56:35 normalization > "UPDATED_AT", 2022-04-22 10:56:35 normalization > "_AIRBYTE_AB_ID", 2022-04-22 10:56:35 normalization > "_AIRBYTE_EMITTED_AT", 2022-04-22 10:56:35 normalization > "_AIRBYTE_NORMALIZED_AT" from new_data 2022-04-22 10:56:35 normalization > union all 2022-04-22 10:56:35 normalization > select "_AIRBYTE_GROUP_MEMBERSHIPS_HASHID", 2022-04-22 10:56:35 normalization > "ID", 2022-04-22 10:56:35 normalization > "URL", 2022-04-22 10:56:35 normalization > "default", 2022-04-22 10:56:35 normalization > "USER_ID", 2022-04-22 10:56:35 normalization > "GROUP_ID", 2022-04-22 10:56:35 normalization > "CREATED_AT", 2022-04-22 10:56:35 normalization > "UPDATED_AT", 2022-04-22 10:56:35 normalization > "_AIRBYTE_AB_ID", 2022-04-22 10:56:35 normalization > "_AIRBYTE_EMITTED_AT", 2022-04-22 10:56:35 normalization > "_AIRBYTE_NORMALIZED_AT" from previous_active_scd_data 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > scd_data as ( 2022-04-22 10:56:35 normalization > -- SQL model to build a Type 2 Slowly Changing Dimension (SCD) table for each record identified by their primary key 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_UNIQUE_KEY, 2022-04-22 10:56:35 normalization > ID, 2022-04-22 10:56:35 normalization > URL, 2022-04-22 10:56:35 normalization > "default", 2022-04-22 10:56:35 normalization > USER_ID, 2022-04-22 10:56:35 normalization > GROUP_ID, 2022-04-22 10:56:35 normalization > CREATED_AT, 2022-04-22 10:56:35 normalization > UPDATED_AT, 2022-04-22 10:56:35 normalization > UPDATED_AT as _AIRBYTE_START_AT, 2022-04-22 10:56:35 normalization > lag(UPDATED_AT) over ( 2022-04-22 10:56:35 normalization > partition by ID 2022-04-22 10:56:35 normalization > order by 2022-04-22 10:56:35 normalization > UPDATED_AT is null asc, 2022-04-22 10:56:35 normalization > UPDATED_AT desc, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT desc 2022-04-22 10:56:35 normalization > ) as _AIRBYTE_END_AT, 2022-04-22 10:56:35 normalization > case when row_number() over ( 2022-04-22 10:56:35 normalization > partition by ID 2022-04-22 10:56:35 normalization > order by 2022-04-22 10:56:35 normalization > UPDATED_AT is null asc, 2022-04-22 10:56:35 normalization > UPDATED_AT desc, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT desc 2022-04-22 10:56:35 normalization > ) = 1 then 1 else 0 end as _AIRBYTE_ACTIVE_ROW, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_GROUP_MEMBERSHIPS_HASHID 2022-04-22 10:56:35 normalization > from input_data 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > dedup_data as ( 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > -- we need to ensure de-duplicated rows for merge/update queries 2022-04-22 10:56:35 normalization > -- additionally, we generate a unique key for the scd table 2022-04-22 10:56:35 normalization > row_number() over ( 2022-04-22 10:56:35 normalization > partition by 2022-04-22 10:56:35 normalization > _AIRBYTE_UNIQUE_KEY, 2022-04-22 10:56:35 normalization > _AIRBYTE_START_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT 2022-04-22 10:56:35 normalization > order by _AIRBYTE_ACTIVE_ROW desc, _AIRBYTE_AB_ID 2022-04-22 10:56:35 normalization > ) as _AIRBYTE_ROW_NUM, 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(_AIRBYTE_UNIQUE_KEY as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(_AIRBYTE_START_AT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_UNIQUE_KEY_SCD, 2022-04-22 10:56:35 normalization > scd_data.* 2022-04-22 10:56:35 normalization > from scd_data 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_UNIQUE_KEY, 2022-04-22 10:56:35 normalization > _AIRBYTE_UNIQUE_KEY_SCD, 2022-04-22 10:56:35 normalization > ID, 2022-04-22 10:56:35 normalization > URL, 2022-04-22 10:56:35 normalization > "default", 2022-04-22 10:56:35 normalization > USER_ID, 2022-04-22 10:56:35 normalization > GROUP_ID, 2022-04-22 10:56:35 normalization > CREATED_AT, 2022-04-22 10:56:35 normalization > UPDATED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_START_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_END_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_ACTIVE_ROW, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_GROUP_MEMBERSHIPS_HASHID 2022-04-22 10:56:35 normalization > from dedup_data where _AIRBYTE_ROW_NUM = 1 2022-04-22 10:56:35 normalization > ) order by (_AIRBYTE_ACTIVE_ROW, _AIRBYTE_UNIQUE_KEY_SCD, _AIRBYTE_EMITTED_AT) 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:55:25.013003 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.GROUPS_SCD" 2022-04-22 10:56:35 normalization > 10:55:25.013374 [debug] [Thread-1 ]: On model.airbyte_utils.GROUPS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.GROUPS_SCD"} */ 2022-04-22 10:56:35 normalization > begin; 2022-04-22 10:56:35 normalization > 10:55:25.018044 [debug] [Thread-5 ]: SQL status: SUCCESS 1 in 0.36 seconds 2022-04-22 10:56:35 normalization > 10:55:25.030028 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.MACROS_SCD" 2022-04-22 10:56:35 normalization > 10:55:25.030583 [debug] [Thread-5 ]: On model.airbyte_utils.MACROS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.MACROS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."MACROS_SCD" 2022-04-22 10:56:35 normalization > 10:55:25.033824 [debug] [Thread-4 ]: Writing injected SQL for node "model.airbyte_utils.SATISFACTION_RATINGS_SCD" 2022-04-22 10:56:35 normalization > 10:55:25.035562 [debug] [Thread-4 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:25.035751 [debug] [Thread-4 ]: Began executing node model.airbyte_utils.SATISFACTION_RATINGS_SCD 2022-04-22 10:56:35 normalization > 10:55:25.041096 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.SATISFACTION_RATINGS_SCD" 2022-04-22 10:56:35 normalization > 10:55:25.041427 [debug] [Thread-4 ]: On model.airbyte_utils.SATISFACTION_RATINGS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.SATISFACTION_RATINGS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."SATISFACTION_RATINGS_SCD" 2022-04-22 10:56:35 normalization > 10:55:25.097201 [debug] [Thread-4 ]: SQL status: SUCCESS 21 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:55:25.109819 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.SATISFACTION_RATINGS_SCD" 2022-04-22 10:56:35 normalization > 10:55:25.111178 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 0.1 seconds 2022-04-22 10:56:35 normalization > 10:55:25.111379 [debug] [Thread-4 ]: On model.airbyte_utils.SATISFACTION_RATINGS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.SATISFACTION_RATINGS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace temporary table "AIRBYTE_DB".ZENDESK_SUPPORT."SATISFACTION_RATINGS_SCD__dbt_tmp" as 2022-04-22 10:56:35 normalization > (select * from( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- depends_on: ref('SATISFACTION_RATINGS_STG') 2022-04-22 10:56:35 normalization > with 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > new_data as ( 2022-04-22 10:56:35 normalization > -- retrieve incremental "new" data 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > * 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB"._AIRBYTE_ZENDESK_SUPPORT."SATISFACTION_RATINGS_STG" 2022-04-22 10:56:35 normalization > -- SATISFACTION_RATINGS from "AIRBYTE_DB".ZENDESK_SUPPORT._AIRBYTE_RAW_SATISFACTION_RATINGS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > and cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) >= 2022-04-22 10:56:35 normalization > cast('2022-04-22 10:47:42.353000-07:00' as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > new_data_ids as ( 2022-04-22 10:56:35 normalization > -- build a subset of _AIRBYTE_UNIQUE_KEY from rows that are new 2022-04-22 10:56:35 normalization > select distinct 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_UNIQUE_KEY 2022-04-22 10:56:35 normalization > from new_data 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > empty_new_data as ( 2022-04-22 10:56:35 normalization > -- build an empty table to only keep the table's column types 2022-04-22 10:56:35 normalization > select * from new_data where 1 = 0 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > previous_active_scd_data as ( 2022-04-22 10:56:35 normalization > -- retrieve "incomplete old" data that needs to be updated with an end date because of new changes 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > this_data."_AIRBYTE_SATISFACTION_RATINGS_HASHID", 2022-04-22 10:56:35 normalization > this_data."ID", 2022-04-22 10:56:35 normalization > this_data."URL", 2022-04-22 10:56:35 normalization > this_data."SCORE", 2022-04-22 10:56:35 normalization > this_data."REASON", 2022-04-22 10:56:35 normalization > this_data."COMMENT", 2022-04-22 10:56:35 normalization > this_data."GROUP_ID", 2022-04-22 10:56:35 normalization > this_data."REASON_ID", 2022-04-22 10:56:35 normalization > this_data."TICKET_ID", 2022-04-22 10:56:35 normalization > this_data."CREATED_AT", 2022-04-22 10:56:35 normalization > this_data."UPDATED_AT", 2022-04-22 10:56:35 normalization > this_data."ASSIGNEE_ID", 2022-04-22 10:56:35 normalization > this_data."REQUESTER_ID", 2022-04-22 10:56:35 normalization > this_data."_AIRBYTE_AB_ID", 2022-04-22 10:56:35 normalization > this_data."_AIRBYTE_EMITTED_AT", 2022-04-22 10:56:35 normalization > this_data."_AIRBYTE_NORMALIZED_AT" 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."SATISFACTION_RATINGS_SCD" as this_data 2022-04-22 10:56:35 normalization > -- make a join with new_data using primary key to filter active data that need to be updated only 2022-04-22 10:56:35 normalization > join new_data_ids on this_data._AIRBYTE_UNIQUE_KEY = new_data_ids._AIRBYTE_UNIQUE_KEY 2022-04-22 10:56:35 normalization > -- force left join to NULL values (we just need to transfer column types only for the star_intersect macro on schema changes) 2022-04-22 10:56:35 normalization > left join empty_new_data as inc_data on this_data._AIRBYTE_AB_ID = inc_data._AIRBYTE_AB_ID 2022-04-22 10:56:35 normalization > where _AIRBYTE_ACTIVE_ROW = 1 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > input_data as ( 2022-04-22 10:56:35 normalization > select "_AIRBYTE_SATISFACTION_RATINGS_HASHID", 2022-04-22 10:56:35 normalization > "ID", 2022-04-22 10:56:35 normalization > "URL", 2022-04-22 10:56:35 normalization > "SCORE", 2022-04-22 10:56:35 normalization > "REASON", 2022-04-22 10:56:35 normalization > "COMMENT", 2022-04-22 10:56:35 normalization > "GROUP_ID", 2022-04-22 10:56:35 normalization > "REASON_ID", 2022-04-22 10:56:35 normalization > "TICKET_ID", 2022-04-22 10:56:35 normalization > "CREATED_AT", 2022-04-22 10:56:35 normalization > "UPDATED_AT", 2022-04-22 10:56:35 normalization > "ASSIGNEE_ID", 2022-04-22 10:56:35 normalization > "REQUESTER_ID", 2022-04-22 10:56:35 normalization > "_AIRBYTE_AB_ID", 2022-04-22 10:56:35 normalization > "_AIRBYTE_EMITTED_AT", 2022-04-22 10:56:35 normalization > "_AIRBYTE_NORMALIZED_AT" from new_data 2022-04-22 10:56:35 normalization > union all 2022-04-22 10:56:35 normalization > select "_AIRBYTE_SATISFACTION_RATINGS_HASHID", 2022-04-22 10:56:35 normalization > "ID", 2022-04-22 10:56:35 normalization > "URL", 2022-04-22 10:56:35 normalization > "SCORE", 2022-04-22 10:56:35 normalization > "REASON", 2022-04-22 10:56:35 normalization > "COMMENT", 2022-04-22 10:56:35 normalization > "GROUP_ID", 2022-04-22 10:56:35 normalization > "REASON_ID", 2022-04-22 10:56:35 normalization > "TICKET_ID", 2022-04-22 10:56:35 normalization > "CREATED_AT", 2022-04-22 10:56:35 normalization > "UPDATED_AT", 2022-04-22 10:56:35 normalization > "ASSIGNEE_ID", 2022-04-22 10:56:35 normalization > "REQUESTER_ID", 2022-04-22 10:56:35 normalization > "_AIRBYTE_AB_ID", 2022-04-22 10:56:35 normalization > "_AIRBYTE_EMITTED_AT", 2022-04-22 10:56:35 normalization > "_AIRBYTE_NORMALIZED_AT" from previous_active_scd_data 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > scd_data as ( 2022-04-22 10:56:35 normalization > -- SQL model to build a Type 2 Slowly Changing Dimension (SCD) table for each record identified by their primary key 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_UNIQUE_KEY, 2022-04-22 10:56:35 normalization > ID, 2022-04-22 10:56:35 normalization > URL, 2022-04-22 10:56:35 normalization > SCORE, 2022-04-22 10:56:35 normalization > REASON, 2022-04-22 10:56:35 normalization > COMMENT, 2022-04-22 10:56:35 normalization > GROUP_ID, 2022-04-22 10:56:35 normalization > REASON_ID, 2022-04-22 10:56:35 normalization > TICKET_ID, 2022-04-22 10:56:35 normalization > CREATED_AT, 2022-04-22 10:56:35 normalization > UPDATED_AT, 2022-04-22 10:56:35 normalization > ASSIGNEE_ID, 2022-04-22 10:56:35 normalization > REQUESTER_ID, 2022-04-22 10:56:35 normalization > UPDATED_AT as _AIRBYTE_START_AT, 2022-04-22 10:56:35 normalization > lag(UPDATED_AT) over ( 2022-04-22 10:56:35 normalization > partition by ID 2022-04-22 10:56:35 normalization > order by 2022-04-22 10:56:35 normalization > UPDATED_AT is null asc, 2022-04-22 10:56:35 normalization > UPDATED_AT desc, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT desc 2022-04-22 10:56:35 normalization > ) as _AIRBYTE_END_AT, 2022-04-22 10:56:35 normalization > case when row_number() over ( 2022-04-22 10:56:35 normalization > partition by ID 2022-04-22 10:56:35 normalization > order by 2022-04-22 10:56:35 normalization > UPDATED_AT is null asc, 2022-04-22 10:56:35 normalization > UPDATED_AT desc, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT desc 2022-04-22 10:56:35 normalization > ) = 1 then 1 else 0 end as _AIRBYTE_ACTIVE_ROW, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_SATISFACTION_RATINGS_HASHID 2022-04-22 10:56:35 normalization > from input_data 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > dedup_data as ( 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > -- we need to ensure de-duplicated rows for merge/update queries 2022-04-22 10:56:35 normalization > -- additionally, we generate a unique key for the scd table 2022-04-22 10:56:35 normalization > row_number() over ( 2022-04-22 10:56:35 normalization > partition by 2022-04-22 10:56:35 normalization > _AIRBYTE_UNIQUE_KEY, 2022-04-22 10:56:35 normalization > _AIRBYTE_START_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT 2022-04-22 10:56:35 normalization > order by _AIRBYTE_ACTIVE_ROW desc, _AIRBYTE_AB_ID 2022-04-22 10:56:35 normalization > ) as _AIRBYTE_ROW_NUM, 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(_AIRBYTE_UNIQUE_KEY as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(_AIRBYTE_START_AT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_UNIQUE_KEY_SCD, 2022-04-22 10:56:35 normalization > scd_data.* 2022-04-22 10:56:35 normalization > from scd_data 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_UNIQUE_KEY, 2022-04-22 10:56:35 normalization > _AIRBYTE_UNIQUE_KEY_SCD, 2022-04-22 10:56:35 normalization > ID, 2022-04-22 10:56:35 normalization > URL, 2022-04-22 10:56:35 normalization > SCORE, 2022-04-22 10:56:35 normalization > REASON, 2022-04-22 10:56:35 normalization > COMMENT, 2022-04-22 10:56:35 normalization > GROUP_ID, 2022-04-22 10:56:35 normalization > REASON_ID, 2022-04-22 10:56:35 normalization > TICKET_ID, 2022-04-22 10:56:35 normalization > CREATED_AT, 2022-04-22 10:56:35 normalization > UPDATED_AT, 2022-04-22 10:56:35 normalization > ASSIGNEE_ID, 2022-04-22 10:56:35 normalization > REQUESTER_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_START_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_END_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_ACTIVE_ROW, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_SATISFACTION_RATINGS_HASHID 2022-04-22 10:56:35 normalization > from dedup_data where _AIRBYTE_ROW_NUM = 1 2022-04-22 10:56:35 normalization > ) order by (_AIRBYTE_ACTIVE_ROW, _AIRBYTE_UNIQUE_KEY_SCD, _AIRBYTE_EMITTED_AT) 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:55:25.111799 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.GROUPS_SCD" 2022-04-22 10:56:35 normalization > 10:55:25.113042 [debug] [Thread-5 ]: SQL status: SUCCESS 19 in 0.08 seconds 2022-04-22 10:56:35 normalization > 10:55:25.113830 [debug] [Thread-1 ]: On model.airbyte_utils.GROUPS_SCD: merge into "AIRBYTE_DB".ZENDESK_SUPPORT."GROUPS_SCD" as DBT_INTERNAL_DEST 2022-04-22 10:56:35 normalization > using "AIRBYTE_DB".ZENDESK_SUPPORT."GROUPS_SCD__dbt_tmp" as DBT_INTERNAL_SOURCE 2022-04-22 10:56:35 normalization > on 2022-04-22 10:56:35 normalization > DBT_INTERNAL_SOURCE._AIRBYTE_UNIQUE_KEY_SCD = DBT_INTERNAL_DEST._AIRBYTE_UNIQUE_KEY_SCD 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > when matched then update set 2022-04-22 10:56:35 normalization > "_AIRBYTE_UNIQUE_KEY" = DBT_INTERNAL_SOURCE."_AIRBYTE_UNIQUE_KEY","_AIRBYTE_UNIQUE_KEY_SCD" = DBT_INTERNAL_SOURCE."_AIRBYTE_UNIQUE_KEY_SCD","ID" = DBT_INTERNAL_SOURCE."ID","URL" = DBT_INTERNAL_SOURCE."URL","NAME" = DBT_INTERNAL_SOURCE."NAME","DELETED" = DBT_INTERNAL_SOURCE."DELETED","CREATED_AT" = DBT_INTERNAL_SOURCE."CREATED_AT","UPDATED_AT" = DBT_INTERNAL_SOURCE."UPDATED_AT","_AIRBYTE_START_AT" = DBT_INTERNAL_SOURCE."_AIRBYTE_START_AT","_AIRBYTE_END_AT" = DBT_INTERNAL_SOURCE."_AIRBYTE_END_AT","_AIRBYTE_ACTIVE_ROW" = DBT_INTERNAL_SOURCE."_AIRBYTE_ACTIVE_ROW","_AIRBYTE_AB_ID" = DBT_INTERNAL_SOURCE."_AIRBYTE_AB_ID","_AIRBYTE_EMITTED_AT" = DBT_INTERNAL_SOURCE."_AIRBYTE_EMITTED_AT","_AIRBYTE_NORMALIZED_AT" = DBT_INTERNAL_SOURCE."_AIRBYTE_NORMALIZED_AT","_AIRBYTE_GROUPS_HASHID" = DBT_INTERNAL_SOURCE."_AIRBYTE_GROUPS_HASHID" 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > when not matched then insert 2022-04-22 10:56:35 normalization > ("_AIRBYTE_UNIQUE_KEY", "_AIRBYTE_UNIQUE_KEY_SCD", "ID", "URL", "NAME", "DELETED", "CREATED_AT", "UPDATED_AT", "_AIRBYTE_START_AT", "_AIRBYTE_END_AT", "_AIRBYTE_ACTIVE_ROW", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_GROUPS_HASHID") 2022-04-22 10:56:35 normalization > values 2022-04-22 10:56:35 normalization > ("_AIRBYTE_UNIQUE_KEY", "_AIRBYTE_UNIQUE_KEY_SCD", "ID", "URL", "NAME", "DELETED", "CREATED_AT", "UPDATED_AT", "_AIRBYTE_START_AT", "_AIRBYTE_END_AT", "_AIRBYTE_ACTIVE_ROW", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_GROUPS_HASHID") 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ; 2022-04-22 10:56:35 normalization > 10:55:25.117165 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.MACROS_SCD" 2022-04-22 10:56:35 normalization > 10:55:25.120320 [debug] [Thread-5 ]: On model.airbyte_utils.MACROS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.MACROS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."MACROS_SCD" 2022-04-22 10:56:35 normalization > 10:55:25.182533 [debug] [Thread-5 ]: SQL status: SUCCESS 1 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:55:25.189080 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.MACROS_SCD" 2022-04-22 10:56:35 normalization > 10:55:25.189895 [debug] [Thread-5 ]: On model.airbyte_utils.MACROS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.MACROS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"._AIRBYTE_ZENDESK_SUPPORT."MACROS_STG" 2022-04-22 10:56:35 normalization > 10:55:25.190616 [debug] [Thread-3 ]: SQL status: SUCCESS 24 in 0.51 seconds 2022-04-22 10:56:35 normalization > 10:55:25.202989 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.ORGANIZATIONS_SCD" 2022-04-22 10:56:35 normalization > 10:55:25.203902 [debug] [Thread-3 ]: On model.airbyte_utils.ORGANIZATIONS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.ORGANIZATIONS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."ORGANIZATIONS_SCD" 2022-04-22 10:56:35 normalization > 10:55:25.257408 [debug] [Thread-3 ]: SQL status: SUCCESS 24 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:55:25.270571 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.ORGANIZATIONS_SCD" 2022-04-22 10:56:35 normalization > 10:55:25.270827 [debug] [Thread-3 ]: On model.airbyte_utils.ORGANIZATIONS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.ORGANIZATIONS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."ORGANIZATIONS_SCD" 2022-04-22 10:56:35 normalization > 10:55:25.284389 [debug] [Thread-5 ]: SQL status: SUCCESS 14 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:55:25.290961 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.MACROS_SCD" 2022-04-22 10:56:35 normalization > 10:55:25.291163 [debug] [Thread-5 ]: On model.airbyte_utils.MACROS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.MACROS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."MACROS_SCD" 2022-04-22 10:56:35 normalization > 10:55:25.327363 [debug] [Thread-3 ]: SQL status: SUCCESS 24 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:55:25.331045 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.ORGANIZATIONS_SCD" 2022-04-22 10:56:35 normalization > 10:55:25.331244 [debug] [Thread-3 ]: On model.airbyte_utils.ORGANIZATIONS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.ORGANIZATIONS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."ORGANIZATIONS_SCD" 2022-04-22 10:56:35 normalization > 10:55:25.341402 [debug] [Thread-5 ]: SQL status: SUCCESS 19 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:55:25.350699 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.MACROS_SCD" 2022-04-22 10:56:35 normalization > 10:55:25.350896 [debug] [Thread-5 ]: On model.airbyte_utils.MACROS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.MACROS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"._AIRBYTE_ZENDESK_SUPPORT."MACROS_STG" 2022-04-22 10:56:35 normalization > 10:55:25.434139 [debug] [Thread-5 ]: SQL status: SUCCESS 14 in 0.08 seconds 2022-04-22 10:56:35 normalization > 10:55:25.442847 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.MACROS_SCD" 2022-04-22 10:56:35 normalization > 10:55:25.443058 [debug] [Thread-5 ]: On model.airbyte_utils.MACROS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.MACROS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"._AIRBYTE_ZENDESK_SUPPORT."MACROS_STG" 2022-04-22 10:56:35 normalization > 10:55:25.505505 [debug] [Thread-5 ]: SQL status: SUCCESS 14 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:55:25.513324 [debug] [Thread-5 ]: Writing injected SQL for node "model.airbyte_utils.MACROS_SCD" 2022-04-22 10:56:35 normalization > 10:55:25.513716 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:25.513871 [debug] [Thread-5 ]: Began executing node model.airbyte_utils.MACROS_SCD 2022-04-22 10:56:35 normalization > 10:55:25.521055 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.MACROS_SCD" 2022-04-22 10:56:35 normalization > 10:55:25.521245 [debug] [Thread-5 ]: On model.airbyte_utils.MACROS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.MACROS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."MACROS_SCD" 2022-04-22 10:56:35 normalization > 10:55:25.578512 [debug] [Thread-5 ]: SQL status: SUCCESS 19 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:55:25.591808 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 0.26 seconds 2022-04-22 10:56:35 normalization > 10:55:25.606781 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.ORGANIZATIONS_SCD" 2022-04-22 10:56:35 normalization > 10:55:25.607054 [debug] [Thread-3 ]: On model.airbyte_utils.ORGANIZATIONS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.ORGANIZATIONS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."ORGANIZATIONS_SCD" 2022-04-22 10:56:35 normalization > 10:55:25.611752 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.MACROS_SCD" 2022-04-22 10:56:35 normalization > 10:55:25.611972 [debug] [Thread-5 ]: On model.airbyte_utils.MACROS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.MACROS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace temporary table "AIRBYTE_DB".ZENDESK_SUPPORT."MACROS_SCD__dbt_tmp" as 2022-04-22 10:56:35 normalization > (select * from( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- depends_on: ref('MACROS_STG') 2022-04-22 10:56:35 normalization > with 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > new_data as ( 2022-04-22 10:56:35 normalization > -- retrieve incremental "new" data 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > * 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB"._AIRBYTE_ZENDESK_SUPPORT."MACROS_STG" 2022-04-22 10:56:35 normalization > -- MACROS from "AIRBYTE_DB".ZENDESK_SUPPORT._AIRBYTE_RAW_MACROS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > and cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) >= 2022-04-22 10:56:35 normalization > cast('2022-04-09 03:01:32.277000-07:00' as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > new_data_ids as ( 2022-04-22 10:56:35 normalization > -- build a subset of _AIRBYTE_UNIQUE_KEY from rows that are new 2022-04-22 10:56:35 normalization > select distinct 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_UNIQUE_KEY 2022-04-22 10:56:35 normalization > from new_data 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > empty_new_data as ( 2022-04-22 10:56:35 normalization > -- build an empty table to only keep the table's column types 2022-04-22 10:56:35 normalization > select * from new_data where 1 = 0 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > previous_active_scd_data as ( 2022-04-22 10:56:35 normalization > -- retrieve "incomplete old" data that needs to be updated with an end date because of new changes 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > this_data."_AIRBYTE_MACROS_HASHID", 2022-04-22 10:56:35 normalization > this_data."ID", 2022-04-22 10:56:35 normalization > this_data."URL", 2022-04-22 10:56:35 normalization > this_data."TITLE", 2022-04-22 10:56:35 normalization > this_data."ACTIVE", 2022-04-22 10:56:35 normalization > this_data."ACTIONS", 2022-04-22 10:56:35 normalization > this_data."POSITION", 2022-04-22 10:56:35 normalization > this_data."CREATED_AT", 2022-04-22 10:56:35 normalization > this_data."UPDATED_AT", 2022-04-22 10:56:35 normalization > this_data."DESCRIPTION", 2022-04-22 10:56:35 normalization > this_data."RESTRICTION", 2022-04-22 10:56:35 normalization > this_data."_AIRBYTE_AB_ID", 2022-04-22 10:56:35 normalization > this_data."_AIRBYTE_EMITTED_AT", 2022-04-22 10:56:35 normalization > this_data."_AIRBYTE_NORMALIZED_AT" 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."MACROS_SCD" as this_data 2022-04-22 10:56:35 normalization > -- make a join with new_data using primary key to filter active data that need to be updated only 2022-04-22 10:56:35 normalization > join new_data_ids on this_data._AIRBYTE_UNIQUE_KEY = new_data_ids._AIRBYTE_UNIQUE_KEY 2022-04-22 10:56:35 normalization > -- force left join to NULL values (we just need to transfer column types only for the star_intersect macro on schema changes) 2022-04-22 10:56:35 normalization > left join empty_new_data as inc_data on this_data._AIRBYTE_AB_ID = inc_data._AIRBYTE_AB_ID 2022-04-22 10:56:35 normalization > where _AIRBYTE_ACTIVE_ROW = 1 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > input_data as ( 2022-04-22 10:56:35 normalization > select "_AIRBYTE_MACROS_HASHID", 2022-04-22 10:56:35 normalization > "ID", 2022-04-22 10:56:35 normalization > "URL", 2022-04-22 10:56:35 normalization > "TITLE", 2022-04-22 10:56:35 normalization > "ACTIVE", 2022-04-22 10:56:35 normalization > "ACTIONS", 2022-04-22 10:56:35 normalization > "POSITION", 2022-04-22 10:56:35 normalization > "CREATED_AT", 2022-04-22 10:56:35 normalization > "UPDATED_AT", 2022-04-22 10:56:35 normalization > "DESCRIPTION", 2022-04-22 10:56:35 normalization > "RESTRICTION", 2022-04-22 10:56:35 normalization > "_AIRBYTE_AB_ID", 2022-04-22 10:56:35 normalization > "_AIRBYTE_EMITTED_AT", 2022-04-22 10:56:35 normalization > "_AIRBYTE_NORMALIZED_AT" from new_data 2022-04-22 10:56:35 normalization > union all 2022-04-22 10:56:35 normalization > select "_AIRBYTE_MACROS_HASHID", 2022-04-22 10:56:35 normalization > "ID", 2022-04-22 10:56:35 normalization > "URL", 2022-04-22 10:56:35 normalization > "TITLE", 2022-04-22 10:56:35 normalization > "ACTIVE", 2022-04-22 10:56:35 normalization > "ACTIONS", 2022-04-22 10:56:35 normalization > "POSITION", 2022-04-22 10:56:35 normalization > "CREATED_AT", 2022-04-22 10:56:35 normalization > "UPDATED_AT", 2022-04-22 10:56:35 normalization > "DESCRIPTION", 2022-04-22 10:56:35 normalization > "RESTRICTION", 2022-04-22 10:56:35 normalization > "_AIRBYTE_AB_ID", 2022-04-22 10:56:35 normalization > "_AIRBYTE_EMITTED_AT", 2022-04-22 10:56:35 normalization > "_AIRBYTE_NORMALIZED_AT" from previous_active_scd_data 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > scd_data as ( 2022-04-22 10:56:35 normalization > -- SQL model to build a Type 2 Slowly Changing Dimension (SCD) table for each record identified by their primary key 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_UNIQUE_KEY, 2022-04-22 10:56:35 normalization > ID, 2022-04-22 10:56:35 normalization > URL, 2022-04-22 10:56:35 normalization > TITLE, 2022-04-22 10:56:35 normalization > ACTIVE, 2022-04-22 10:56:35 normalization > ACTIONS, 2022-04-22 10:56:35 normalization > POSITION, 2022-04-22 10:56:35 normalization > CREATED_AT, 2022-04-22 10:56:35 normalization > UPDATED_AT, 2022-04-22 10:56:35 normalization > DESCRIPTION, 2022-04-22 10:56:35 normalization > RESTRICTION, 2022-04-22 10:56:35 normalization > UPDATED_AT as _AIRBYTE_START_AT, 2022-04-22 10:56:35 normalization > lag(UPDATED_AT) over ( 2022-04-22 10:56:35 normalization > partition by ID 2022-04-22 10:56:35 normalization > order by 2022-04-22 10:56:35 normalization > UPDATED_AT is null asc, 2022-04-22 10:56:35 normalization > UPDATED_AT desc, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT desc 2022-04-22 10:56:35 normalization > ) as _AIRBYTE_END_AT, 2022-04-22 10:56:35 normalization > case when row_number() over ( 2022-04-22 10:56:35 normalization > partition by ID 2022-04-22 10:56:35 normalization > order by 2022-04-22 10:56:35 normalization > UPDATED_AT is null asc, 2022-04-22 10:56:35 normalization > UPDATED_AT desc, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT desc 2022-04-22 10:56:35 normalization > ) = 1 then 1 else 0 end as _AIRBYTE_ACTIVE_ROW, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_MACROS_HASHID 2022-04-22 10:56:35 normalization > from input_data 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > dedup_data as ( 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > -- we need to ensure de-duplicated rows for merge/update queries 2022-04-22 10:56:35 normalization > -- additionally, we generate a unique key for the scd table 2022-04-22 10:56:35 normalization > row_number() over ( 2022-04-22 10:56:35 normalization > partition by 2022-04-22 10:56:35 normalization > _AIRBYTE_UNIQUE_KEY, 2022-04-22 10:56:35 normalization > _AIRBYTE_START_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT 2022-04-22 10:56:35 normalization > order by _AIRBYTE_ACTIVE_ROW desc, _AIRBYTE_AB_ID 2022-04-22 10:56:35 normalization > ) as _AIRBYTE_ROW_NUM, 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(_AIRBYTE_UNIQUE_KEY as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(_AIRBYTE_START_AT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_UNIQUE_KEY_SCD, 2022-04-22 10:56:35 normalization > scd_data.* 2022-04-22 10:56:35 normalization > from scd_data 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_UNIQUE_KEY, 2022-04-22 10:56:35 normalization > _AIRBYTE_UNIQUE_KEY_SCD, 2022-04-22 10:56:35 normalization > ID, 2022-04-22 10:56:35 normalization > URL, 2022-04-22 10:56:35 normalization > TITLE, 2022-04-22 10:56:35 normalization > ACTIVE, 2022-04-22 10:56:35 normalization > ACTIONS, 2022-04-22 10:56:35 normalization > POSITION, 2022-04-22 10:56:35 normalization > CREATED_AT, 2022-04-22 10:56:35 normalization > UPDATED_AT, 2022-04-22 10:56:35 normalization > DESCRIPTION, 2022-04-22 10:56:35 normalization > RESTRICTION, 2022-04-22 10:56:35 normalization > _AIRBYTE_START_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_END_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_ACTIVE_ROW, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_MACROS_HASHID 2022-04-22 10:56:35 normalization > from dedup_data where _AIRBYTE_ROW_NUM = 1 2022-04-22 10:56:35 normalization > ) order by (_AIRBYTE_ACTIVE_ROW, _AIRBYTE_UNIQUE_KEY_SCD, _AIRBYTE_EMITTED_AT) 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:55:25.666789 [debug] [Thread-3 ]: SQL status: SUCCESS 24 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:55:25.670705 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.ORGANIZATIONS_SCD" 2022-04-22 10:56:35 normalization > 10:55:25.670900 [debug] [Thread-3 ]: On model.airbyte_utils.ORGANIZATIONS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.ORGANIZATIONS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."ORGANIZATIONS_SCD" 2022-04-22 10:56:35 normalization > 10:55:25.675969 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 0.56 seconds 2022-04-22 10:56:35 normalization > 10:55:25.676186 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.GROUPS_SCD" 2022-04-22 10:56:35 normalization > 10:55:25.676297 [debug] [Thread-1 ]: On model.airbyte_utils.GROUPS_SCD: commit; 2022-04-22 10:56:35 normalization > 10:55:25.724717 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:55:25.731110 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.ORGANIZATIONS_SCD" 2022-04-22 10:56:35 normalization > 10:55:25.731329 [debug] [Thread-3 ]: On model.airbyte_utils.ORGANIZATIONS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.ORGANIZATIONS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"._AIRBYTE_ZENDESK_SUPPORT."ORGANIZATIONS_STG" 2022-04-22 10:56:35 normalization > 10:55:25.805857 [debug] [Thread-3 ]: SQL status: SUCCESS 19 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:55:25.812870 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.ORGANIZATIONS_SCD" 2022-04-22 10:56:35 normalization > 10:55:25.813076 [debug] [Thread-3 ]: On model.airbyte_utils.ORGANIZATIONS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.ORGANIZATIONS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."ORGANIZATIONS_SCD" 2022-04-22 10:56:35 normalization > 10:55:25.871604 [debug] [Thread-3 ]: SQL status: SUCCESS 24 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:55:25.881952 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.ORGANIZATIONS_SCD" 2022-04-22 10:56:35 normalization > 10:55:25.882190 [debug] [Thread-3 ]: On model.airbyte_utils.ORGANIZATIONS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.ORGANIZATIONS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"._AIRBYTE_ZENDESK_SUPPORT."ORGANIZATIONS_STG" 2022-04-22 10:56:35 normalization > 10:55:25.926580 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 0.25 seconds 2022-04-22 10:56:35 normalization > 10:55:25.928639 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.GROUPS_SCD" 2022-04-22 10:56:35 normalization > 10:55:25.929367 [debug] [Thread-1 ]: On model.airbyte_utils.GROUPS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.GROUPS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > drop view _AIRBYTE_ZENDESK_SUPPORT.GROUPS_STG 2022-04-22 10:56:35 normalization > 10:55:25.941497 [debug] [Thread-3 ]: SQL status: SUCCESS 19 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:55:25.954006 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.ORGANIZATIONS_SCD" 2022-04-22 10:56:35 normalization > 10:55:25.954195 [debug] [Thread-3 ]: On model.airbyte_utils.ORGANIZATIONS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.ORGANIZATIONS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"._AIRBYTE_ZENDESK_SUPPORT."ORGANIZATIONS_STG" 2022-04-22 10:56:35 normalization > 10:55:26.008940 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 0.08 seconds 2022-04-22 10:56:35 normalization > 10:55:26.012209 [debug] [Thread-1 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:26.012449 [debug] [Thread-1 ]: On model.airbyte_utils.GROUPS_SCD: Close 2022-04-22 10:56:35 normalization > 10:55:26.029628 [debug] [Thread-3 ]: SQL status: SUCCESS 19 in 0.08 seconds 2022-04-22 10:56:35 normalization > 10:55:26.038857 [debug] [Thread-3 ]: Writing injected SQL for node "model.airbyte_utils.ORGANIZATIONS_SCD" 2022-04-22 10:56:35 normalization > 10:55:26.046795 [debug] [Thread-3 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:26.047232 [debug] [Thread-3 ]: Began executing node model.airbyte_utils.ORGANIZATIONS_SCD 2022-04-22 10:56:35 normalization > 10:55:26.056643 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.ORGANIZATIONS_SCD" 2022-04-22 10:56:35 normalization > 10:55:26.056918 [debug] [Thread-3 ]: On model.airbyte_utils.ORGANIZATIONS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.ORGANIZATIONS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."ORGANIZATIONS_SCD" 2022-04-22 10:56:35 normalization > 10:55:26.108796 [debug] [Thread-3 ]: SQL status: SUCCESS 24 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:55:26.134695 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.ORGANIZATIONS_SCD" 2022-04-22 10:56:35 normalization > 10:55:26.135080 [debug] [Thread-3 ]: On model.airbyte_utils.ORGANIZATIONS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.ORGANIZATIONS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace temporary table "AIRBYTE_DB".ZENDESK_SUPPORT."ORGANIZATIONS_SCD__dbt_tmp" as 2022-04-22 10:56:35 normalization > (select * from( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- depends_on: ref('ORGANIZATIONS_STG') 2022-04-22 10:56:35 normalization > with 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > new_data as ( 2022-04-22 10:56:35 normalization > -- retrieve incremental "new" data 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > * 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB"._AIRBYTE_ZENDESK_SUPPORT."ORGANIZATIONS_STG" 2022-04-22 10:56:35 normalization > -- ORGANIZATIONS from "AIRBYTE_DB".ZENDESK_SUPPORT._AIRBYTE_RAW_ORGANIZATIONS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > and cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) >= 2022-04-22 10:56:35 normalization > cast('2022-04-21 22:53:24.995000-07:00' as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > new_data_ids as ( 2022-04-22 10:56:35 normalization > -- build a subset of _AIRBYTE_UNIQUE_KEY from rows that are new 2022-04-22 10:56:35 normalization > select distinct 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_UNIQUE_KEY 2022-04-22 10:56:35 normalization > from new_data 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > empty_new_data as ( 2022-04-22 10:56:35 normalization > -- build an empty table to only keep the table's column types 2022-04-22 10:56:35 normalization > select * from new_data where 1 = 0 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > previous_active_scd_data as ( 2022-04-22 10:56:35 normalization > -- retrieve "incomplete old" data that needs to be updated with an end date because of new changes 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > this_data."_AIRBYTE_ORGANIZATIONS_HASHID", 2022-04-22 10:56:35 normalization > this_data."ID", 2022-04-22 10:56:35 normalization > this_data."URL", 2022-04-22 10:56:35 normalization > this_data."NAME", 2022-04-22 10:56:35 normalization > this_data."TAGS", 2022-04-22 10:56:35 normalization > this_data."NOTES", 2022-04-22 10:56:35 normalization > this_data."DETAILS", 2022-04-22 10:56:35 normalization > this_data."GROUP_ID", 2022-04-22 10:56:35 normalization > this_data."CREATED_AT", 2022-04-22 10:56:35 normalization > this_data."DELETED_AT", 2022-04-22 10:56:35 normalization > this_data."UPDATED_AT", 2022-04-22 10:56:35 normalization > this_data."EXTERNAL_ID", 2022-04-22 10:56:35 normalization > this_data."DOMAIN_NAMES", 2022-04-22 10:56:35 normalization > this_data."SHARED_TICKETS", 2022-04-22 10:56:35 normalization > this_data."SHARED_COMMENTS", 2022-04-22 10:56:35 normalization > this_data."ORGANIZATION_FIELDS", 2022-04-22 10:56:35 normalization > this_data."_AIRBYTE_AB_ID", 2022-04-22 10:56:35 normalization > this_data."_AIRBYTE_EMITTED_AT", 2022-04-22 10:56:35 normalization > this_data."_AIRBYTE_NORMALIZED_AT" 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."ORGANIZATIONS_SCD" as this_data 2022-04-22 10:56:35 normalization > -- make a join with new_data using primary key to filter active data that need to be updated only 2022-04-22 10:56:35 normalization > join new_data_ids on this_data._AIRBYTE_UNIQUE_KEY = new_data_ids._AIRBYTE_UNIQUE_KEY 2022-04-22 10:56:35 normalization > -- force left join to NULL values (we just need to transfer column types only for the star_intersect macro on schema changes) 2022-04-22 10:56:35 normalization > left join empty_new_data as inc_data on this_data._AIRBYTE_AB_ID = inc_data._AIRBYTE_AB_ID 2022-04-22 10:56:35 normalization > where _AIRBYTE_ACTIVE_ROW = 1 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > input_data as ( 2022-04-22 10:56:35 normalization > select "_AIRBYTE_ORGANIZATIONS_HASHID", 2022-04-22 10:56:35 normalization > "ID", 2022-04-22 10:56:35 normalization > "URL", 2022-04-22 10:56:35 normalization > "NAME", 2022-04-22 10:56:35 normalization > "TAGS", 2022-04-22 10:56:35 normalization > "NOTES", 2022-04-22 10:56:35 normalization > "DETAILS", 2022-04-22 10:56:35 normalization > "GROUP_ID", 2022-04-22 10:56:35 normalization > "CREATED_AT", 2022-04-22 10:56:35 normalization > "DELETED_AT", 2022-04-22 10:56:35 normalization > "UPDATED_AT", 2022-04-22 10:56:35 normalization > "EXTERNAL_ID", 2022-04-22 10:56:35 normalization > "DOMAIN_NAMES", 2022-04-22 10:56:35 normalization > "SHARED_TICKETS", 2022-04-22 10:56:35 normalization > "SHARED_COMMENTS", 2022-04-22 10:56:35 normalization > "ORGANIZATION_FIELDS", 2022-04-22 10:56:35 normalization > "_AIRBYTE_AB_ID", 2022-04-22 10:56:35 normalization > "_AIRBYTE_EMITTED_AT", 2022-04-22 10:56:35 normalization > "_AIRBYTE_NORMALIZED_AT" from new_data 2022-04-22 10:56:35 normalization > union all 2022-04-22 10:56:35 normalization > select "_AIRBYTE_ORGANIZATIONS_HASHID", 2022-04-22 10:56:35 normalization > "ID", 2022-04-22 10:56:35 normalization > "URL", 2022-04-22 10:56:35 normalization > "NAME", 2022-04-22 10:56:35 normalization > "TAGS", 2022-04-22 10:56:35 normalization > "NOTES", 2022-04-22 10:56:35 normalization > "DETAILS", 2022-04-22 10:56:35 normalization > "GROUP_ID", 2022-04-22 10:56:35 normalization > "CREATED_AT", 2022-04-22 10:56:35 normalization > "DELETED_AT", 2022-04-22 10:56:35 normalization > "UPDATED_AT", 2022-04-22 10:56:35 normalization > "EXTERNAL_ID", 2022-04-22 10:56:35 normalization > "DOMAIN_NAMES", 2022-04-22 10:56:35 normalization > "SHARED_TICKETS", 2022-04-22 10:56:35 normalization > "SHARED_COMMENTS", 2022-04-22 10:56:35 normalization > "ORGANIZATION_FIELDS", 2022-04-22 10:56:35 normalization > "_AIRBYTE_AB_ID", 2022-04-22 10:56:35 normalization > "_AIRBYTE_EMITTED_AT", 2022-04-22 10:56:35 normalization > "_AIRBYTE_NORMALIZED_AT" from previous_active_scd_data 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > scd_data as ( 2022-04-22 10:56:35 normalization > -- SQL model to build a Type 2 Slowly Changing Dimension (SCD) table for each record identified by their primary key 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_UNIQUE_KEY, 2022-04-22 10:56:35 normalization > ID, 2022-04-22 10:56:35 normalization > URL, 2022-04-22 10:56:35 normalization > NAME, 2022-04-22 10:56:35 normalization > TAGS, 2022-04-22 10:56:35 normalization > NOTES, 2022-04-22 10:56:35 normalization > DETAILS, 2022-04-22 10:56:35 normalization > GROUP_ID, 2022-04-22 10:56:35 normalization > CREATED_AT, 2022-04-22 10:56:35 normalization > DELETED_AT, 2022-04-22 10:56:35 normalization > UPDATED_AT, 2022-04-22 10:56:35 normalization > EXTERNAL_ID, 2022-04-22 10:56:35 normalization > DOMAIN_NAMES, 2022-04-22 10:56:35 normalization > SHARED_TICKETS, 2022-04-22 10:56:35 normalization > SHARED_COMMENTS, 2022-04-22 10:56:35 normalization > ORGANIZATION_FIELDS, 2022-04-22 10:56:35 normalization > UPDATED_AT as _AIRBYTE_START_AT, 2022-04-22 10:56:35 normalization > lag(UPDATED_AT) over ( 2022-04-22 10:56:35 normalization > partition by ID 2022-04-22 10:56:35 normalization > order by 2022-04-22 10:56:35 normalization > UPDATED_AT is null asc, 2022-04-22 10:56:35 normalization > UPDATED_AT desc, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT desc 2022-04-22 10:56:35 normalization > ) as _AIRBYTE_END_AT, 2022-04-22 10:56:35 normalization > case when row_number() over ( 2022-04-22 10:56:35 normalization > partition by ID 2022-04-22 10:56:35 normalization > order by 2022-04-22 10:56:35 normalization > UPDATED_AT is null asc, 2022-04-22 10:56:35 normalization > UPDATED_AT desc, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT desc 2022-04-22 10:56:35 normalization > ) = 1 then 1 else 0 end as _AIRBYTE_ACTIVE_ROW, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_ORGANIZATIONS_HASHID 2022-04-22 10:56:35 normalization > from input_data 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > dedup_data as ( 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > -- we need to ensure de-duplicated rows for merge/update queries 2022-04-22 10:56:35 normalization > -- additionally, we generate a unique key for the scd table 2022-04-22 10:56:35 normalization > row_number() over ( 2022-04-22 10:56:35 normalization > partition by 2022-04-22 10:56:35 normalization > _AIRBYTE_UNIQUE_KEY, 2022-04-22 10:56:35 normalization > _AIRBYTE_START_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT 2022-04-22 10:56:35 normalization > order by _AIRBYTE_ACTIVE_ROW desc, _AIRBYTE_AB_ID 2022-04-22 10:56:35 normalization > ) as _AIRBYTE_ROW_NUM, 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(_AIRBYTE_UNIQUE_KEY as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(_AIRBYTE_START_AT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_UNIQUE_KEY_SCD, 2022-04-22 10:56:35 normalization > scd_data.* 2022-04-22 10:56:35 normalization > from scd_data 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_UNIQUE_KEY, 2022-04-22 10:56:35 normalization > _AIRBYTE_UNIQUE_KEY_SCD, 2022-04-22 10:56:35 normalization > ID, 2022-04-22 10:56:35 normalization > URL, 2022-04-22 10:56:35 normalization > NAME, 2022-04-22 10:56:35 normalization > TAGS, 2022-04-22 10:56:35 normalization > NOTES, 2022-04-22 10:56:35 normalization > DETAILS, 2022-04-22 10:56:35 normalization > GROUP_ID, 2022-04-22 10:56:35 normalization > CREATED_AT, 2022-04-22 10:56:35 normalization > DELETED_AT, 2022-04-22 10:56:35 normalization > UPDATED_AT, 2022-04-22 10:56:35 normalization > EXTERNAL_ID, 2022-04-22 10:56:35 normalization > DOMAIN_NAMES, 2022-04-22 10:56:35 normalization > SHARED_TICKETS, 2022-04-22 10:56:35 normalization > SHARED_COMMENTS, 2022-04-22 10:56:35 normalization > ORGANIZATION_FIELDS, 2022-04-22 10:56:35 normalization > _AIRBYTE_START_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_END_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_ACTIVE_ROW, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_ORGANIZATIONS_HASHID 2022-04-22 10:56:35 normalization > from dedup_data where _AIRBYTE_ROW_NUM = 1 2022-04-22 10:56:35 normalization > ) order by (_AIRBYTE_ACTIVE_ROW, _AIRBYTE_UNIQUE_KEY_SCD, _AIRBYTE_EMITTED_AT) 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:55:26.138645 [info ] [Thread-1 ]: 14 of 95 OK created incremental model ZENDESK_SUPPORT.GROUPS_SCD........................................................ [SUCCESS 1 in 6.18s] 2022-04-22 10:56:35 normalization > 10:55:26.139580 [debug] [Thread-1 ]: Finished running node model.airbyte_utils.GROUPS_SCD 2022-04-22 10:56:35 normalization > 10:55:26.139925 [debug] [Thread-1 ]: Began running node model.airbyte_utils.TICKET_AUDITS_SCD 2022-04-22 10:56:35 normalization > 10:55:26.142968 [info ] [Thread-1 ]: 22 of 95 START incremental model ZENDESK_SUPPORT.TICKET_AUDITS_SCD...................................................... [RUN] 2022-04-22 10:56:35 normalization > 10:55:26.143748 [debug] [Thread-1 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS_SCD" 2022-04-22 10:56:35 normalization > 10:55:26.143961 [debug] [Thread-1 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS_SCD 2022-04-22 10:56:35 normalization > 10:55:26.144248 [debug] [Thread-1 ]: Compiling model.airbyte_utils.TICKET_AUDITS_SCD 2022-04-22 10:56:35 normalization > 10:55:26.174428 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_SCD" 2022-04-22 10:56:35 normalization > 10:55:26.174679 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_SCD" 2022-04-22 10:56:35 normalization > 10:55:26.174793 [debug] [Thread-1 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:55:26.397470 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 1.39 seconds 2022-04-22 10:56:35 normalization > 10:55:26.417772 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.GROUP_MEMBERSHIPS_SCD" 2022-04-22 10:56:35 normalization > 10:55:26.418110 [debug] [Thread-2 ]: On model.airbyte_utils.GROUP_MEMBERSHIPS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.GROUP_MEMBERSHIPS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."GROUP_MEMBERSHIPS_SCD__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:55:26.531556 [debug] [Thread-2 ]: SQL status: SUCCESS 16 in 0.11 seconds 2022-04-22 10:56:35 normalization > 10:55:26.543233 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.GROUP_MEMBERSHIPS_SCD" 2022-04-22 10:56:35 normalization > 10:55:26.543495 [debug] [Thread-2 ]: On model.airbyte_utils.GROUP_MEMBERSHIPS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.GROUP_MEMBERSHIPS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."GROUP_MEMBERSHIPS_SCD" 2022-04-22 10:56:35 normalization > 10:55:26.601846 [debug] [Thread-2 ]: SQL status: SUCCESS 16 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:55:26.607140 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.GROUP_MEMBERSHIPS_SCD" 2022-04-22 10:56:35 normalization > 10:55:26.607357 [debug] [Thread-2 ]: On model.airbyte_utils.GROUP_MEMBERSHIPS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.GROUP_MEMBERSHIPS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."GROUP_MEMBERSHIPS_SCD__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:55:26.673995 [debug] [Thread-2 ]: SQL status: SUCCESS 16 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:55:26.679035 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.GROUP_MEMBERSHIPS_SCD" 2022-04-22 10:56:35 normalization > 10:55:26.679347 [debug] [Thread-2 ]: On model.airbyte_utils.GROUP_MEMBERSHIPS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.GROUP_MEMBERSHIPS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"."ZENDESK_SUPPORT"."GROUP_MEMBERSHIPS_SCD" 2022-04-22 10:56:35 normalization > 10:55:26.735296 [debug] [Thread-1 ]: SQL status: SUCCESS 16 in 0.56 seconds 2022-04-22 10:56:35 normalization > 10:55:26.746183 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_SCD" 2022-04-22 10:56:35 normalization > 10:55:26.746452 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_SCD" 2022-04-22 10:56:35 normalization > 10:55:26.819863 [debug] [Thread-1 ]: SQL status: SUCCESS 16 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:55:26.832195 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_SCD" 2022-04-22 10:56:35 normalization > 10:55:26.832452 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_SCD" 2022-04-22 10:56:35 normalization > 10:55:26.872199 [debug] [Thread-2 ]: SQL status: SUCCESS 16 in 0.19 seconds 2022-04-22 10:56:35 normalization > 10:55:26.876259 [debug] [Thread-2 ]: 2022-04-22 10:56:35 normalization > In "AIRBYTE_DB"."ZENDESK_SUPPORT"."GROUP_MEMBERSHIPS_SCD": 2022-04-22 10:56:35 normalization > Schema changed: False 2022-04-22 10:56:35 normalization > Source columns not in target: [] 2022-04-22 10:56:35 normalization > Target columns not in source: [] 2022-04-22 10:56:35 normalization > New column types: [] 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 10:55:26.877964 [debug] [Thread-2 ]: Writing runtime SQL for node "model.airbyte_utils.GROUP_MEMBERSHIPS_SCD" 2022-04-22 10:56:35 normalization > 10:55:26.879609 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.GROUP_MEMBERSHIPS_SCD" 2022-04-22 10:56:35 normalization > 10:55:26.879751 [debug] [Thread-2 ]: On model.airbyte_utils.GROUP_MEMBERSHIPS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.GROUP_MEMBERSHIPS_SCD"} */ 2022-04-22 10:56:35 normalization > begin; 2022-04-22 10:56:35 normalization > 10:55:26.882698 [debug] [Thread-1 ]: SQL status: SUCCESS 16 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:55:26.885845 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_SCD" 2022-04-22 10:56:35 normalization > 10:55:26.886165 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_SCD" 2022-04-22 10:56:35 normalization > 10:55:26.895041 [debug] [Thread-4 ]: SQL status: SUCCESS 1 in 1.78 seconds 2022-04-22 10:56:35 normalization > 10:55:26.899417 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.SATISFACTION_RATINGS_SCD" 2022-04-22 10:56:35 normalization > 10:55:26.899583 [debug] [Thread-4 ]: On model.airbyte_utils.SATISFACTION_RATINGS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.SATISFACTION_RATINGS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."SATISFACTION_RATINGS_SCD__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:55:26.983958 [debug] [Thread-4 ]: SQL status: SUCCESS 21 in 0.08 seconds 2022-04-22 10:56:35 normalization > 10:55:26.989717 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.SATISFACTION_RATINGS_SCD" 2022-04-22 10:56:35 normalization > 10:55:26.989934 [debug] [Thread-4 ]: On model.airbyte_utils.SATISFACTION_RATINGS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.SATISFACTION_RATINGS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."SATISFACTION_RATINGS_SCD" 2022-04-22 10:56:35 normalization > 10:55:27.015897 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 0.14 seconds 2022-04-22 10:56:35 normalization > 10:55:27.016291 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.GROUP_MEMBERSHIPS_SCD" 2022-04-22 10:56:35 normalization > 10:55:27.016410 [debug] [Thread-2 ]: On model.airbyte_utils.GROUP_MEMBERSHIPS_SCD: merge into "AIRBYTE_DB".ZENDESK_SUPPORT."GROUP_MEMBERSHIPS_SCD" as DBT_INTERNAL_DEST 2022-04-22 10:56:35 normalization > using "AIRBYTE_DB".ZENDESK_SUPPORT."GROUP_MEMBERSHIPS_SCD__dbt_tmp" as DBT_INTERNAL_SOURCE 2022-04-22 10:56:35 normalization > on 2022-04-22 10:56:35 normalization > DBT_INTERNAL_SOURCE._AIRBYTE_UNIQUE_KEY_SCD = DBT_INTERNAL_DEST._AIRBYTE_UNIQUE_KEY_SCD 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > when matched then update set 2022-04-22 10:56:35 normalization > "_AIRBYTE_UNIQUE_KEY" = DBT_INTERNAL_SOURCE."_AIRBYTE_UNIQUE_KEY","_AIRBYTE_UNIQUE_KEY_SCD" = DBT_INTERNAL_SOURCE."_AIRBYTE_UNIQUE_KEY_SCD","ID" = DBT_INTERNAL_SOURCE."ID","URL" = DBT_INTERNAL_SOURCE."URL","default" = DBT_INTERNAL_SOURCE."default","USER_ID" = DBT_INTERNAL_SOURCE."USER_ID","GROUP_ID" = DBT_INTERNAL_SOURCE."GROUP_ID","CREATED_AT" = DBT_INTERNAL_SOURCE."CREATED_AT","UPDATED_AT" = DBT_INTERNAL_SOURCE."UPDATED_AT","_AIRBYTE_START_AT" = DBT_INTERNAL_SOURCE."_AIRBYTE_START_AT","_AIRBYTE_END_AT" = DBT_INTERNAL_SOURCE."_AIRBYTE_END_AT","_AIRBYTE_ACTIVE_ROW" = DBT_INTERNAL_SOURCE."_AIRBYTE_ACTIVE_ROW","_AIRBYTE_AB_ID" = DBT_INTERNAL_SOURCE."_AIRBYTE_AB_ID","_AIRBYTE_EMITTED_AT" = DBT_INTERNAL_SOURCE."_AIRBYTE_EMITTED_AT","_AIRBYTE_NORMALIZED_AT" = DBT_INTERNAL_SOURCE."_AIRBYTE_NORMALIZED_AT","_AIRBYTE_GROUP_MEMBERSHIPS_HASHID" = DBT_INTERNAL_SOURCE."_AIRBYTE_GROUP_MEMBERSHIPS_HASHID" 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > when not matched then insert 2022-04-22 10:56:35 normalization > ("_AIRBYTE_UNIQUE_KEY", "_AIRBYTE_UNIQUE_KEY_SCD", "ID", "URL", "default", "USER_ID", "GROUP_ID", "CREATED_AT", "UPDATED_AT", "_AIRBYTE_START_AT", "_AIRBYTE_END_AT", "_AIRBYTE_ACTIVE_ROW", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_GROUP_MEMBERSHIPS_HASHID") 2022-04-22 10:56:35 normalization > values 2022-04-22 10:56:35 normalization > ("_AIRBYTE_UNIQUE_KEY", "_AIRBYTE_UNIQUE_KEY_SCD", "ID", "URL", "default", "USER_ID", "GROUP_ID", "CREATED_AT", "UPDATED_AT", "_AIRBYTE_START_AT", "_AIRBYTE_END_AT", "_AIRBYTE_ACTIVE_ROW", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_GROUP_MEMBERSHIPS_HASHID") 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ; 2022-04-22 10:56:35 normalization > 10:55:27.055731 [debug] [Thread-4 ]: SQL status: SUCCESS 21 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:55:27.061531 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.SATISFACTION_RATINGS_SCD" 2022-04-22 10:56:35 normalization > 10:55:27.061771 [debug] [Thread-4 ]: On model.airbyte_utils.SATISFACTION_RATINGS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.SATISFACTION_RATINGS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."SATISFACTION_RATINGS_SCD__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:55:27.071816 [debug] [Thread-5 ]: SQL status: SUCCESS 1 in 1.46 seconds 2022-04-22 10:56:35 normalization > 10:55:27.076107 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.MACROS_SCD" 2022-04-22 10:56:35 normalization > 10:55:27.076330 [debug] [Thread-5 ]: On model.airbyte_utils.MACROS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.MACROS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."MACROS_SCD__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:55:27.167670 [debug] [Thread-5 ]: SQL status: SUCCESS 19 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:55:27.173158 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.MACROS_SCD" 2022-04-22 10:56:35 normalization > 10:55:27.173391 [debug] [Thread-5 ]: On model.airbyte_utils.MACROS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.MACROS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."MACROS_SCD" 2022-04-22 10:56:35 normalization > 10:55:27.255897 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 0.37 seconds 2022-04-22 10:56:35 normalization > 10:55:27.267603 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_SCD" 2022-04-22 10:56:35 normalization > 10:55:27.267849 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_SCD" 2022-04-22 10:56:35 normalization > 10:55:27.292254 [debug] [Thread-5 ]: SQL status: SUCCESS 19 in 0.12 seconds 2022-04-22 10:56:35 normalization > 10:55:27.293407 [debug] [Thread-4 ]: SQL status: SUCCESS 21 in 0.23 seconds 2022-04-22 10:56:35 normalization > 10:55:27.299183 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.MACROS_SCD" 2022-04-22 10:56:35 normalization > 10:55:27.304412 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.SATISFACTION_RATINGS_SCD" 2022-04-22 10:56:35 normalization > 10:55:27.304735 [debug] [Thread-5 ]: On model.airbyte_utils.MACROS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.MACROS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."MACROS_SCD__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:55:27.304978 [debug] [Thread-4 ]: On model.airbyte_utils.SATISFACTION_RATINGS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.SATISFACTION_RATINGS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"."ZENDESK_SUPPORT"."SATISFACTION_RATINGS_SCD" 2022-04-22 10:56:35 normalization > 10:55:27.323915 [debug] [Thread-1 ]: SQL status: SUCCESS 16 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:55:27.327114 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_SCD" 2022-04-22 10:56:35 normalization > 10:55:27.327329 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_SCD" 2022-04-22 10:56:35 normalization > 10:55:27.360249 [debug] [Thread-4 ]: SQL status: SUCCESS 21 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:55:27.365312 [debug] [Thread-4 ]: 2022-04-22 10:56:35 normalization > In "AIRBYTE_DB"."ZENDESK_SUPPORT"."SATISFACTION_RATINGS_SCD": 2022-04-22 10:56:35 normalization > Schema changed: False 2022-04-22 10:56:35 normalization > Source columns not in target: [] 2022-04-22 10:56:35 normalization > Target columns not in source: [] 2022-04-22 10:56:35 normalization > New column types: [] 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 10:55:27.367213 [debug] [Thread-4 ]: Writing runtime SQL for node "model.airbyte_utils.SATISFACTION_RATINGS_SCD" 2022-04-22 10:56:35 normalization > 10:55:27.369141 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.SATISFACTION_RATINGS_SCD" 2022-04-22 10:56:35 normalization > 10:55:27.369299 [debug] [Thread-4 ]: On model.airbyte_utils.SATISFACTION_RATINGS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.SATISFACTION_RATINGS_SCD"} */ 2022-04-22 10:56:35 normalization > begin; 2022-04-22 10:56:35 normalization > 10:55:27.397887 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:55:27.404635 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_SCD" 2022-04-22 10:56:35 normalization > 10:55:27.406071 [debug] [Thread-5 ]: SQL status: SUCCESS 19 in 0.1 seconds 2022-04-22 10:56:35 normalization > 10:55:27.406271 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"._AIRBYTE_ZENDESK_SUPPORT."TICKET_AUDITS_STG" 2022-04-22 10:56:35 normalization > 10:55:27.411238 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.MACROS_SCD" 2022-04-22 10:56:35 normalization > 10:55:27.411992 [debug] [Thread-5 ]: On model.airbyte_utils.MACROS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.MACROS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"."ZENDESK_SUPPORT"."MACROS_SCD" 2022-04-22 10:56:35 normalization > 10:55:27.463094 [debug] [Thread-4 ]: SQL status: SUCCESS 1 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:55:27.463485 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.SATISFACTION_RATINGS_SCD" 2022-04-22 10:56:35 normalization > 10:55:27.463604 [debug] [Thread-4 ]: On model.airbyte_utils.SATISFACTION_RATINGS_SCD: merge into "AIRBYTE_DB".ZENDESK_SUPPORT."SATISFACTION_RATINGS_SCD" as DBT_INTERNAL_DEST 2022-04-22 10:56:35 normalization > using "AIRBYTE_DB".ZENDESK_SUPPORT."SATISFACTION_RATINGS_SCD__dbt_tmp" as DBT_INTERNAL_SOURCE 2022-04-22 10:56:35 normalization > on 2022-04-22 10:56:35 normalization > DBT_INTERNAL_SOURCE._AIRBYTE_UNIQUE_KEY_SCD = DBT_INTERNAL_DEST._AIRBYTE_UNIQUE_KEY_SCD 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > when matched then update set 2022-04-22 10:56:35 normalization > "_AIRBYTE_UNIQUE_KEY" = DBT_INTERNAL_SOURCE."_AIRBYTE_UNIQUE_KEY","_AIRBYTE_UNIQUE_KEY_SCD" = DBT_INTERNAL_SOURCE."_AIRBYTE_UNIQUE_KEY_SCD","ID" = DBT_INTERNAL_SOURCE."ID","URL" = DBT_INTERNAL_SOURCE."URL","SCORE" = DBT_INTERNAL_SOURCE."SCORE","REASON" = DBT_INTERNAL_SOURCE."REASON","COMMENT" = DBT_INTERNAL_SOURCE."COMMENT","GROUP_ID" = DBT_INTERNAL_SOURCE."GROUP_ID","REASON_ID" = DBT_INTERNAL_SOURCE."REASON_ID","TICKET_ID" = DBT_INTERNAL_SOURCE."TICKET_ID","CREATED_AT" = DBT_INTERNAL_SOURCE."CREATED_AT","UPDATED_AT" = DBT_INTERNAL_SOURCE."UPDATED_AT","ASSIGNEE_ID" = DBT_INTERNAL_SOURCE."ASSIGNEE_ID","REQUESTER_ID" = DBT_INTERNAL_SOURCE."REQUESTER_ID","_AIRBYTE_START_AT" = DBT_INTERNAL_SOURCE."_AIRBYTE_START_AT","_AIRBYTE_END_AT" = DBT_INTERNAL_SOURCE."_AIRBYTE_END_AT","_AIRBYTE_ACTIVE_ROW" = DBT_INTERNAL_SOURCE."_AIRBYTE_ACTIVE_ROW","_AIRBYTE_AB_ID" = DBT_INTERNAL_SOURCE."_AIRBYTE_AB_ID","_AIRBYTE_EMITTED_AT" = DBT_INTERNAL_SOURCE."_AIRBYTE_EMITTED_AT","_AIRBYTE_NORMALIZED_AT" = DBT_INTERNAL_SOURCE."_AIRBYTE_NORMALIZED_AT","_AIRBYTE_SATISFACTION_RATINGS_HASHID" = DBT_INTERNAL_SOURCE."_AIRBYTE_SATISFACTION_RATINGS_HASHID" 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > when not matched then insert 2022-04-22 10:56:35 normalization > ("_AIRBYTE_UNIQUE_KEY", "_AIRBYTE_UNIQUE_KEY_SCD", "ID", "URL", "SCORE", "REASON", "COMMENT", "GROUP_ID", "REASON_ID", "TICKET_ID", "CREATED_AT", "UPDATED_AT", "ASSIGNEE_ID", "REQUESTER_ID", "_AIRBYTE_START_AT", "_AIRBYTE_END_AT", "_AIRBYTE_ACTIVE_ROW", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_SATISFACTION_RATINGS_HASHID") 2022-04-22 10:56:35 normalization > values 2022-04-22 10:56:35 normalization > ("_AIRBYTE_UNIQUE_KEY", "_AIRBYTE_UNIQUE_KEY_SCD", "ID", "URL", "SCORE", "REASON", "COMMENT", "GROUP_ID", "REASON_ID", "TICKET_ID", "CREATED_AT", "UPDATED_AT", "ASSIGNEE_ID", "REQUESTER_ID", "_AIRBYTE_START_AT", "_AIRBYTE_END_AT", "_AIRBYTE_ACTIVE_ROW", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_SATISFACTION_RATINGS_HASHID") 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ; 2022-04-22 10:56:35 normalization > 10:55:27.468208 [debug] [Thread-5 ]: SQL status: SUCCESS 19 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:55:27.473028 [debug] [Thread-5 ]: 2022-04-22 10:56:35 normalization > In "AIRBYTE_DB"."ZENDESK_SUPPORT"."MACROS_SCD": 2022-04-22 10:56:35 normalization > Schema changed: False 2022-04-22 10:56:35 normalization > Source columns not in target: [] 2022-04-22 10:56:35 normalization > Target columns not in source: [] 2022-04-22 10:56:35 normalization > New column types: [] 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 10:55:27.474853 [debug] [Thread-5 ]: Writing runtime SQL for node "model.airbyte_utils.MACROS_SCD" 2022-04-22 10:56:35 normalization > 10:55:27.476596 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.MACROS_SCD" 2022-04-22 10:56:35 normalization > 10:55:27.476739 [debug] [Thread-5 ]: On model.airbyte_utils.MACROS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.MACROS_SCD"} */ 2022-04-22 10:56:35 normalization > begin; 2022-04-22 10:56:35 normalization > 10:55:27.487727 [debug] [Thread-1 ]: SQL status: SUCCESS 11 in 0.08 seconds 2022-04-22 10:56:35 normalization > 10:55:27.605434 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_SCD" 2022-04-22 10:56:35 normalization > 10:55:27.606287 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 0.59 seconds 2022-04-22 10:56:35 normalization > 10:55:27.608799 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_SCD" 2022-04-22 10:56:35 normalization > 10:55:27.609404 [debug] [Thread-5 ]: SQL status: SUCCESS 1 in 0.13 seconds 2022-04-22 10:56:35 normalization > 10:55:27.609748 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.GROUP_MEMBERSHIPS_SCD" 2022-04-22 10:56:35 normalization > 10:55:27.612434 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.MACROS_SCD" 2022-04-22 10:56:35 normalization > 10:55:27.612766 [debug] [Thread-2 ]: On model.airbyte_utils.GROUP_MEMBERSHIPS_SCD: commit; 2022-04-22 10:56:35 normalization > 10:55:27.613522 [debug] [Thread-5 ]: On model.airbyte_utils.MACROS_SCD: merge into "AIRBYTE_DB".ZENDESK_SUPPORT."MACROS_SCD" as DBT_INTERNAL_DEST 2022-04-22 10:56:35 normalization > using "AIRBYTE_DB".ZENDESK_SUPPORT."MACROS_SCD__dbt_tmp" as DBT_INTERNAL_SOURCE 2022-04-22 10:56:35 normalization > on 2022-04-22 10:56:35 normalization > DBT_INTERNAL_SOURCE._AIRBYTE_UNIQUE_KEY_SCD = DBT_INTERNAL_DEST._AIRBYTE_UNIQUE_KEY_SCD 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > when matched then update set 2022-04-22 10:56:35 normalization > "_AIRBYTE_UNIQUE_KEY" = DBT_INTERNAL_SOURCE."_AIRBYTE_UNIQUE_KEY","_AIRBYTE_UNIQUE_KEY_SCD" = DBT_INTERNAL_SOURCE."_AIRBYTE_UNIQUE_KEY_SCD","ID" = DBT_INTERNAL_SOURCE."ID","URL" = DBT_INTERNAL_SOURCE."URL","TITLE" = DBT_INTERNAL_SOURCE."TITLE","ACTIVE" = DBT_INTERNAL_SOURCE."ACTIVE","ACTIONS" = DBT_INTERNAL_SOURCE."ACTIONS","POSITION" = DBT_INTERNAL_SOURCE."POSITION","CREATED_AT" = DBT_INTERNAL_SOURCE."CREATED_AT","UPDATED_AT" = DBT_INTERNAL_SOURCE."UPDATED_AT","DESCRIPTION" = DBT_INTERNAL_SOURCE."DESCRIPTION","RESTRICTION" = DBT_INTERNAL_SOURCE."RESTRICTION","_AIRBYTE_START_AT" = DBT_INTERNAL_SOURCE."_AIRBYTE_START_AT","_AIRBYTE_END_AT" = DBT_INTERNAL_SOURCE."_AIRBYTE_END_AT","_AIRBYTE_ACTIVE_ROW" = DBT_INTERNAL_SOURCE."_AIRBYTE_ACTIVE_ROW","_AIRBYTE_AB_ID" = DBT_INTERNAL_SOURCE."_AIRBYTE_AB_ID","_AIRBYTE_EMITTED_AT" = DBT_INTERNAL_SOURCE."_AIRBYTE_EMITTED_AT","_AIRBYTE_NORMALIZED_AT" = DBT_INTERNAL_SOURCE."_AIRBYTE_NORMALIZED_AT","_AIRBYTE_MACROS_HASHID" = DBT_INTERNAL_SOURCE."_AIRBYTE_MACROS_HASHID" 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > when not matched then insert 2022-04-22 10:56:35 normalization > ("_AIRBYTE_UNIQUE_KEY", "_AIRBYTE_UNIQUE_KEY_SCD", "ID", "URL", "TITLE", "ACTIVE", "ACTIONS", "POSITION", "CREATED_AT", "UPDATED_AT", "DESCRIPTION", "RESTRICTION", "_AIRBYTE_START_AT", "_AIRBYTE_END_AT", "_AIRBYTE_ACTIVE_ROW", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_MACROS_HASHID") 2022-04-22 10:56:35 normalization > values 2022-04-22 10:56:35 normalization > ("_AIRBYTE_UNIQUE_KEY", "_AIRBYTE_UNIQUE_KEY_SCD", "ID", "URL", "TITLE", "ACTIVE", "ACTIONS", "POSITION", "CREATED_AT", "UPDATED_AT", "DESCRIPTION", "RESTRICTION", "_AIRBYTE_START_AT", "_AIRBYTE_END_AT", "_AIRBYTE_ACTIVE_ROW", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_MACROS_HASHID") 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ; 2022-04-22 10:56:35 normalization > 10:55:27.677539 [debug] [Thread-1 ]: SQL status: SUCCESS 16 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:55:27.686985 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_SCD" 2022-04-22 10:56:35 normalization > 10:55:27.687204 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"._AIRBYTE_ZENDESK_SUPPORT."TICKET_AUDITS_STG" 2022-04-22 10:56:35 normalization > 10:55:28.049780 [debug] [Thread-1 ]: SQL status: SUCCESS 11 in 0.36 seconds 2022-04-22 10:56:35 normalization > 10:55:28.057649 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_SCD" 2022-04-22 10:56:35 normalization > 10:55:28.057878 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"._AIRBYTE_ZENDESK_SUPPORT."TICKET_AUDITS_STG" 2022-04-22 10:56:35 normalization > 10:55:28.098210 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 1.96 seconds 2022-04-22 10:56:35 normalization > 10:55:28.104497 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.ORGANIZATIONS_SCD" 2022-04-22 10:56:35 normalization > 10:55:28.104799 [debug] [Thread-3 ]: On model.airbyte_utils.ORGANIZATIONS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.ORGANIZATIONS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."ORGANIZATIONS_SCD__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:55:28.118919 [debug] [Thread-1 ]: SQL status: SUCCESS 11 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:55:28.126833 [debug] [Thread-1 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS_SCD" 2022-04-22 10:56:35 normalization > 10:55:28.127238 [debug] [Thread-1 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:28.127413 [debug] [Thread-1 ]: Began executing node model.airbyte_utils.TICKET_AUDITS_SCD 2022-04-22 10:56:35 normalization > 10:55:28.132796 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_SCD" 2022-04-22 10:56:35 normalization > 10:55:28.133000 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_SCD" 2022-04-22 10:56:35 normalization > 10:55:28.207646 [debug] [Thread-3 ]: SQL status: SUCCESS 24 in 0.1 seconds 2022-04-22 10:56:35 normalization > 10:55:28.214009 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.ORGANIZATIONS_SCD" 2022-04-22 10:56:35 normalization > 10:55:28.214835 [debug] [Thread-3 ]: On model.airbyte_utils.ORGANIZATIONS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.ORGANIZATIONS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."ORGANIZATIONS_SCD" 2022-04-22 10:56:35 normalization > 10:55:28.215715 [debug] [Thread-1 ]: SQL status: SUCCESS 16 in 0.08 seconds 2022-04-22 10:56:35 normalization > 10:55:28.217439 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 0.6 seconds 2022-04-22 10:56:35 normalization > 10:55:28.232536 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_SCD" 2022-04-22 10:56:35 normalization > 10:55:28.235078 [debug] [Thread-5 ]: SQL status: SUCCESS 1 in 0.62 seconds 2022-04-22 10:56:35 normalization > 10:55:28.237044 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.GROUP_MEMBERSHIPS_SCD" 2022-04-22 10:56:35 normalization > 10:55:28.237282 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace temporary table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_SCD__dbt_tmp" as 2022-04-22 10:56:35 normalization > (select * from( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- depends_on: ref('TICKET_AUDITS_STG') 2022-04-22 10:56:35 normalization > with 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > new_data as ( 2022-04-22 10:56:35 normalization > -- retrieve incremental "new" data 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > * 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB"._AIRBYTE_ZENDESK_SUPPORT."TICKET_AUDITS_STG" 2022-04-22 10:56:35 normalization > -- TICKET_AUDITS from "AIRBYTE_DB".ZENDESK_SUPPORT._AIRBYTE_RAW_TICKET_AUDITS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > and cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) >= 2022-04-22 10:56:35 normalization > cast('2022-04-22 10:47:49.699000-07:00' as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > new_data_ids as ( 2022-04-22 10:56:35 normalization > -- build a subset of _AIRBYTE_UNIQUE_KEY from rows that are new 2022-04-22 10:56:35 normalization > select distinct 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_UNIQUE_KEY 2022-04-22 10:56:35 normalization > from new_data 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > empty_new_data as ( 2022-04-22 10:56:35 normalization > -- build an empty table to only keep the table's column types 2022-04-22 10:56:35 normalization > select * from new_data where 1 = 0 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > previous_active_scd_data as ( 2022-04-22 10:56:35 normalization > -- retrieve "incomplete old" data that needs to be updated with an end date because of new changes 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > this_data."_AIRBYTE_TICKET_AUDITS_HASHID", 2022-04-22 10:56:35 normalization > this_data."ID", 2022-04-22 10:56:35 normalization > this_data."VIA", 2022-04-22 10:56:35 normalization > this_data."EVENTS", 2022-04-22 10:56:35 normalization > this_data."METADATA", 2022-04-22 10:56:35 normalization > this_data."AUTHOR_ID", 2022-04-22 10:56:35 normalization > this_data."TICKET_ID", 2022-04-22 10:56:35 normalization > this_data."CREATED_AT", 2022-04-22 10:56:35 normalization > this_data."_AIRBYTE_AB_ID", 2022-04-22 10:56:35 normalization > this_data."_AIRBYTE_EMITTED_AT", 2022-04-22 10:56:35 normalization > this_data."_AIRBYTE_NORMALIZED_AT" 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_SCD" as this_data 2022-04-22 10:56:35 normalization > -- make a join with new_data using primary key to filter active data that need to be updated only 2022-04-22 10:56:35 normalization > join new_data_ids on this_data._AIRBYTE_UNIQUE_KEY = new_data_ids._AIRBYTE_UNIQUE_KEY 2022-04-22 10:56:35 normalization > -- force left join to NULL values (we just need to transfer column types only for the star_intersect macro on schema changes) 2022-04-22 10:56:35 normalization > left join empty_new_data as inc_data on this_data._AIRBYTE_AB_ID = inc_data._AIRBYTE_AB_ID 2022-04-22 10:56:35 normalization > where _AIRBYTE_ACTIVE_ROW = 1 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > input_data as ( 2022-04-22 10:56:35 normalization > select "_AIRBYTE_TICKET_AUDITS_HASHID", 2022-04-22 10:56:35 normalization > "ID", 2022-04-22 10:56:35 normalization > "VIA", 2022-04-22 10:56:35 normalization > "EVENTS", 2022-04-22 10:56:35 normalization > "METADATA", 2022-04-22 10:56:35 normalization > "AUTHOR_ID", 2022-04-22 10:56:35 normalization > "TICKET_ID", 2022-04-22 10:56:35 normalization > "CREATED_AT", 2022-04-22 10:56:35 normalization > "_AIRBYTE_AB_ID", 2022-04-22 10:56:35 normalization > "_AIRBYTE_EMITTED_AT", 2022-04-22 10:56:35 normalization > "_AIRBYTE_NORMALIZED_AT" from new_data 2022-04-22 10:56:35 normalization > union all 2022-04-22 10:56:35 normalization > select "_AIRBYTE_TICKET_AUDITS_HASHID", 2022-04-22 10:56:35 normalization > "ID", 2022-04-22 10:56:35 normalization > "VIA", 2022-04-22 10:56:35 normalization > "EVENTS", 2022-04-22 10:56:35 normalization > "METADATA", 2022-04-22 10:56:35 normalization > "AUTHOR_ID", 2022-04-22 10:56:35 normalization > "TICKET_ID", 2022-04-22 10:56:35 normalization > "CREATED_AT", 2022-04-22 10:56:35 normalization > "_AIRBYTE_AB_ID", 2022-04-22 10:56:35 normalization > "_AIRBYTE_EMITTED_AT", 2022-04-22 10:56:35 normalization > "_AIRBYTE_NORMALIZED_AT" from previous_active_scd_data 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > scd_data as ( 2022-04-22 10:56:35 normalization > -- SQL model to build a Type 2 Slowly Changing Dimension (SCD) table for each record identified by their primary key 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_UNIQUE_KEY, 2022-04-22 10:56:35 normalization > ID, 2022-04-22 10:56:35 normalization > VIA, 2022-04-22 10:56:35 normalization > EVENTS, 2022-04-22 10:56:35 normalization > METADATA, 2022-04-22 10:56:35 normalization > AUTHOR_ID, 2022-04-22 10:56:35 normalization > TICKET_ID, 2022-04-22 10:56:35 normalization > CREATED_AT, 2022-04-22 10:56:35 normalization > CREATED_AT as _AIRBYTE_START_AT, 2022-04-22 10:56:35 normalization > lag(CREATED_AT) over ( 2022-04-22 10:56:35 normalization > partition by ID 2022-04-22 10:56:35 normalization > order by 2022-04-22 10:56:35 normalization > CREATED_AT is null asc, 2022-04-22 10:56:35 normalization > CREATED_AT desc, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT desc 2022-04-22 10:56:35 normalization > ) as _AIRBYTE_END_AT, 2022-04-22 10:56:35 normalization > case when row_number() over ( 2022-04-22 10:56:35 normalization > partition by ID 2022-04-22 10:56:35 normalization > order by 2022-04-22 10:56:35 normalization > CREATED_AT is null asc, 2022-04-22 10:56:35 normalization > CREATED_AT desc, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT desc 2022-04-22 10:56:35 normalization > ) = 1 then 1 else 0 end as _AIRBYTE_ACTIVE_ROW, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_TICKET_AUDITS_HASHID 2022-04-22 10:56:35 normalization > from input_data 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > dedup_data as ( 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > -- we need to ensure de-duplicated rows for merge/update queries 2022-04-22 10:56:35 normalization > -- additionally, we generate a unique key for the scd table 2022-04-22 10:56:35 normalization > row_number() over ( 2022-04-22 10:56:35 normalization > partition by 2022-04-22 10:56:35 normalization > _AIRBYTE_UNIQUE_KEY, 2022-04-22 10:56:35 normalization > _AIRBYTE_START_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT 2022-04-22 10:56:35 normalization > order by _AIRBYTE_ACTIVE_ROW desc, _AIRBYTE_AB_ID 2022-04-22 10:56:35 normalization > ) as _AIRBYTE_ROW_NUM, 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(_AIRBYTE_UNIQUE_KEY as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(_AIRBYTE_START_AT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_UNIQUE_KEY_SCD, 2022-04-22 10:56:35 normalization > scd_data.* 2022-04-22 10:56:35 normalization > from scd_data 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_UNIQUE_KEY, 2022-04-22 10:56:35 normalization > _AIRBYTE_UNIQUE_KEY_SCD, 2022-04-22 10:56:35 normalization > ID, 2022-04-22 10:56:35 normalization > VIA, 2022-04-22 10:56:35 normalization > EVENTS, 2022-04-22 10:56:35 normalization > METADATA, 2022-04-22 10:56:35 normalization > AUTHOR_ID, 2022-04-22 10:56:35 normalization > TICKET_ID, 2022-04-22 10:56:35 normalization > CREATED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_START_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_END_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_ACTIVE_ROW, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_TICKET_AUDITS_HASHID 2022-04-22 10:56:35 normalization > from dedup_data where _AIRBYTE_ROW_NUM = 1 2022-04-22 10:56:35 normalization > ) order by (_AIRBYTE_ACTIVE_ROW, _AIRBYTE_UNIQUE_KEY_SCD, _AIRBYTE_EMITTED_AT) 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:55:28.237503 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.MACROS_SCD" 2022-04-22 10:56:35 normalization > 10:55:28.237673 [debug] [Thread-2 ]: On model.airbyte_utils.GROUP_MEMBERSHIPS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.GROUP_MEMBERSHIPS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > drop view _AIRBYTE_ZENDESK_SUPPORT.GROUP_MEMBERSHIPS_STG 2022-04-22 10:56:35 normalization > 10:55:28.238758 [debug] [Thread-5 ]: On model.airbyte_utils.MACROS_SCD: commit; 2022-04-22 10:56:35 normalization > 10:55:28.284642 [debug] [Thread-3 ]: SQL status: SUCCESS 24 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:55:28.291563 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.ORGANIZATIONS_SCD" 2022-04-22 10:56:35 normalization > 10:55:28.291871 [debug] [Thread-3 ]: On model.airbyte_utils.ORGANIZATIONS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.ORGANIZATIONS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."ORGANIZATIONS_SCD__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:55:28.298374 [debug] [Thread-4 ]: SQL status: SUCCESS 10 in 0.83 seconds 2022-04-22 10:56:35 normalization > 10:55:28.298678 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.SATISFACTION_RATINGS_SCD" 2022-04-22 10:56:35 normalization > 10:55:28.298906 [debug] [Thread-4 ]: On model.airbyte_utils.SATISFACTION_RATINGS_SCD: commit; 2022-04-22 10:56:35 normalization > 10:55:28.345768 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 0.11 seconds 2022-04-22 10:56:35 normalization > 10:55:28.349524 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:28.349872 [debug] [Thread-2 ]: On model.airbyte_utils.GROUP_MEMBERSHIPS_SCD: Close 2022-04-22 10:56:35 normalization > 10:55:28.359154 [debug] [Thread-3 ]: SQL status: SUCCESS 24 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:55:28.365601 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.ORGANIZATIONS_SCD" 2022-04-22 10:56:35 normalization > 10:55:28.365946 [debug] [Thread-3 ]: On model.airbyte_utils.ORGANIZATIONS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.ORGANIZATIONS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"."ZENDESK_SUPPORT"."ORGANIZATIONS_SCD" 2022-04-22 10:56:35 normalization > 10:55:28.426506 [debug] [Thread-3 ]: SQL status: SUCCESS 24 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:55:28.432237 [debug] [Thread-3 ]: 2022-04-22 10:56:35 normalization > In "AIRBYTE_DB"."ZENDESK_SUPPORT"."ORGANIZATIONS_SCD": 2022-04-22 10:56:35 normalization > Schema changed: False 2022-04-22 10:56:35 normalization > Source columns not in target: [] 2022-04-22 10:56:35 normalization > Target columns not in source: [] 2022-04-22 10:56:35 normalization > New column types: [] 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 10:55:28.434467 [debug] [Thread-3 ]: Writing runtime SQL for node "model.airbyte_utils.ORGANIZATIONS_SCD" 2022-04-22 10:56:35 normalization > 10:55:28.436780 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.ORGANIZATIONS_SCD" 2022-04-22 10:56:35 normalization > 10:55:28.436958 [debug] [Thread-3 ]: On model.airbyte_utils.ORGANIZATIONS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.ORGANIZATIONS_SCD"} */ 2022-04-22 10:56:35 normalization > begin; 2022-04-22 10:56:35 normalization > 10:55:28.446452 [info ] [Thread-2 ]: 18 of 95 OK created incremental model ZENDESK_SUPPORT.GROUP_MEMBERSHIPS_SCD............................................. [SUCCESS 1 in 6.17s] 2022-04-22 10:56:35 normalization > 10:55:28.446835 [debug] [Thread-2 ]: Finished running node model.airbyte_utils.GROUP_MEMBERSHIPS_SCD 2022-04-22 10:56:35 normalization > 10:55:28.447094 [debug] [Thread-2 ]: Began running node model.airbyte_utils.TICKETS_SCD 2022-04-22 10:56:35 normalization > 10:55:28.447389 [info ] [Thread-2 ]: 23 of 95 START incremental model ZENDESK_SUPPORT.TICKETS_SCD............................................................ [RUN] 2022-04-22 10:56:35 normalization > 10:55:28.448491 [debug] [Thread-2 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKETS_SCD" 2022-04-22 10:56:35 normalization > 10:55:28.448689 [debug] [Thread-2 ]: Began compiling node model.airbyte_utils.TICKETS_SCD 2022-04-22 10:56:35 normalization > 10:55:28.449059 [debug] [Thread-2 ]: Compiling model.airbyte_utils.TICKETS_SCD 2022-04-22 10:56:35 normalization > 10:55:28.471418 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKETS_SCD" 2022-04-22 10:56:35 normalization > 10:55:28.471676 [debug] [Thread-2 ]: On model.airbyte_utils.TICKETS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_SCD" 2022-04-22 10:56:35 normalization > 10:55:28.471792 [debug] [Thread-2 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:55:28.516884 [debug] [Thread-5 ]: SQL status: SUCCESS 1 in 0.27 seconds 2022-04-22 10:56:35 normalization > 10:55:28.534000 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 0.1 seconds 2022-04-22 10:56:35 normalization > 10:55:28.551364 [debug] [Thread-4 ]: SQL status: SUCCESS 1 in 0.25 seconds 2022-04-22 10:56:35 normalization > 10:55:28.576433 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.SATISFACTION_RATINGS_SCD" 2022-04-22 10:56:35 normalization > 10:55:28.557665 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.ORGANIZATIONS_SCD" 2022-04-22 10:56:35 normalization > 10:55:28.552050 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.MACROS_SCD" 2022-04-22 10:56:35 normalization > 10:55:28.597356 [debug] [Thread-4 ]: On model.airbyte_utils.SATISFACTION_RATINGS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.SATISFACTION_RATINGS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > drop view _AIRBYTE_ZENDESK_SUPPORT.SATISFACTION_RATINGS_STG 2022-04-22 10:56:35 normalization > 10:55:28.622962 [debug] [Thread-3 ]: On model.airbyte_utils.ORGANIZATIONS_SCD: merge into "AIRBYTE_DB".ZENDESK_SUPPORT."ORGANIZATIONS_SCD" as DBT_INTERNAL_DEST 2022-04-22 10:56:35 normalization > using "AIRBYTE_DB".ZENDESK_SUPPORT."ORGANIZATIONS_SCD__dbt_tmp" as DBT_INTERNAL_SOURCE 2022-04-22 10:56:35 normalization > on 2022-04-22 10:56:35 normalization > DBT_INTERNAL_SOURCE._AIRBYTE_UNIQUE_KEY_SCD = DBT_INTERNAL_DEST._AIRBYTE_UNIQUE_KEY_SCD 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > when matched then update set 2022-04-22 10:56:35 normalization > "_AIRBYTE_UNIQUE_KEY" = DBT_INTERNAL_SOURCE."_AIRBYTE_UNIQUE_KEY","_AIRBYTE_UNIQUE_KEY_SCD" = DBT_INTERNAL_SOURCE."_AIRBYTE_UNIQUE_KEY_SCD","ID" = DBT_INTERNAL_SOURCE."ID","URL" = DBT_INTERNAL_SOURCE."URL","NAME" = DBT_INTERNAL_SOURCE."NAME","TAGS" = DBT_INTERNAL_SOURCE."TAGS","NOTES" = DBT_INTERNAL_SOURCE."NOTES","DETAILS" = DBT_INTERNAL_SOURCE."DETAILS","GROUP_ID" = DBT_INTERNAL_SOURCE."GROUP_ID","CREATED_AT" = DBT_INTERNAL_SOURCE."CREATED_AT","DELETED_AT" = DBT_INTERNAL_SOURCE."DELETED_AT","UPDATED_AT" = DBT_INTERNAL_SOURCE."UPDATED_AT","EXTERNAL_ID" = DBT_INTERNAL_SOURCE."EXTERNAL_ID","DOMAIN_NAMES" = DBT_INTERNAL_SOURCE."DOMAIN_NAMES","SHARED_TICKETS" = DBT_INTERNAL_SOURCE."SHARED_TICKETS","SHARED_COMMENTS" = DBT_INTERNAL_SOURCE."SHARED_COMMENTS","ORGANIZATION_FIELDS" = DBT_INTERNAL_SOURCE."ORGANIZATION_FIELDS","_AIRBYTE_START_AT" = DBT_INTERNAL_SOURCE."_AIRBYTE_START_AT","_AIRBYTE_END_AT" = DBT_INTERNAL_SOURCE."_AIRBYTE_END_AT","_AIRBYTE_ACTIVE_ROW" = DBT_INTERNAL_SOURCE."_AIRBYTE_ACTIVE_ROW","_AIRBYTE_AB_ID" = DBT_INTERNAL_SOURCE."_AIRBYTE_AB_ID","_AIRBYTE_EMITTED_AT" = DBT_INTERNAL_SOURCE."_AIRBYTE_EMITTED_AT","_AIRBYTE_NORMALIZED_AT" = DBT_INTERNAL_SOURCE."_AIRBYTE_NORMALIZED_AT","_AIRBYTE_ORGANIZATIONS_HASHID" = DBT_INTERNAL_SOURCE."_AIRBYTE_ORGANIZATIONS_HASHID" 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > when not matched then insert 2022-04-22 10:56:35 normalization > ("_AIRBYTE_UNIQUE_KEY", "_AIRBYTE_UNIQUE_KEY_SCD", "ID", "URL", "NAME", "TAGS", "NOTES", "DETAILS", "GROUP_ID", "CREATED_AT", "DELETED_AT", "UPDATED_AT", "EXTERNAL_ID", "DOMAIN_NAMES", "SHARED_TICKETS", "SHARED_COMMENTS", "ORGANIZATION_FIELDS", "_AIRBYTE_START_AT", "_AIRBYTE_END_AT", "_AIRBYTE_ACTIVE_ROW", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_ORGANIZATIONS_HASHID") 2022-04-22 10:56:35 normalization > values 2022-04-22 10:56:35 normalization > ("_AIRBYTE_UNIQUE_KEY", "_AIRBYTE_UNIQUE_KEY_SCD", "ID", "URL", "NAME", "TAGS", "NOTES", "DETAILS", "GROUP_ID", "CREATED_AT", "DELETED_AT", "UPDATED_AT", "EXTERNAL_ID", "DOMAIN_NAMES", "SHARED_TICKETS", "SHARED_COMMENTS", "ORGANIZATION_FIELDS", "_AIRBYTE_START_AT", "_AIRBYTE_END_AT", "_AIRBYTE_ACTIVE_ROW", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_ORGANIZATIONS_HASHID") 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ; 2022-04-22 10:56:35 normalization > 10:55:28.638360 [debug] [Thread-5 ]: On model.airbyte_utils.MACROS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.MACROS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > drop view _AIRBYTE_ZENDESK_SUPPORT.MACROS_STG 2022-04-22 10:56:35 normalization > 10:55:28.763703 [debug] [Thread-4 ]: SQL status: SUCCESS 1 in 0.1 seconds 2022-04-22 10:56:35 normalization > 10:55:28.767579 [debug] [Thread-4 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:28.767879 [debug] [Thread-4 ]: On model.airbyte_utils.SATISFACTION_RATINGS_SCD: Close 2022-04-22 10:56:35 normalization > 10:55:28.786011 [debug] [Thread-5 ]: SQL status: SUCCESS 1 in 0.11 seconds 2022-04-22 10:56:35 normalization > 10:55:28.789778 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:28.790024 [debug] [Thread-5 ]: On model.airbyte_utils.MACROS_SCD: Close 2022-04-22 10:56:35 normalization > 10:55:28.892242 [info ] [Thread-4 ]: 19 of 95 OK created incremental model ZENDESK_SUPPORT.SATISFACTION_RATINGS_SCD.......................................... [SUCCESS 1 in 6.00s] 2022-04-22 10:56:35 normalization > 10:55:28.892751 [debug] [Thread-4 ]: Finished running node model.airbyte_utils.SATISFACTION_RATINGS_SCD 2022-04-22 10:56:35 normalization > 10:55:28.893100 [debug] [Thread-4 ]: Began running node model.airbyte_utils.TICKET_FORMS_SCD 2022-04-22 10:56:35 normalization > 10:55:28.893763 [info ] [Thread-4 ]: 24 of 95 START incremental model ZENDESK_SUPPORT.TICKET_FORMS_SCD....................................................... [RUN] 2022-04-22 10:56:35 normalization > 10:55:28.894646 [debug] [Thread-4 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_FORMS_SCD" 2022-04-22 10:56:35 normalization > 10:55:28.895153 [debug] [Thread-4 ]: Began compiling node model.airbyte_utils.TICKET_FORMS_SCD 2022-04-22 10:56:35 normalization > 10:55:28.895308 [debug] [Thread-4 ]: Compiling model.airbyte_utils.TICKET_FORMS_SCD 2022-04-22 10:56:35 normalization > 10:55:28.917554 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_FORMS_SCD" 2022-04-22 10:56:35 normalization > 10:55:28.919551 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_FORMS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_FORMS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_FORMS_SCD" 2022-04-22 10:56:35 normalization > 10:55:28.921125 [debug] [Thread-4 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:55:28.923949 [info ] [Thread-5 ]: 20 of 95 OK created incremental model ZENDESK_SUPPORT.MACROS_SCD........................................................ [SUCCESS 1 in 5.04s] 2022-04-22 10:56:35 normalization > 10:55:28.926215 [debug] [Thread-5 ]: Finished running node model.airbyte_utils.MACROS_SCD 2022-04-22 10:56:35 normalization > 10:55:28.926568 [debug] [Thread-5 ]: Began running node model.airbyte_utils.TICKET_COMMENTS_SCD 2022-04-22 10:56:35 normalization > 10:55:28.926960 [info ] [Thread-5 ]: 25 of 95 START incremental model ZENDESK_SUPPORT.TICKET_COMMENTS_SCD.................................................... [RUN] 2022-04-22 10:56:35 normalization > 10:55:28.927980 [debug] [Thread-5 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_COMMENTS_SCD" 2022-04-22 10:56:35 normalization > 10:55:28.928659 [debug] [Thread-5 ]: Began compiling node model.airbyte_utils.TICKET_COMMENTS_SCD 2022-04-22 10:56:35 normalization > 10:55:28.929187 [debug] [Thread-5 ]: Compiling model.airbyte_utils.TICKET_COMMENTS_SCD 2022-04-22 10:56:35 normalization > 10:55:28.956478 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_SCD" 2022-04-22 10:56:35 normalization > 10:55:28.956786 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_COMMENTS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_SCD" 2022-04-22 10:56:35 normalization > 10:55:28.957043 [debug] [Thread-5 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:55:28.987760 [debug] [Thread-2 ]: SQL status: SUCCESS 45 in 0.52 seconds 2022-04-22 10:56:35 normalization > 10:55:29.023104 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKETS_SCD" 2022-04-22 10:56:35 normalization > 10:55:29.023659 [debug] [Thread-2 ]: On model.airbyte_utils.TICKETS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_SCD" 2022-04-22 10:56:35 normalization > 10:55:29.185325 [debug] [Thread-2 ]: SQL status: SUCCESS 45 in 0.15 seconds 2022-04-22 10:56:35 normalization > 10:55:29.218545 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKETS_SCD" 2022-04-22 10:56:35 normalization > 10:55:29.224043 [debug] [Thread-2 ]: On model.airbyte_utils.TICKETS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_SCD" 2022-04-22 10:56:35 normalization > 10:55:29.341560 [debug] [Thread-2 ]: SQL status: SUCCESS 45 in 0.11 seconds 2022-04-22 10:56:35 normalization > 10:55:29.348613 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKETS_SCD" 2022-04-22 10:56:35 normalization > 10:55:29.349645 [debug] [Thread-2 ]: On model.airbyte_utils.TICKETS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_SCD" 2022-04-22 10:56:35 normalization > 10:55:29.400518 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 0.73 seconds 2022-04-22 10:56:35 normalization > 10:55:29.401102 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.ORGANIZATIONS_SCD" 2022-04-22 10:56:35 normalization > 10:55:29.401911 [debug] [Thread-3 ]: On model.airbyte_utils.ORGANIZATIONS_SCD: commit; 2022-04-22 10:56:35 normalization > 10:55:29.673035 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 0.27 seconds 2022-04-22 10:56:35 normalization > 10:55:29.675103 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.ORGANIZATIONS_SCD" 2022-04-22 10:56:35 normalization > 10:55:29.675283 [debug] [Thread-3 ]: On model.airbyte_utils.ORGANIZATIONS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.ORGANIZATIONS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > drop view _AIRBYTE_ZENDESK_SUPPORT.ORGANIZATIONS_STG 2022-04-22 10:56:35 normalization > 10:55:29.730086 [debug] [Thread-4 ]: SQL status: SUCCESS 24 in 0.81 seconds 2022-04-22 10:56:35 normalization > 10:55:29.742806 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_FORMS_SCD" 2022-04-22 10:56:35 normalization > 10:55:29.743058 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_FORMS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_FORMS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_FORMS_SCD" 2022-04-22 10:56:35 normalization > 10:55:29.818907 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 0.47 seconds 2022-04-22 10:56:35 normalization > 10:55:29.828913 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKETS_SCD" 2022-04-22 10:56:35 normalization > 10:55:29.829896 [debug] [Thread-2 ]: On model.airbyte_utils.TICKETS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_SCD" 2022-04-22 10:56:35 normalization > 10:55:29.830977 [debug] [Thread-4 ]: SQL status: SUCCESS 24 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:55:29.842776 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_FORMS_SCD" 2022-04-22 10:56:35 normalization > 10:55:29.843563 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_FORMS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_FORMS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_FORMS_SCD" 2022-04-22 10:56:35 normalization > 10:55:29.849375 [debug] [Thread-5 ]: SQL status: SUCCESS 22 in 0.89 seconds 2022-04-22 10:56:35 normalization > 10:55:29.860292 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_SCD" 2022-04-22 10:56:35 normalization > 10:55:29.860541 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_COMMENTS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_SCD" 2022-04-22 10:56:35 normalization > 10:55:29.910322 [debug] [Thread-4 ]: SQL status: SUCCESS 24 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:55:29.913956 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_FORMS_SCD" 2022-04-22 10:56:35 normalization > 10:55:29.915166 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 0.24 seconds 2022-04-22 10:56:35 normalization > 10:55:29.915345 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_FORMS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_FORMS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_FORMS_SCD" 2022-04-22 10:56:35 normalization > 10:55:29.918457 [debug] [Thread-3 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:29.919207 [debug] [Thread-3 ]: On model.airbyte_utils.ORGANIZATIONS_SCD: Close 2022-04-22 10:56:35 normalization > 10:55:29.946433 [debug] [Thread-2 ]: SQL status: SUCCESS 45 in 0.12 seconds 2022-04-22 10:56:35 normalization > 10:55:29.951128 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKETS_SCD" 2022-04-22 10:56:35 normalization > 10:55:29.951327 [debug] [Thread-2 ]: On model.airbyte_utils.TICKETS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_SCD" 2022-04-22 10:56:35 normalization > 10:55:29.984468 [debug] [Thread-5 ]: SQL status: SUCCESS 22 in 0.12 seconds 2022-04-22 10:56:35 normalization > 10:55:29.995822 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_SCD" 2022-04-22 10:56:35 normalization > 10:55:29.996062 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_COMMENTS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_SCD" 2022-04-22 10:56:35 normalization > 10:55:30.016410 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:55:30.022877 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKETS_SCD" 2022-04-22 10:56:35 normalization > 10:55:30.023127 [debug] [Thread-2 ]: On model.airbyte_utils.TICKETS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"._AIRBYTE_ZENDESK_SUPPORT."TICKETS_STG" 2022-04-22 10:56:35 normalization > 10:55:30.112070 [debug] [Thread-2 ]: SQL status: SUCCESS 40 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:55:30.124857 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKETS_SCD" 2022-04-22 10:56:35 normalization > 10:55:30.125097 [debug] [Thread-2 ]: On model.airbyte_utils.TICKETS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_SCD" 2022-04-22 10:56:35 normalization > 10:55:30.146684 [debug] [Thread-5 ]: SQL status: SUCCESS 22 in 0.15 seconds 2022-04-22 10:56:35 normalization > 10:55:30.150234 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_SCD" 2022-04-22 10:56:35 normalization > 10:55:30.150439 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_COMMENTS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_SCD" 2022-04-22 10:56:35 normalization > 10:55:30.193879 [info ] [Thread-3 ]: 21 of 95 OK created incremental model ZENDESK_SUPPORT.ORGANIZATIONS_SCD................................................. [SUCCESS 1 in 5.56s] 2022-04-22 10:56:35 normalization > 10:55:30.194424 [debug] [Thread-3 ]: Finished running node model.airbyte_utils.ORGANIZATIONS_SCD 2022-04-22 10:56:35 normalization > 10:55:30.194703 [debug] [Thread-3 ]: Began running node model.airbyte_utils.TICKET_FIELDS_SCD 2022-04-22 10:56:35 normalization > 10:55:30.195423 [info ] [Thread-3 ]: 26 of 95 START incremental model ZENDESK_SUPPORT.TICKET_FIELDS_SCD...................................................... [RUN] 2022-04-22 10:56:35 normalization > 10:55:30.196277 [debug] [Thread-3 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_FIELDS_SCD" 2022-04-22 10:56:35 normalization > 10:55:30.196495 [debug] [Thread-3 ]: Began compiling node model.airbyte_utils.TICKET_FIELDS_SCD 2022-04-22 10:56:35 normalization > 10:55:30.196648 [debug] [Thread-3 ]: Compiling model.airbyte_utils.TICKET_FIELDS_SCD 2022-04-22 10:56:35 normalization > 10:55:30.213740 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_FIELDS_SCD" 2022-04-22 10:56:35 normalization > 10:55:30.213952 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_FIELDS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_FIELDS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_FIELDS_SCD" 2022-04-22 10:56:35 normalization > 10:55:30.214060 [debug] [Thread-3 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:55:30.222577 [debug] [Thread-4 ]: SQL status: SUCCESS 1 in 0.3 seconds 2022-04-22 10:56:35 normalization > 10:55:30.232137 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_FORMS_SCD" 2022-04-22 10:56:35 normalization > 10:55:30.232476 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_FORMS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_FORMS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_FORMS_SCD" 2022-04-22 10:56:35 normalization > 10:55:30.287148 [debug] [Thread-2 ]: SQL status: SUCCESS 45 in 0.16 seconds 2022-04-22 10:56:35 normalization > 10:55:30.368216 [debug] [Thread-4 ]: SQL status: SUCCESS 24 in 0.14 seconds 2022-04-22 10:56:35 normalization > 10:55:30.372686 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_FORMS_SCD" 2022-04-22 10:56:35 normalization > 10:55:30.373687 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_FORMS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_FORMS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_FORMS_SCD" 2022-04-22 10:56:35 normalization > 10:55:30.402715 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKETS_SCD" 2022-04-22 10:56:35 normalization > 10:55:30.403037 [debug] [Thread-2 ]: On model.airbyte_utils.TICKETS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"._AIRBYTE_ZENDESK_SUPPORT."TICKETS_STG" 2022-04-22 10:56:35 normalization > 10:55:30.492577 [debug] [Thread-4 ]: SQL status: SUCCESS 1 in 0.12 seconds 2022-04-22 10:56:35 normalization > 10:55:30.499239 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_FORMS_SCD" 2022-04-22 10:56:35 normalization > 10:55:30.499462 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_FORMS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_FORMS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"._AIRBYTE_ZENDESK_SUPPORT."TICKET_FORMS_STG" 2022-04-22 10:56:35 normalization > 10:55:30.549795 [debug] [Thread-2 ]: SQL status: SUCCESS 40 in 0.15 seconds 2022-04-22 10:56:35 normalization > 10:55:30.564052 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKETS_SCD" 2022-04-22 10:56:35 normalization > 10:55:30.564275 [debug] [Thread-2 ]: On model.airbyte_utils.TICKETS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"._AIRBYTE_ZENDESK_SUPPORT."TICKETS_STG" 2022-04-22 10:56:35 normalization > 10:55:30.623027 [debug] [Thread-5 ]: SQL status: SUCCESS 1 in 0.47 seconds 2022-04-22 10:56:35 normalization > 10:55:30.640252 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_SCD" 2022-04-22 10:56:35 normalization > 10:55:30.640675 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_COMMENTS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_SCD" 2022-04-22 10:56:35 normalization > 10:55:30.721759 [debug] [Thread-4 ]: SQL status: SUCCESS 19 in 0.22 seconds 2022-04-22 10:56:35 normalization > 10:55:30.728960 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_FORMS_SCD" 2022-04-22 10:56:35 normalization > 10:55:30.729170 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_FORMS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_FORMS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_FORMS_SCD" 2022-04-22 10:56:35 normalization > 10:55:30.734291 [debug] [Thread-2 ]: SQL status: SUCCESS 40 in 0.17 seconds 2022-04-22 10:56:35 normalization > 10:55:30.749764 [debug] [Thread-2 ]: Writing injected SQL for node "model.airbyte_utils.TICKETS_SCD" 2022-04-22 10:56:35 normalization > 10:55:30.751182 [debug] [Thread-5 ]: SQL status: SUCCESS 22 in 0.11 seconds 2022-04-22 10:56:35 normalization > 10:55:30.751400 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:30.756029 [debug] [Thread-2 ]: Began executing node model.airbyte_utils.TICKETS_SCD 2022-04-22 10:56:35 normalization > 10:55:30.755792 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_SCD" 2022-04-22 10:56:35 normalization > 10:55:30.761602 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKETS_SCD" 2022-04-22 10:56:35 normalization > 10:55:30.762089 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_COMMENTS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_SCD" 2022-04-22 10:56:35 normalization > 10:55:30.762292 [debug] [Thread-2 ]: On model.airbyte_utils.TICKETS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_SCD" 2022-04-22 10:56:35 normalization > 10:55:30.904228 [debug] [Thread-4 ]: SQL status: SUCCESS 24 in 0.17 seconds 2022-04-22 10:56:35 normalization > 10:55:30.914746 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_FORMS_SCD" 2022-04-22 10:56:35 normalization > 10:55:30.915203 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_FORMS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_FORMS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"._AIRBYTE_ZENDESK_SUPPORT."TICKET_FORMS_STG" 2022-04-22 10:56:35 normalization > 10:55:30.916508 [debug] [Thread-2 ]: SQL status: SUCCESS 45 in 0.15 seconds 2022-04-22 10:56:35 normalization > 10:55:30.934882 [debug] [Thread-3 ]: SQL status: SUCCESS 34 in 0.72 seconds 2022-04-22 10:56:35 normalization > 10:55:30.936541 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKETS_SCD" 2022-04-22 10:56:35 normalization > 10:55:30.937094 [debug] [Thread-5 ]: SQL status: SUCCESS 1 in 0.17 seconds 2022-04-22 10:56:35 normalization > 10:55:30.949608 [debug] [Thread-2 ]: On model.airbyte_utils.TICKETS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace temporary table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_SCD__dbt_tmp" as 2022-04-22 10:56:35 normalization > (select * from( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- depends_on: ref('TICKETS_STG') 2022-04-22 10:56:35 normalization > with 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > new_data as ( 2022-04-22 10:56:35 normalization > -- retrieve incremental "new" data 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > * 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB"._AIRBYTE_ZENDESK_SUPPORT."TICKETS_STG" 2022-04-22 10:56:35 normalization > -- TICKETS from "AIRBYTE_DB".ZENDESK_SUPPORT._AIRBYTE_RAW_TICKETS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > and cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) >= 2022-04-22 10:56:35 normalization > cast('2022-04-22 10:49:17.699000-07:00' as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > new_data_ids as ( 2022-04-22 10:56:35 normalization > -- build a subset of _AIRBYTE_UNIQUE_KEY from rows that are new 2022-04-22 10:56:35 normalization > select distinct 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_UNIQUE_KEY 2022-04-22 10:56:35 normalization > from new_data 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > empty_new_data as ( 2022-04-22 10:56:35 normalization > -- build an empty table to only keep the table's column types 2022-04-22 10:56:35 normalization > select * from new_data where 1 = 0 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > previous_active_scd_data as ( 2022-04-22 10:56:35 normalization > -- retrieve "incomplete old" data that needs to be updated with an end date because of new changes 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > this_data."_AIRBYTE_TICKETS_HASHID", 2022-04-22 10:56:35 normalization > this_data."ID", 2022-04-22 10:56:35 normalization > this_data."URL", 2022-04-22 10:56:35 normalization > this_data."VIA", 2022-04-22 10:56:35 normalization > this_data."TAGS", 2022-04-22 10:56:35 normalization > this_data."TYPE", 2022-04-22 10:56:35 normalization > this_data."DUE_AT", 2022-04-22 10:56:35 normalization > this_data."STATUS", 2022-04-22 10:56:35 normalization > this_data."SUBJECT", 2022-04-22 10:56:35 normalization > this_data."BRAND_ID", 2022-04-22 10:56:35 normalization > this_data."GROUP_ID", 2022-04-22 10:56:35 normalization > this_data."PRIORITY", 2022-04-22 10:56:35 normalization > this_data."IS_PUBLIC", 2022-04-22 10:56:35 normalization > this_data."RECIPIENT", 2022-04-22 10:56:35 normalization > this_data."CREATED_AT", 2022-04-22 10:56:35 normalization > this_data."PROBLEM_ID", 2022-04-22 10:56:35 normalization > this_data."UPDATED_AT", 2022-04-22 10:56:35 normalization > this_data."ASSIGNEE_ID", 2022-04-22 10:56:35 normalization > this_data."DESCRIPTION", 2022-04-22 10:56:35 normalization > this_data."EXTERNAL_ID", 2022-04-22 10:56:35 normalization > this_data."RAW_SUBJECT", 2022-04-22 10:56:35 normalization > this_data."EMAIL_CC_IDS", 2022-04-22 10:56:35 normalization > this_data."FOLLOWER_IDS", 2022-04-22 10:56:35 normalization > this_data."FOLLOWUP_IDS", 2022-04-22 10:56:35 normalization > this_data."REQUESTER_ID", 2022-04-22 10:56:35 normalization > this_data."SUBMITTER_ID", 2022-04-22 10:56:35 normalization > this_data."CUSTOM_FIELDS", 2022-04-22 10:56:35 normalization > this_data."HAS_INCIDENTS", 2022-04-22 10:56:35 normalization > this_data."FORUM_TOPIC_ID", 2022-04-22 10:56:35 normalization > this_data."TICKET_FORM_ID", 2022-04-22 10:56:35 normalization > this_data."ORGANIZATION_ID", 2022-04-22 10:56:35 normalization > this_data."COLLABORATOR_IDS", 2022-04-22 10:56:35 normalization > this_data."ALLOW_ATTACHMENTS", 2022-04-22 10:56:35 normalization > this_data."ALLOW_CHANNELBACK", 2022-04-22 10:56:35 normalization > this_data."GENERATED_TIMESTAMP", 2022-04-22 10:56:35 normalization > this_data."SATISFACTION_RATING", 2022-04-22 10:56:35 normalization > this_data."SHARING_AGREEMENT_IDS", 2022-04-22 10:56:35 normalization > this_data."_AIRBYTE_AB_ID", 2022-04-22 10:56:35 normalization > this_data."_AIRBYTE_EMITTED_AT", 2022-04-22 10:56:35 normalization > this_data."_AIRBYTE_NORMALIZED_AT" 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_SCD" as this_data 2022-04-22 10:56:35 normalization > -- make a join with new_data using primary key to filter active data that need to be updated only 2022-04-22 10:56:35 normalization > join new_data_ids on this_data._AIRBYTE_UNIQUE_KEY = new_data_ids._AIRBYTE_UNIQUE_KEY 2022-04-22 10:56:35 normalization > -- force left join to NULL values (we just need to transfer column types only for the star_intersect macro on schema changes) 2022-04-22 10:56:35 normalization > left join empty_new_data as inc_data on this_data._AIRBYTE_AB_ID = inc_data._AIRBYTE_AB_ID 2022-04-22 10:56:35 normalization > where _AIRBYTE_ACTIVE_ROW = 1 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > input_data as ( 2022-04-22 10:56:35 normalization > select "_AIRBYTE_TICKETS_HASHID", 2022-04-22 10:56:35 normalization > "ID", 2022-04-22 10:56:35 normalization > "URL", 2022-04-22 10:56:35 normalization > "VIA", 2022-04-22 10:56:35 normalization > "TAGS", 2022-04-22 10:56:35 normalization > "TYPE", 2022-04-22 10:56:35 normalization > "DUE_AT", 2022-04-22 10:56:35 normalization > "STATUS", 2022-04-22 10:56:35 normalization > "SUBJECT", 2022-04-22 10:56:35 normalization > "BRAND_ID", 2022-04-22 10:56:35 normalization > "GROUP_ID", 2022-04-22 10:56:35 normalization > "PRIORITY", 2022-04-22 10:56:35 normalization > "IS_PUBLIC", 2022-04-22 10:56:35 normalization > "RECIPIENT", 2022-04-22 10:56:35 normalization > "CREATED_AT", 2022-04-22 10:56:35 normalization > "PROBLEM_ID", 2022-04-22 10:56:35 normalization > "UPDATED_AT", 2022-04-22 10:56:35 normalization > "ASSIGNEE_ID", 2022-04-22 10:56:35 normalization > "DESCRIPTION", 2022-04-22 10:56:35 normalization > "EXTERNAL_ID", 2022-04-22 10:56:35 normalization > "RAW_SUBJECT", 2022-04-22 10:56:35 normalization > "EMAIL_CC_IDS", 2022-04-22 10:56:35 normalization > "FOLLOWER_IDS", 2022-04-22 10:56:35 normalization > "FOLLOWUP_IDS", 2022-04-22 10:56:35 normalization > "REQUESTER_ID", 2022-04-22 10:56:35 normalization > "SUBMITTER_ID", 2022-04-22 10:56:35 normalization > "CUSTOM_FIELDS", 2022-04-22 10:56:35 normalization > "HAS_INCIDENTS", 2022-04-22 10:56:35 normalization > "FORUM_TOPIC_ID", 2022-04-22 10:56:35 normalization > "TICKET_FORM_ID", 2022-04-22 10:56:35 normalization > "ORGANIZATION_ID", 2022-04-22 10:56:35 normalization > "COLLABORATOR_IDS", 2022-04-22 10:56:35 normalization > "ALLOW_ATTACHMENTS", 2022-04-22 10:56:35 normalization > "ALLOW_CHANNELBACK", 2022-04-22 10:56:35 normalization > "GENERATED_TIMESTAMP", 2022-04-22 10:56:35 normalization > "SATISFACTION_RATING", 2022-04-22 10:56:35 normalization > "SHARING_AGREEMENT_IDS", 2022-04-22 10:56:35 normalization > "_AIRBYTE_AB_ID", 2022-04-22 10:56:35 normalization > "_AIRBYTE_EMITTED_AT", 2022-04-22 10:56:35 normalization > "_AIRBYTE_NORMALIZED_AT" from new_data 2022-04-22 10:56:35 normalization > union all 2022-04-22 10:56:35 normalization > select "_AIRBYTE_TICKETS_HASHID", 2022-04-22 10:56:35 normalization > "ID", 2022-04-22 10:56:35 normalization > "URL", 2022-04-22 10:56:35 normalization > "VIA", 2022-04-22 10:56:35 normalization > "TAGS", 2022-04-22 10:56:35 normalization > "TYPE", 2022-04-22 10:56:35 normalization > "DUE_AT", 2022-04-22 10:56:35 normalization > "STATUS", 2022-04-22 10:56:35 normalization > "SUBJECT", 2022-04-22 10:56:35 normalization > "BRAND_ID", 2022-04-22 10:56:35 normalization > "GROUP_ID", 2022-04-22 10:56:35 normalization > "PRIORITY", 2022-04-22 10:56:35 normalization > "IS_PUBLIC", 2022-04-22 10:56:35 normalization > "RECIPIENT", 2022-04-22 10:56:35 normalization > "CREATED_AT", 2022-04-22 10:56:35 normalization > "PROBLEM_ID", 2022-04-22 10:56:35 normalization > "UPDATED_AT", 2022-04-22 10:56:35 normalization > "ASSIGNEE_ID", 2022-04-22 10:56:35 normalization > "DESCRIPTION", 2022-04-22 10:56:35 normalization > "EXTERNAL_ID", 2022-04-22 10:56:35 normalization > "RAW_SUBJECT", 2022-04-22 10:56:35 normalization > "EMAIL_CC_IDS", 2022-04-22 10:56:35 normalization > "FOLLOWER_IDS", 2022-04-22 10:56:35 normalization > "FOLLOWUP_IDS", 2022-04-22 10:56:35 normalization > "REQUESTER_ID", 2022-04-22 10:56:35 normalization > "SUBMITTER_ID", 2022-04-22 10:56:35 normalization > "CUSTOM_FIELDS", 2022-04-22 10:56:35 normalization > "HAS_INCIDENTS", 2022-04-22 10:56:35 normalization > "FORUM_TOPIC_ID", 2022-04-22 10:56:35 normalization > "TICKET_FORM_ID", 2022-04-22 10:56:35 normalization > "ORGANIZATION_ID", 2022-04-22 10:56:35 normalization > "COLLABORATOR_IDS", 2022-04-22 10:56:35 normalization > "ALLOW_ATTACHMENTS", 2022-04-22 10:56:35 normalization > "ALLOW_CHANNELBACK", 2022-04-22 10:56:35 normalization > "GENERATED_TIMESTAMP", 2022-04-22 10:56:35 normalization > "SATISFACTION_RATING", 2022-04-22 10:56:35 normalization > "SHARING_AGREEMENT_IDS", 2022-04-22 10:56:35 normalization > "_AIRBYTE_AB_ID", 2022-04-22 10:56:35 normalization > "_AIRBYTE_EMITTED_AT", 2022-04-22 10:56:35 normalization > "_AIRBYTE_NORMALIZED_AT" from previous_active_scd_data 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > scd_data as ( 2022-04-22 10:56:35 normalization > -- SQL model to build a Type 2 Slowly Changing Dimension (SCD) table for each record identified by their primary key 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_UNIQUE_KEY, 2022-04-22 10:56:35 normalization > ID, 2022-04-22 10:56:35 normalization > URL, 2022-04-22 10:56:35 normalization > VIA, 2022-04-22 10:56:35 normalization > TAGS, 2022-04-22 10:56:35 normalization > TYPE, 2022-04-22 10:56:35 normalization > DUE_AT, 2022-04-22 10:56:35 normalization > STATUS, 2022-04-22 10:56:35 normalization > SUBJECT, 2022-04-22 10:56:35 normalization > BRAND_ID, 2022-04-22 10:56:35 normalization > GROUP_ID, 2022-04-22 10:56:35 normalization > PRIORITY, 2022-04-22 10:56:35 normalization > IS_PUBLIC, 2022-04-22 10:56:35 normalization > RECIPIENT, 2022-04-22 10:56:35 normalization > CREATED_AT, 2022-04-22 10:56:35 normalization > PROBLEM_ID, 2022-04-22 10:56:35 normalization > UPDATED_AT, 2022-04-22 10:56:35 normalization > ASSIGNEE_ID, 2022-04-22 10:56:35 normalization > DESCRIPTION, 2022-04-22 10:56:35 normalization > EXTERNAL_ID, 2022-04-22 10:56:35 normalization > RAW_SUBJECT, 2022-04-22 10:56:35 normalization > EMAIL_CC_IDS, 2022-04-22 10:56:35 normalization > FOLLOWER_IDS, 2022-04-22 10:56:35 normalization > FOLLOWUP_IDS, 2022-04-22 10:56:35 normalization > REQUESTER_ID, 2022-04-22 10:56:35 normalization > SUBMITTER_ID, 2022-04-22 10:56:35 normalization > CUSTOM_FIELDS, 2022-04-22 10:56:35 normalization > HAS_INCIDENTS, 2022-04-22 10:56:35 normalization > FORUM_TOPIC_ID, 2022-04-22 10:56:35 normalization > TICKET_FORM_ID, 2022-04-22 10:56:35 normalization > ORGANIZATION_ID, 2022-04-22 10:56:35 normalization > COLLABORATOR_IDS, 2022-04-22 10:56:35 normalization > ALLOW_ATTACHMENTS, 2022-04-22 10:56:35 normalization > ALLOW_CHANNELBACK, 2022-04-22 10:56:35 normalization > GENERATED_TIMESTAMP, 2022-04-22 10:56:35 normalization > SATISFACTION_RATING, 2022-04-22 10:56:35 normalization > SHARING_AGREEMENT_IDS, 2022-04-22 10:56:35 normalization > GENERATED_TIMESTAMP as _AIRBYTE_START_AT, 2022-04-22 10:56:35 normalization > lag(GENERATED_TIMESTAMP) over ( 2022-04-22 10:56:35 normalization > partition by ID 2022-04-22 10:56:35 normalization > order by 2022-04-22 10:56:35 normalization > GENERATED_TIMESTAMP is null asc, 2022-04-22 10:56:35 normalization > GENERATED_TIMESTAMP desc, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT desc 2022-04-22 10:56:35 normalization > ) as _AIRBYTE_END_AT, 2022-04-22 10:56:35 normalization > case when row_number() over ( 2022-04-22 10:56:35 normalization > partition by ID 2022-04-22 10:56:35 normalization > order by 2022-04-22 10:56:35 normalization > GENERATED_TIMESTAMP is null asc, 2022-04-22 10:56:35 normalization > GENERATED_TIMESTAMP desc, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT desc 2022-04-22 10:56:35 normalization > ) = 1 then 1 else 0 end as _AIRBYTE_ACTIVE_ROW, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_TICKETS_HASHID 2022-04-22 10:56:35 normalization > from input_data 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > dedup_data as ( 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > -- we need to ensure de-duplicated rows for merge/update queries 2022-04-22 10:56:35 normalization > -- additionally, we generate a unique key for the scd table 2022-04-22 10:56:35 normalization > row_number() over ( 2022-04-22 10:56:35 normalization > partition by 2022-04-22 10:56:35 normalization > _AIRBYTE_UNIQUE_KEY, 2022-04-22 10:56:35 normalization > _AIRBYTE_START_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT 2022-04-22 10:56:35 normalization > order by _AIRBYTE_ACTIVE_ROW desc, _AIRBYTE_AB_ID 2022-04-22 10:56:35 normalization > ) as _AIRBYTE_ROW_NUM, 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(_AIRBYTE_UNIQUE_KEY as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(_AIRBYTE_START_AT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_UNIQUE_KEY_SCD, 2022-04-22 10:56:35 normalization > scd_data.* 2022-04-22 10:56:35 normalization > from scd_data 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_UNIQUE_KEY, 2022-04-22 10:56:35 normalization > _AIRBYTE_UNIQUE_KEY_SCD, 2022-04-22 10:56:35 normalization > ID, 2022-04-22 10:56:35 normalization > URL, 2022-04-22 10:56:35 normalization > VIA, 2022-04-22 10:56:35 normalization > TAGS, 2022-04-22 10:56:35 normalization > TYPE, 2022-04-22 10:56:35 normalization > DUE_AT, 2022-04-22 10:56:35 normalization > STATUS, 2022-04-22 10:56:35 normalization > SUBJECT, 2022-04-22 10:56:35 normalization > BRAND_ID, 2022-04-22 10:56:35 normalization > GROUP_ID, 2022-04-22 10:56:35 normalization > PRIORITY, 2022-04-22 10:56:35 normalization > IS_PUBLIC, 2022-04-22 10:56:35 normalization > RECIPIENT, 2022-04-22 10:56:35 normalization > CREATED_AT, 2022-04-22 10:56:35 normalization > PROBLEM_ID, 2022-04-22 10:56:35 normalization > UPDATED_AT, 2022-04-22 10:56:35 normalization > ASSIGNEE_ID, 2022-04-22 10:56:35 normalization > DESCRIPTION, 2022-04-22 10:56:35 normalization > EXTERNAL_ID, 2022-04-22 10:56:35 normalization > RAW_SUBJECT, 2022-04-22 10:56:35 normalization > EMAIL_CC_IDS, 2022-04-22 10:56:35 normalization > FOLLOWER_IDS, 2022-04-22 10:56:35 normalization > FOLLOWUP_IDS, 2022-04-22 10:56:35 normalization > REQUESTER_ID, 2022-04-22 10:56:35 normalization > SUBMITTER_ID, 2022-04-22 10:56:35 normalization > CUSTOM_FIELDS, 2022-04-22 10:56:35 normalization > HAS_INCIDENTS, 2022-04-22 10:56:35 normalization > FORUM_TOPIC_ID, 2022-04-22 10:56:35 normalization > TICKET_FORM_ID, 2022-04-22 10:56:35 normalization > ORGANIZATION_ID, 2022-04-22 10:56:35 normalization > COLLABORATOR_IDS, 2022-04-22 10:56:35 normalization > ALLOW_ATTACHMENTS, 2022-04-22 10:56:35 normalization > ALLOW_CHANNELBACK, 2022-04-22 10:56:35 normalization > GENERATED_TIMESTAMP, 2022-04-22 10:56:35 normalization > SATISFACTION_RATING, 2022-04-22 10:56:35 normalization > SHARING_AGREEMENT_IDS, 2022-04-22 10:56:35 normalization > _AIRBYTE_START_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_END_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_ACTIVE_ROW, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_TICKETS_HASHID 2022-04-22 10:56:35 normalization > from dedup_data where _AIRBYTE_ROW_NUM = 1 2022-04-22 10:56:35 normalization > ) order by (_AIRBYTE_ACTIVE_ROW, _AIRBYTE_UNIQUE_KEY_SCD, _AIRBYTE_EMITTED_AT) 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:55:30.950812 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_FIELDS_SCD" 2022-04-22 10:56:35 normalization > 10:55:30.958031 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_SCD" 2022-04-22 10:56:35 normalization > 10:55:30.959016 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_FIELDS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_FIELDS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_FIELDS_SCD" 2022-04-22 10:56:35 normalization > 10:55:30.959203 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_COMMENTS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"._AIRBYTE_ZENDESK_SUPPORT."TICKET_COMMENTS_STG" 2022-04-22 10:56:35 normalization > 10:55:31.149826 [debug] [Thread-3 ]: SQL status: SUCCESS 34 in 0.19 seconds 2022-04-22 10:56:35 normalization > 10:55:31.161294 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_FIELDS_SCD" 2022-04-22 10:56:35 normalization > 10:55:31.161553 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_FIELDS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_FIELDS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_FIELDS_SCD" 2022-04-22 10:56:35 normalization > 10:55:31.181255 [debug] [Thread-4 ]: SQL status: SUCCESS 19 in 0.26 seconds 2022-04-22 10:56:35 normalization > 10:55:31.191010 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_FORMS_SCD" 2022-04-22 10:56:35 normalization > 10:55:31.191232 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_FORMS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_FORMS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"._AIRBYTE_ZENDESK_SUPPORT."TICKET_FORMS_STG" 2022-04-22 10:56:35 normalization > 10:55:31.211722 [debug] [Thread-5 ]: SQL status: SUCCESS 17 in 0.25 seconds 2022-04-22 10:56:35 normalization > 10:55:31.215894 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 2.98 seconds 2022-04-22 10:56:35 normalization > 10:55:31.220540 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_SCD" 2022-04-22 10:56:35 normalization > 10:55:31.221335 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_SCD__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:55:31.227575 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_SCD" 2022-04-22 10:56:35 normalization > 10:55:31.227824 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_COMMENTS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_SCD" 2022-04-22 10:56:35 normalization > 10:55:31.304645 [debug] [Thread-3 ]: SQL status: SUCCESS 34 in 0.14 seconds 2022-04-22 10:56:35 normalization > 10:55:31.308882 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_FIELDS_SCD" 2022-04-22 10:56:35 normalization > 10:55:31.309103 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_FIELDS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_FIELDS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_FIELDS_SCD" 2022-04-22 10:56:35 normalization > 10:55:31.338949 [debug] [Thread-4 ]: SQL status: SUCCESS 19 in 0.15 seconds 2022-04-22 10:56:35 normalization > 10:55:31.349986 [debug] [Thread-4 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_FORMS_SCD" 2022-04-22 10:56:35 normalization > 10:55:31.350389 [debug] [Thread-4 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:31.350569 [debug] [Thread-4 ]: Began executing node model.airbyte_utils.TICKET_FORMS_SCD 2022-04-22 10:56:35 normalization > 10:55:31.355749 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_FORMS_SCD" 2022-04-22 10:56:35 normalization > 10:55:31.355936 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_FORMS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_FORMS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_FORMS_SCD" 2022-04-22 10:56:35 normalization > 10:55:31.380139 [debug] [Thread-1 ]: SQL status: SUCCESS 16 in 0.16 seconds 2022-04-22 10:56:35 normalization > 10:55:31.385231 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_SCD" 2022-04-22 10:56:35 normalization > 10:55:31.385464 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_SCD" 2022-04-22 10:56:35 normalization > 10:55:31.403922 [debug] [Thread-5 ]: SQL status: SUCCESS 22 in 0.18 seconds 2022-04-22 10:56:35 normalization > 10:55:31.414141 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_SCD" 2022-04-22 10:56:35 normalization > 10:55:31.414361 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_COMMENTS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"._AIRBYTE_ZENDESK_SUPPORT."TICKET_COMMENTS_STG" 2022-04-22 10:56:35 normalization > 10:55:31.455063 [debug] [Thread-4 ]: SQL status: SUCCESS 24 in 0.1 seconds 2022-04-22 10:56:35 normalization > 10:55:31.467842 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_FORMS_SCD" 2022-04-22 10:56:35 normalization > 10:55:31.468103 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_FORMS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_FORMS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace temporary table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_FORMS_SCD__dbt_tmp" as 2022-04-22 10:56:35 normalization > (select * from( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- depends_on: ref('TICKET_FORMS_STG') 2022-04-22 10:56:35 normalization > with 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > new_data as ( 2022-04-22 10:56:35 normalization > -- retrieve incremental "new" data 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > * 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB"._AIRBYTE_ZENDESK_SUPPORT."TICKET_FORMS_STG" 2022-04-22 10:56:35 normalization > -- TICKET_FORMS from "AIRBYTE_DB".ZENDESK_SUPPORT._AIRBYTE_RAW_TICKET_FORMS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > and cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) >= 2022-04-22 10:56:35 normalization > cast('2022-04-09 05:10:36.529000-07:00' as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > new_data_ids as ( 2022-04-22 10:56:35 normalization > -- build a subset of _AIRBYTE_UNIQUE_KEY from rows that are new 2022-04-22 10:56:35 normalization > select distinct 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_UNIQUE_KEY 2022-04-22 10:56:35 normalization > from new_data 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > empty_new_data as ( 2022-04-22 10:56:35 normalization > -- build an empty table to only keep the table's column types 2022-04-22 10:56:35 normalization > select * from new_data where 1 = 0 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > previous_active_scd_data as ( 2022-04-22 10:56:35 normalization > -- retrieve "incomplete old" data that needs to be updated with an end date because of new changes 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > this_data."_AIRBYTE_TICKET_FORMS_HASHID", 2022-04-22 10:56:35 normalization > this_data."ID", 2022-04-22 10:56:35 normalization > this_data."URL", 2022-04-22 10:56:35 normalization > this_data."NAME", 2022-04-22 10:56:35 normalization > this_data."ACTIVE", 2022-04-22 10:56:35 normalization > this_data."default", 2022-04-22 10:56:35 normalization > this_data."POSITION", 2022-04-22 10:56:35 normalization > this_data."RAW_NAME", 2022-04-22 10:56:35 normalization > this_data."CREATED_AT", 2022-04-22 10:56:35 normalization > this_data."UPDATED_AT", 2022-04-22 10:56:35 normalization > this_data."DISPLAY_NAME", 2022-04-22 10:56:35 normalization > this_data."IN_ALL_BRANDS", 2022-04-22 10:56:35 normalization > this_data."END_USER_VISIBLE", 2022-04-22 10:56:35 normalization > this_data."RAW_DISPLAY_NAME", 2022-04-22 10:56:35 normalization > this_data."TICKET_FIELD_IDS", 2022-04-22 10:56:35 normalization > this_data."RESTRICTED_BRAND_IDS", 2022-04-22 10:56:35 normalization > this_data."_AIRBYTE_AB_ID", 2022-04-22 10:56:35 normalization > this_data."_AIRBYTE_EMITTED_AT", 2022-04-22 10:56:35 normalization > this_data."_AIRBYTE_NORMALIZED_AT" 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_FORMS_SCD" as this_data 2022-04-22 10:56:35 normalization > -- make a join with new_data using primary key to filter active data that need to be updated only 2022-04-22 10:56:35 normalization > join new_data_ids on this_data._AIRBYTE_UNIQUE_KEY = new_data_ids._AIRBYTE_UNIQUE_KEY 2022-04-22 10:56:35 normalization > -- force left join to NULL values (we just need to transfer column types only for the star_intersect macro on schema changes) 2022-04-22 10:56:35 normalization > left join empty_new_data as inc_data on this_data._AIRBYTE_AB_ID = inc_data._AIRBYTE_AB_ID 2022-04-22 10:56:35 normalization > where _AIRBYTE_ACTIVE_ROW = 1 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > input_data as ( 2022-04-22 10:56:35 normalization > select "_AIRBYTE_TICKET_FORMS_HASHID", 2022-04-22 10:56:35 normalization > "ID", 2022-04-22 10:56:35 normalization > "URL", 2022-04-22 10:56:35 normalization > "NAME", 2022-04-22 10:56:35 normalization > "ACTIVE", 2022-04-22 10:56:35 normalization > "default", 2022-04-22 10:56:35 normalization > "POSITION", 2022-04-22 10:56:35 normalization > "RAW_NAME", 2022-04-22 10:56:35 normalization > "CREATED_AT", 2022-04-22 10:56:35 normalization > "UPDATED_AT", 2022-04-22 10:56:35 normalization > "DISPLAY_NAME", 2022-04-22 10:56:35 normalization > "IN_ALL_BRANDS", 2022-04-22 10:56:35 normalization > "END_USER_VISIBLE", 2022-04-22 10:56:35 normalization > "RAW_DISPLAY_NAME", 2022-04-22 10:56:35 normalization > "TICKET_FIELD_IDS", 2022-04-22 10:56:35 normalization > "RESTRICTED_BRAND_IDS", 2022-04-22 10:56:35 normalization > "_AIRBYTE_AB_ID", 2022-04-22 10:56:35 normalization > "_AIRBYTE_EMITTED_AT", 2022-04-22 10:56:35 normalization > "_AIRBYTE_NORMALIZED_AT" from new_data 2022-04-22 10:56:35 normalization > union all 2022-04-22 10:56:35 normalization > select "_AIRBYTE_TICKET_FORMS_HASHID", 2022-04-22 10:56:35 normalization > "ID", 2022-04-22 10:56:35 normalization > "URL", 2022-04-22 10:56:35 normalization > "NAME", 2022-04-22 10:56:35 normalization > "ACTIVE", 2022-04-22 10:56:35 normalization > "default", 2022-04-22 10:56:35 normalization > "POSITION", 2022-04-22 10:56:35 normalization > "RAW_NAME", 2022-04-22 10:56:35 normalization > "CREATED_AT", 2022-04-22 10:56:35 normalization > "UPDATED_AT", 2022-04-22 10:56:35 normalization > "DISPLAY_NAME", 2022-04-22 10:56:35 normalization > "IN_ALL_BRANDS", 2022-04-22 10:56:35 normalization > "END_USER_VISIBLE", 2022-04-22 10:56:35 normalization > "RAW_DISPLAY_NAME", 2022-04-22 10:56:35 normalization > "TICKET_FIELD_IDS", 2022-04-22 10:56:35 normalization > "RESTRICTED_BRAND_IDS", 2022-04-22 10:56:35 normalization > "_AIRBYTE_AB_ID", 2022-04-22 10:56:35 normalization > "_AIRBYTE_EMITTED_AT", 2022-04-22 10:56:35 normalization > "_AIRBYTE_NORMALIZED_AT" from previous_active_scd_data 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > scd_data as ( 2022-04-22 10:56:35 normalization > -- SQL model to build a Type 2 Slowly Changing Dimension (SCD) table for each record identified by their primary key 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_UNIQUE_KEY, 2022-04-22 10:56:35 normalization > ID, 2022-04-22 10:56:35 normalization > URL, 2022-04-22 10:56:35 normalization > NAME, 2022-04-22 10:56:35 normalization > ACTIVE, 2022-04-22 10:56:35 normalization > "default", 2022-04-22 10:56:35 normalization > POSITION, 2022-04-22 10:56:35 normalization > RAW_NAME, 2022-04-22 10:56:35 normalization > CREATED_AT, 2022-04-22 10:56:35 normalization > UPDATED_AT, 2022-04-22 10:56:35 normalization > DISPLAY_NAME, 2022-04-22 10:56:35 normalization > IN_ALL_BRANDS, 2022-04-22 10:56:35 normalization > END_USER_VISIBLE, 2022-04-22 10:56:35 normalization > RAW_DISPLAY_NAME, 2022-04-22 10:56:35 normalization > TICKET_FIELD_IDS, 2022-04-22 10:56:35 normalization > RESTRICTED_BRAND_IDS, 2022-04-22 10:56:35 normalization > UPDATED_AT as _AIRBYTE_START_AT, 2022-04-22 10:56:35 normalization > lag(UPDATED_AT) over ( 2022-04-22 10:56:35 normalization > partition by ID 2022-04-22 10:56:35 normalization > order by 2022-04-22 10:56:35 normalization > UPDATED_AT is null asc, 2022-04-22 10:56:35 normalization > UPDATED_AT desc, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT desc 2022-04-22 10:56:35 normalization > ) as _AIRBYTE_END_AT, 2022-04-22 10:56:35 normalization > case when row_number() over ( 2022-04-22 10:56:35 normalization > partition by ID 2022-04-22 10:56:35 normalization > order by 2022-04-22 10:56:35 normalization > UPDATED_AT is null asc, 2022-04-22 10:56:35 normalization > UPDATED_AT desc, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT desc 2022-04-22 10:56:35 normalization > ) = 1 then 1 else 0 end as _AIRBYTE_ACTIVE_ROW, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_TICKET_FORMS_HASHID 2022-04-22 10:56:35 normalization > from input_data 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > dedup_data as ( 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > -- we need to ensure de-duplicated rows for merge/update queries 2022-04-22 10:56:35 normalization > -- additionally, we generate a unique key for the scd table 2022-04-22 10:56:35 normalization > row_number() over ( 2022-04-22 10:56:35 normalization > partition by 2022-04-22 10:56:35 normalization > _AIRBYTE_UNIQUE_KEY, 2022-04-22 10:56:35 normalization > _AIRBYTE_START_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT 2022-04-22 10:56:35 normalization > order by _AIRBYTE_ACTIVE_ROW desc, _AIRBYTE_AB_ID 2022-04-22 10:56:35 normalization > ) as _AIRBYTE_ROW_NUM, 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(_AIRBYTE_UNIQUE_KEY as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(_AIRBYTE_START_AT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_UNIQUE_KEY_SCD, 2022-04-22 10:56:35 normalization > scd_data.* 2022-04-22 10:56:35 normalization > from scd_data 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_UNIQUE_KEY, 2022-04-22 10:56:35 normalization > _AIRBYTE_UNIQUE_KEY_SCD, 2022-04-22 10:56:35 normalization > ID, 2022-04-22 10:56:35 normalization > URL, 2022-04-22 10:56:35 normalization > NAME, 2022-04-22 10:56:35 normalization > ACTIVE, 2022-04-22 10:56:35 normalization > "default", 2022-04-22 10:56:35 normalization > POSITION, 2022-04-22 10:56:35 normalization > RAW_NAME, 2022-04-22 10:56:35 normalization > CREATED_AT, 2022-04-22 10:56:35 normalization > UPDATED_AT, 2022-04-22 10:56:35 normalization > DISPLAY_NAME, 2022-04-22 10:56:35 normalization > IN_ALL_BRANDS, 2022-04-22 10:56:35 normalization > END_USER_VISIBLE, 2022-04-22 10:56:35 normalization > RAW_DISPLAY_NAME, 2022-04-22 10:56:35 normalization > TICKET_FIELD_IDS, 2022-04-22 10:56:35 normalization > RESTRICTED_BRAND_IDS, 2022-04-22 10:56:35 normalization > _AIRBYTE_START_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_END_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_ACTIVE_ROW, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_TICKET_FORMS_HASHID 2022-04-22 10:56:35 normalization > from dedup_data where _AIRBYTE_ROW_NUM = 1 2022-04-22 10:56:35 normalization > ) order by (_AIRBYTE_ACTIVE_ROW, _AIRBYTE_UNIQUE_KEY_SCD, _AIRBYTE_EMITTED_AT) 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:55:31.531096 [debug] [Thread-5 ]: SQL status: SUCCESS 17 in 0.12 seconds 2022-04-22 10:56:35 normalization > 10:55:31.540228 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_SCD" 2022-04-22 10:56:35 normalization > 10:55:31.540448 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_COMMENTS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"._AIRBYTE_ZENDESK_SUPPORT."TICKET_COMMENTS_STG" 2022-04-22 10:56:35 normalization > 10:55:31.590613 [debug] [Thread-1 ]: SQL status: SUCCESS 16 in 0.21 seconds 2022-04-22 10:56:35 normalization > 10:55:31.598276 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_SCD" 2022-04-22 10:56:35 normalization > 10:55:31.598518 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_SCD__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:55:31.653010 [debug] [Thread-5 ]: SQL status: SUCCESS 17 in 0.11 seconds 2022-04-22 10:56:35 normalization > 10:55:31.662291 [debug] [Thread-5 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_COMMENTS_SCD" 2022-04-22 10:56:35 normalization > 10:55:31.662803 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:31.662963 [debug] [Thread-5 ]: Began executing node model.airbyte_utils.TICKET_COMMENTS_SCD 2022-04-22 10:56:35 normalization > 10:55:31.668539 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_SCD" 2022-04-22 10:56:35 normalization > 10:55:31.668718 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_COMMENTS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_SCD" 2022-04-22 10:56:35 normalization > 10:55:31.728251 [debug] [Thread-5 ]: SQL status: SUCCESS 22 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:55:31.741662 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_SCD" 2022-04-22 10:56:35 normalization > 10:55:31.741920 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_COMMENTS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace temporary table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_SCD__dbt_tmp" as 2022-04-22 10:56:35 normalization > (select * from( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- depends_on: ref('TICKET_COMMENTS_STG') 2022-04-22 10:56:35 normalization > with 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > new_data as ( 2022-04-22 10:56:35 normalization > -- retrieve incremental "new" data 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > * 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB"._AIRBYTE_ZENDESK_SUPPORT."TICKET_COMMENTS_STG" 2022-04-22 10:56:35 normalization > -- TICKET_COMMENTS from "AIRBYTE_DB".ZENDESK_SUPPORT._AIRBYTE_RAW_TICKET_COMMENTS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > and cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) >= 2022-04-22 10:56:35 normalization > cast('2022-04-22 10:49:13.404000-07:00' as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > new_data_ids as ( 2022-04-22 10:56:35 normalization > -- build a subset of _AIRBYTE_UNIQUE_KEY from rows that are new 2022-04-22 10:56:35 normalization > select distinct 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_UNIQUE_KEY 2022-04-22 10:56:35 normalization > from new_data 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > empty_new_data as ( 2022-04-22 10:56:35 normalization > -- build an empty table to only keep the table's column types 2022-04-22 10:56:35 normalization > select * from new_data where 1 = 0 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > previous_active_scd_data as ( 2022-04-22 10:56:35 normalization > -- retrieve "incomplete old" data that needs to be updated with an end date because of new changes 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > this_data."_AIRBYTE_TICKET_COMMENTS_HASHID", 2022-04-22 10:56:35 normalization > this_data."ID", 2022-04-22 10:56:35 normalization > this_data."VIA", 2022-04-22 10:56:35 normalization > this_data."BODY", 2022-04-22 10:56:35 normalization > this_data."TYPE", 2022-04-22 10:56:35 normalization > this_data."PUBLIC", 2022-04-22 10:56:35 normalization > this_data."AUDIT_ID", 2022-04-22 10:56:35 normalization > this_data."METADATA", 2022-04-22 10:56:35 normalization > this_data."AUTHOR_ID", 2022-04-22 10:56:35 normalization > this_data."HTML_BODY", 2022-04-22 10:56:35 normalization > this_data."TICKET_ID", 2022-04-22 10:56:35 normalization > this_data."CREATED_AT", 2022-04-22 10:56:35 normalization > this_data."PLAIN_BODY", 2022-04-22 10:56:35 normalization > this_data."ATTACHMENTS", 2022-04-22 10:56:35 normalization > this_data."_AIRBYTE_AB_ID", 2022-04-22 10:56:35 normalization > this_data."_AIRBYTE_EMITTED_AT", 2022-04-22 10:56:35 normalization > this_data."_AIRBYTE_NORMALIZED_AT" 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_SCD" as this_data 2022-04-22 10:56:35 normalization > -- make a join with new_data using primary key to filter active data that need to be updated only 2022-04-22 10:56:35 normalization > join new_data_ids on this_data._AIRBYTE_UNIQUE_KEY = new_data_ids._AIRBYTE_UNIQUE_KEY 2022-04-22 10:56:35 normalization > -- force left join to NULL values (we just need to transfer column types only for the star_intersect macro on schema changes) 2022-04-22 10:56:35 normalization > left join empty_new_data as inc_data on this_data._AIRBYTE_AB_ID = inc_data._AIRBYTE_AB_ID 2022-04-22 10:56:35 normalization > where _AIRBYTE_ACTIVE_ROW = 1 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > input_data as ( 2022-04-22 10:56:35 normalization > select "_AIRBYTE_TICKET_COMMENTS_HASHID", 2022-04-22 10:56:35 normalization > "ID", 2022-04-22 10:56:35 normalization > "VIA", 2022-04-22 10:56:35 normalization > "BODY", 2022-04-22 10:56:35 normalization > "TYPE", 2022-04-22 10:56:35 normalization > "PUBLIC", 2022-04-22 10:56:35 normalization > "AUDIT_ID", 2022-04-22 10:56:35 normalization > "METADATA", 2022-04-22 10:56:35 normalization > "AUTHOR_ID", 2022-04-22 10:56:35 normalization > "HTML_BODY", 2022-04-22 10:56:35 normalization > "TICKET_ID", 2022-04-22 10:56:35 normalization > "CREATED_AT", 2022-04-22 10:56:35 normalization > "PLAIN_BODY", 2022-04-22 10:56:35 normalization > "ATTACHMENTS", 2022-04-22 10:56:35 normalization > "_AIRBYTE_AB_ID", 2022-04-22 10:56:35 normalization > "_AIRBYTE_EMITTED_AT", 2022-04-22 10:56:35 normalization > "_AIRBYTE_NORMALIZED_AT" from new_data 2022-04-22 10:56:35 normalization > union all 2022-04-22 10:56:35 normalization > select "_AIRBYTE_TICKET_COMMENTS_HASHID", 2022-04-22 10:56:35 normalization > "ID", 2022-04-22 10:56:35 normalization > "VIA", 2022-04-22 10:56:35 normalization > "BODY", 2022-04-22 10:56:35 normalization > "TYPE", 2022-04-22 10:56:35 normalization > "PUBLIC", 2022-04-22 10:56:35 normalization > "AUDIT_ID", 2022-04-22 10:56:35 normalization > "METADATA", 2022-04-22 10:56:35 normalization > "AUTHOR_ID", 2022-04-22 10:56:35 normalization > "HTML_BODY", 2022-04-22 10:56:35 normalization > "TICKET_ID", 2022-04-22 10:56:35 normalization > "CREATED_AT", 2022-04-22 10:56:35 normalization > "PLAIN_BODY", 2022-04-22 10:56:35 normalization > "ATTACHMENTS", 2022-04-22 10:56:35 normalization > "_AIRBYTE_AB_ID", 2022-04-22 10:56:35 normalization > "_AIRBYTE_EMITTED_AT", 2022-04-22 10:56:35 normalization > "_AIRBYTE_NORMALIZED_AT" from previous_active_scd_data 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > scd_data as ( 2022-04-22 10:56:35 normalization > -- SQL model to build a Type 2 Slowly Changing Dimension (SCD) table for each record identified by their primary key 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_UNIQUE_KEY, 2022-04-22 10:56:35 normalization > ID, 2022-04-22 10:56:35 normalization > VIA, 2022-04-22 10:56:35 normalization > BODY, 2022-04-22 10:56:35 normalization > TYPE, 2022-04-22 10:56:35 normalization > PUBLIC, 2022-04-22 10:56:35 normalization > AUDIT_ID, 2022-04-22 10:56:35 normalization > METADATA, 2022-04-22 10:56:35 normalization > AUTHOR_ID, 2022-04-22 10:56:35 normalization > HTML_BODY, 2022-04-22 10:56:35 normalization > TICKET_ID, 2022-04-22 10:56:35 normalization > CREATED_AT, 2022-04-22 10:56:35 normalization > PLAIN_BODY, 2022-04-22 10:56:35 normalization > ATTACHMENTS, 2022-04-22 10:56:35 normalization > CREATED_AT as _AIRBYTE_START_AT, 2022-04-22 10:56:35 normalization > lag(CREATED_AT) over ( 2022-04-22 10:56:35 normalization > partition by ID 2022-04-22 10:56:35 normalization > order by 2022-04-22 10:56:35 normalization > CREATED_AT is null asc, 2022-04-22 10:56:35 normalization > CREATED_AT desc, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT desc 2022-04-22 10:56:35 normalization > ) as _AIRBYTE_END_AT, 2022-04-22 10:56:35 normalization > case when row_number() over ( 2022-04-22 10:56:35 normalization > partition by ID 2022-04-22 10:56:35 normalization > order by 2022-04-22 10:56:35 normalization > CREATED_AT is null asc, 2022-04-22 10:56:35 normalization > CREATED_AT desc, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT desc 2022-04-22 10:56:35 normalization > ) = 1 then 1 else 0 end as _AIRBYTE_ACTIVE_ROW, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_TICKET_COMMENTS_HASHID 2022-04-22 10:56:35 normalization > from input_data 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > dedup_data as ( 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > -- we need to ensure de-duplicated rows for merge/update queries 2022-04-22 10:56:35 normalization > -- additionally, we generate a unique key for the scd table 2022-04-22 10:56:35 normalization > row_number() over ( 2022-04-22 10:56:35 normalization > partition by 2022-04-22 10:56:35 normalization > _AIRBYTE_UNIQUE_KEY, 2022-04-22 10:56:35 normalization > _AIRBYTE_START_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT 2022-04-22 10:56:35 normalization > order by _AIRBYTE_ACTIVE_ROW desc, _AIRBYTE_AB_ID 2022-04-22 10:56:35 normalization > ) as _AIRBYTE_ROW_NUM, 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(_AIRBYTE_UNIQUE_KEY as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(_AIRBYTE_START_AT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_UNIQUE_KEY_SCD, 2022-04-22 10:56:35 normalization > scd_data.* 2022-04-22 10:56:35 normalization > from scd_data 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_UNIQUE_KEY, 2022-04-22 10:56:35 normalization > _AIRBYTE_UNIQUE_KEY_SCD, 2022-04-22 10:56:35 normalization > ID, 2022-04-22 10:56:35 normalization > VIA, 2022-04-22 10:56:35 normalization > BODY, 2022-04-22 10:56:35 normalization > TYPE, 2022-04-22 10:56:35 normalization > PUBLIC, 2022-04-22 10:56:35 normalization > AUDIT_ID, 2022-04-22 10:56:35 normalization > METADATA, 2022-04-22 10:56:35 normalization > AUTHOR_ID, 2022-04-22 10:56:35 normalization > HTML_BODY, 2022-04-22 10:56:35 normalization > TICKET_ID, 2022-04-22 10:56:35 normalization > CREATED_AT, 2022-04-22 10:56:35 normalization > PLAIN_BODY, 2022-04-22 10:56:35 normalization > ATTACHMENTS, 2022-04-22 10:56:35 normalization > _AIRBYTE_START_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_END_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_ACTIVE_ROW, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_TICKET_COMMENTS_HASHID 2022-04-22 10:56:35 normalization > from dedup_data where _AIRBYTE_ROW_NUM = 1 2022-04-22 10:56:35 normalization > ) order by (_AIRBYTE_ACTIVE_ROW, _AIRBYTE_UNIQUE_KEY_SCD, _AIRBYTE_EMITTED_AT) 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:55:31.869931 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 0.56 seconds 2022-04-22 10:56:35 normalization > 10:55:31.881489 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_FIELDS_SCD" 2022-04-22 10:56:35 normalization > 10:55:31.881747 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_FIELDS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_FIELDS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_FIELDS_SCD" 2022-04-22 10:56:35 normalization > 10:55:31.906467 [debug] [Thread-1 ]: SQL status: SUCCESS 16 in 0.31 seconds 2022-04-22 10:56:35 normalization > 10:55:31.911680 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_SCD" 2022-04-22 10:56:35 normalization > 10:55:31.911919 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_AUDITS_SCD" 2022-04-22 10:56:35 normalization > 10:55:31.971673 [debug] [Thread-3 ]: SQL status: SUCCESS 34 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:55:31.977126 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_FIELDS_SCD" 2022-04-22 10:56:35 normalization > 10:55:31.977453 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_FIELDS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_FIELDS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_FIELDS_SCD" 2022-04-22 10:56:35 normalization > 10:55:32.070952 [debug] [Thread-1 ]: SQL status: SUCCESS 16 in 0.16 seconds 2022-04-22 10:56:35 normalization > 10:55:32.076415 [debug] [Thread-1 ]: 2022-04-22 10:56:35 normalization > In "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_AUDITS_SCD": 2022-04-22 10:56:35 normalization > Schema changed: False 2022-04-22 10:56:35 normalization > Source columns not in target: [] 2022-04-22 10:56:35 normalization > Target columns not in source: [] 2022-04-22 10:56:35 normalization > New column types: [] 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 10:55:32.078207 [debug] [Thread-1 ]: Writing runtime SQL for node "model.airbyte_utils.TICKET_AUDITS_SCD" 2022-04-22 10:56:35 normalization > 10:55:32.083625 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_SCD" 2022-04-22 10:56:35 normalization > 10:55:32.083810 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_SCD"} */ 2022-04-22 10:56:35 normalization > begin; 2022-04-22 10:56:35 normalization > 10:55:32.220063 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 0.14 seconds 2022-04-22 10:56:35 normalization > 10:55:32.220461 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_SCD" 2022-04-22 10:56:35 normalization > 10:55:32.220578 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_SCD: merge into "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_SCD" as DBT_INTERNAL_DEST 2022-04-22 10:56:35 normalization > using "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_SCD__dbt_tmp" as DBT_INTERNAL_SOURCE 2022-04-22 10:56:35 normalization > on 2022-04-22 10:56:35 normalization > DBT_INTERNAL_SOURCE._AIRBYTE_UNIQUE_KEY_SCD = DBT_INTERNAL_DEST._AIRBYTE_UNIQUE_KEY_SCD 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > when matched then update set 2022-04-22 10:56:35 normalization > "_AIRBYTE_UNIQUE_KEY" = DBT_INTERNAL_SOURCE."_AIRBYTE_UNIQUE_KEY","_AIRBYTE_UNIQUE_KEY_SCD" = DBT_INTERNAL_SOURCE."_AIRBYTE_UNIQUE_KEY_SCD","ID" = DBT_INTERNAL_SOURCE."ID","VIA" = DBT_INTERNAL_SOURCE."VIA","EVENTS" = DBT_INTERNAL_SOURCE."EVENTS","METADATA" = DBT_INTERNAL_SOURCE."METADATA","AUTHOR_ID" = DBT_INTERNAL_SOURCE."AUTHOR_ID","TICKET_ID" = DBT_INTERNAL_SOURCE."TICKET_ID","CREATED_AT" = DBT_INTERNAL_SOURCE."CREATED_AT","_AIRBYTE_START_AT" = DBT_INTERNAL_SOURCE."_AIRBYTE_START_AT","_AIRBYTE_END_AT" = DBT_INTERNAL_SOURCE."_AIRBYTE_END_AT","_AIRBYTE_ACTIVE_ROW" = DBT_INTERNAL_SOURCE."_AIRBYTE_ACTIVE_ROW","_AIRBYTE_AB_ID" = DBT_INTERNAL_SOURCE."_AIRBYTE_AB_ID","_AIRBYTE_EMITTED_AT" = DBT_INTERNAL_SOURCE."_AIRBYTE_EMITTED_AT","_AIRBYTE_NORMALIZED_AT" = DBT_INTERNAL_SOURCE."_AIRBYTE_NORMALIZED_AT","_AIRBYTE_TICKET_AUDITS_HASHID" = DBT_INTERNAL_SOURCE."_AIRBYTE_TICKET_AUDITS_HASHID" 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > when not matched then insert 2022-04-22 10:56:35 normalization > ("_AIRBYTE_UNIQUE_KEY", "_AIRBYTE_UNIQUE_KEY_SCD", "ID", "VIA", "EVENTS", "METADATA", "AUTHOR_ID", "TICKET_ID", "CREATED_AT", "_AIRBYTE_START_AT", "_AIRBYTE_END_AT", "_AIRBYTE_ACTIVE_ROW", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_TICKET_AUDITS_HASHID") 2022-04-22 10:56:35 normalization > values 2022-04-22 10:56:35 normalization > ("_AIRBYTE_UNIQUE_KEY", "_AIRBYTE_UNIQUE_KEY_SCD", "ID", "VIA", "EVENTS", "METADATA", "AUTHOR_ID", "TICKET_ID", "CREATED_AT", "_AIRBYTE_START_AT", "_AIRBYTE_END_AT", "_AIRBYTE_ACTIVE_ROW", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_TICKET_AUDITS_HASHID") 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ; 2022-04-22 10:56:35 normalization > 10:55:32.253809 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 0.28 seconds 2022-04-22 10:56:35 normalization > 10:55:32.376555 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_FIELDS_SCD" 2022-04-22 10:56:35 normalization > 10:55:32.376832 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_FIELDS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_FIELDS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"._AIRBYTE_ZENDESK_SUPPORT."TICKET_FIELDS_STG" 2022-04-22 10:56:35 normalization > 10:55:32.500074 [debug] [Thread-3 ]: SQL status: SUCCESS 29 in 0.12 seconds 2022-04-22 10:56:35 normalization > 10:55:32.514208 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_FIELDS_SCD" 2022-04-22 10:56:35 normalization > 10:55:32.514444 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_FIELDS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_FIELDS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_FIELDS_SCD" 2022-04-22 10:56:35 normalization > 10:55:32.674025 [debug] [Thread-3 ]: SQL status: SUCCESS 34 in 0.16 seconds 2022-04-22 10:56:35 normalization > 10:55:32.690827 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_FIELDS_SCD" 2022-04-22 10:56:35 normalization > 10:55:32.691116 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_FIELDS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_FIELDS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"._AIRBYTE_ZENDESK_SUPPORT."TICKET_FIELDS_STG" 2022-04-22 10:56:35 normalization > 10:55:32.801954 [debug] [Thread-3 ]: SQL status: SUCCESS 29 in 0.11 seconds 2022-04-22 10:56:35 normalization > 10:55:32.815258 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_FIELDS_SCD" 2022-04-22 10:56:35 normalization > 10:55:32.815608 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_FIELDS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_FIELDS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"._AIRBYTE_ZENDESK_SUPPORT."TICKET_FIELDS_STG" 2022-04-22 10:56:35 normalization > 10:55:33.056562 [debug] [Thread-3 ]: SQL status: SUCCESS 29 in 0.24 seconds 2022-04-22 10:56:35 normalization > 10:55:33.068491 [debug] [Thread-3 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_FIELDS_SCD" 2022-04-22 10:56:35 normalization > 10:55:33.068864 [debug] [Thread-3 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:33.069121 [debug] [Thread-3 ]: Began executing node model.airbyte_utils.TICKET_FIELDS_SCD 2022-04-22 10:56:35 normalization > 10:55:33.076732 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_FIELDS_SCD" 2022-04-22 10:56:35 normalization > 10:55:33.076946 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_FIELDS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_FIELDS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_FIELDS_SCD" 2022-04-22 10:56:35 normalization > 10:55:33.267205 [debug] [Thread-3 ]: SQL status: SUCCESS 34 in 0.19 seconds 2022-04-22 10:56:35 normalization > 10:55:33.282395 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_FIELDS_SCD" 2022-04-22 10:56:35 normalization > 10:55:33.282665 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_FIELDS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_FIELDS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace temporary table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_FIELDS_SCD__dbt_tmp" as 2022-04-22 10:56:35 normalization > (select * from( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- depends_on: ref('TICKET_FIELDS_STG') 2022-04-22 10:56:35 normalization > with 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > new_data as ( 2022-04-22 10:56:35 normalization > -- retrieve incremental "new" data 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > * 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB"._AIRBYTE_ZENDESK_SUPPORT."TICKET_FIELDS_STG" 2022-04-22 10:56:35 normalization > -- TICKET_FIELDS from "AIRBYTE_DB".ZENDESK_SUPPORT._AIRBYTE_RAW_TICKET_FIELDS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > and cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) >= 2022-04-22 10:56:35 normalization > cast('2022-04-12 22:54:36.644000-07:00' as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > new_data_ids as ( 2022-04-22 10:56:35 normalization > -- build a subset of _AIRBYTE_UNIQUE_KEY from rows that are new 2022-04-22 10:56:35 normalization > select distinct 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_UNIQUE_KEY 2022-04-22 10:56:35 normalization > from new_data 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > empty_new_data as ( 2022-04-22 10:56:35 normalization > -- build an empty table to only keep the table's column types 2022-04-22 10:56:35 normalization > select * from new_data where 1 = 0 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > previous_active_scd_data as ( 2022-04-22 10:56:35 normalization > -- retrieve "incomplete old" data that needs to be updated with an end date because of new changes 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > this_data."_AIRBYTE_TICKET_FIELDS_HASHID", 2022-04-22 10:56:35 normalization > this_data."ID", 2022-04-22 10:56:35 normalization > this_data."TAG", 2022-04-22 10:56:35 normalization > this_data."URL", 2022-04-22 10:56:35 normalization > this_data."TYPE", 2022-04-22 10:56:35 normalization > this_data."TITLE", 2022-04-22 10:56:35 normalization > this_data."ACTIVE", 2022-04-22 10:56:35 normalization > this_data."POSITION", 2022-04-22 10:56:35 normalization > this_data."REQUIRED", 2022-04-22 10:56:35 normalization > this_data."RAW_TITLE", 2022-04-22 10:56:35 normalization > this_data."REMOVABLE", 2022-04-22 10:56:35 normalization > this_data."CREATED_AT", 2022-04-22 10:56:35 normalization > this_data."UPDATED_AT", 2022-04-22 10:56:35 normalization > this_data."DESCRIPTION", 2022-04-22 10:56:35 normalization > this_data."SUB_TYPE_ID", 2022-04-22 10:56:35 normalization > this_data."RAW_DESCRIPTION", 2022-04-22 10:56:35 normalization > this_data."TITLE_IN_PORTAL", 2022-04-22 10:56:35 normalization > this_data."AGENT_DESCRIPTION", 2022-04-22 10:56:35 normalization > this_data."VISIBLE_IN_PORTAL", 2022-04-22 10:56:35 normalization > this_data."EDITABLE_IN_PORTAL", 2022-04-22 10:56:35 normalization > this_data."REQUIRED_IN_PORTAL", 2022-04-22 10:56:35 normalization > this_data."RAW_TITLE_IN_PORTAL", 2022-04-22 10:56:35 normalization > this_data."COLLAPSED_FOR_AGENTS", 2022-04-22 10:56:35 normalization > this_data."CUSTOM_FIELD_OPTIONS", 2022-04-22 10:56:35 normalization > this_data."SYSTEM_FIELD_OPTIONS", 2022-04-22 10:56:35 normalization > this_data."REGEXP_FOR_VALIDATION", 2022-04-22 10:56:35 normalization > this_data."_AIRBYTE_AB_ID", 2022-04-22 10:56:35 normalization > this_data."_AIRBYTE_EMITTED_AT", 2022-04-22 10:56:35 normalization > this_data."_AIRBYTE_NORMALIZED_AT" 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_FIELDS_SCD" as this_data 2022-04-22 10:56:35 normalization > -- make a join with new_data using primary key to filter active data that need to be updated only 2022-04-22 10:56:35 normalization > join new_data_ids on this_data._AIRBYTE_UNIQUE_KEY = new_data_ids._AIRBYTE_UNIQUE_KEY 2022-04-22 10:56:35 normalization > -- force left join to NULL values (we just need to transfer column types only for the star_intersect macro on schema changes) 2022-04-22 10:56:35 normalization > left join empty_new_data as inc_data on this_data._AIRBYTE_AB_ID = inc_data._AIRBYTE_AB_ID 2022-04-22 10:56:35 normalization > where _AIRBYTE_ACTIVE_ROW = 1 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > input_data as ( 2022-04-22 10:56:35 normalization > select "_AIRBYTE_TICKET_FIELDS_HASHID", 2022-04-22 10:56:35 normalization > "ID", 2022-04-22 10:56:35 normalization > "TAG", 2022-04-22 10:56:35 normalization > "URL", 2022-04-22 10:56:35 normalization > "TYPE", 2022-04-22 10:56:35 normalization > "TITLE", 2022-04-22 10:56:35 normalization > "ACTIVE", 2022-04-22 10:56:35 normalization > "POSITION", 2022-04-22 10:56:35 normalization > "REQUIRED", 2022-04-22 10:56:35 normalization > "RAW_TITLE", 2022-04-22 10:56:35 normalization > "REMOVABLE", 2022-04-22 10:56:35 normalization > "CREATED_AT", 2022-04-22 10:56:35 normalization > "UPDATED_AT", 2022-04-22 10:56:35 normalization > "DESCRIPTION", 2022-04-22 10:56:35 normalization > "SUB_TYPE_ID", 2022-04-22 10:56:35 normalization > "RAW_DESCRIPTION", 2022-04-22 10:56:35 normalization > "TITLE_IN_PORTAL", 2022-04-22 10:56:35 normalization > "AGENT_DESCRIPTION", 2022-04-22 10:56:35 normalization > "VISIBLE_IN_PORTAL", 2022-04-22 10:56:35 normalization > "EDITABLE_IN_PORTAL", 2022-04-22 10:56:35 normalization > "REQUIRED_IN_PORTAL", 2022-04-22 10:56:35 normalization > "RAW_TITLE_IN_PORTAL", 2022-04-22 10:56:35 normalization > "COLLAPSED_FOR_AGENTS", 2022-04-22 10:56:35 normalization > "CUSTOM_FIELD_OPTIONS", 2022-04-22 10:56:35 normalization > "SYSTEM_FIELD_OPTIONS", 2022-04-22 10:56:35 normalization > "REGEXP_FOR_VALIDATION", 2022-04-22 10:56:35 normalization > "_AIRBYTE_AB_ID", 2022-04-22 10:56:35 normalization > "_AIRBYTE_EMITTED_AT", 2022-04-22 10:56:35 normalization > "_AIRBYTE_NORMALIZED_AT" from new_data 2022-04-22 10:56:35 normalization > union all 2022-04-22 10:56:35 normalization > select "_AIRBYTE_TICKET_FIELDS_HASHID", 2022-04-22 10:56:35 normalization > "ID", 2022-04-22 10:56:35 normalization > "TAG", 2022-04-22 10:56:35 normalization > "URL", 2022-04-22 10:56:35 normalization > "TYPE", 2022-04-22 10:56:35 normalization > "TITLE", 2022-04-22 10:56:35 normalization > "ACTIVE", 2022-04-22 10:56:35 normalization > "POSITION", 2022-04-22 10:56:35 normalization > "REQUIRED", 2022-04-22 10:56:35 normalization > "RAW_TITLE", 2022-04-22 10:56:35 normalization > "REMOVABLE", 2022-04-22 10:56:35 normalization > "CREATED_AT", 2022-04-22 10:56:35 normalization > "UPDATED_AT", 2022-04-22 10:56:35 normalization > "DESCRIPTION", 2022-04-22 10:56:35 normalization > "SUB_TYPE_ID", 2022-04-22 10:56:35 normalization > "RAW_DESCRIPTION", 2022-04-22 10:56:35 normalization > "TITLE_IN_PORTAL", 2022-04-22 10:56:35 normalization > "AGENT_DESCRIPTION", 2022-04-22 10:56:35 normalization > "VISIBLE_IN_PORTAL", 2022-04-22 10:56:35 normalization > "EDITABLE_IN_PORTAL", 2022-04-22 10:56:35 normalization > "REQUIRED_IN_PORTAL", 2022-04-22 10:56:35 normalization > "RAW_TITLE_IN_PORTAL", 2022-04-22 10:56:35 normalization > "COLLAPSED_FOR_AGENTS", 2022-04-22 10:56:35 normalization > "CUSTOM_FIELD_OPTIONS", 2022-04-22 10:56:35 normalization > "SYSTEM_FIELD_OPTIONS", 2022-04-22 10:56:35 normalization > "REGEXP_FOR_VALIDATION", 2022-04-22 10:56:35 normalization > "_AIRBYTE_AB_ID", 2022-04-22 10:56:35 normalization > "_AIRBYTE_EMITTED_AT", 2022-04-22 10:56:35 normalization > "_AIRBYTE_NORMALIZED_AT" from previous_active_scd_data 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > scd_data as ( 2022-04-22 10:56:35 normalization > -- SQL model to build a Type 2 Slowly Changing Dimension (SCD) table for each record identified by their primary key 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_UNIQUE_KEY, 2022-04-22 10:56:35 normalization > ID, 2022-04-22 10:56:35 normalization > TAG, 2022-04-22 10:56:35 normalization > URL, 2022-04-22 10:56:35 normalization > TYPE, 2022-04-22 10:56:35 normalization > TITLE, 2022-04-22 10:56:35 normalization > ACTIVE, 2022-04-22 10:56:35 normalization > POSITION, 2022-04-22 10:56:35 normalization > REQUIRED, 2022-04-22 10:56:35 normalization > RAW_TITLE, 2022-04-22 10:56:35 normalization > REMOVABLE, 2022-04-22 10:56:35 normalization > CREATED_AT, 2022-04-22 10:56:35 normalization > UPDATED_AT, 2022-04-22 10:56:35 normalization > DESCRIPTION, 2022-04-22 10:56:35 normalization > SUB_TYPE_ID, 2022-04-22 10:56:35 normalization > RAW_DESCRIPTION, 2022-04-22 10:56:35 normalization > TITLE_IN_PORTAL, 2022-04-22 10:56:35 normalization > AGENT_DESCRIPTION, 2022-04-22 10:56:35 normalization > VISIBLE_IN_PORTAL, 2022-04-22 10:56:35 normalization > EDITABLE_IN_PORTAL, 2022-04-22 10:56:35 normalization > REQUIRED_IN_PORTAL, 2022-04-22 10:56:35 normalization > RAW_TITLE_IN_PORTAL, 2022-04-22 10:56:35 normalization > COLLAPSED_FOR_AGENTS, 2022-04-22 10:56:35 normalization > CUSTOM_FIELD_OPTIONS, 2022-04-22 10:56:35 normalization > SYSTEM_FIELD_OPTIONS, 2022-04-22 10:56:35 normalization > REGEXP_FOR_VALIDATION, 2022-04-22 10:56:35 normalization > UPDATED_AT as _AIRBYTE_START_AT, 2022-04-22 10:56:35 normalization > lag(UPDATED_AT) over ( 2022-04-22 10:56:35 normalization > partition by ID 2022-04-22 10:56:35 normalization > order by 2022-04-22 10:56:35 normalization > UPDATED_AT is null asc, 2022-04-22 10:56:35 normalization > UPDATED_AT desc, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT desc 2022-04-22 10:56:35 normalization > ) as _AIRBYTE_END_AT, 2022-04-22 10:56:35 normalization > case when row_number() over ( 2022-04-22 10:56:35 normalization > partition by ID 2022-04-22 10:56:35 normalization > order by 2022-04-22 10:56:35 normalization > UPDATED_AT is null asc, 2022-04-22 10:56:35 normalization > UPDATED_AT desc, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT desc 2022-04-22 10:56:35 normalization > ) = 1 then 1 else 0 end as _AIRBYTE_ACTIVE_ROW, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_TICKET_FIELDS_HASHID 2022-04-22 10:56:35 normalization > from input_data 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > dedup_data as ( 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > -- we need to ensure de-duplicated rows for merge/update queries 2022-04-22 10:56:35 normalization > -- additionally, we generate a unique key for the scd table 2022-04-22 10:56:35 normalization > row_number() over ( 2022-04-22 10:56:35 normalization > partition by 2022-04-22 10:56:35 normalization > _AIRBYTE_UNIQUE_KEY, 2022-04-22 10:56:35 normalization > _AIRBYTE_START_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT 2022-04-22 10:56:35 normalization > order by _AIRBYTE_ACTIVE_ROW desc, _AIRBYTE_AB_ID 2022-04-22 10:56:35 normalization > ) as _AIRBYTE_ROW_NUM, 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(_AIRBYTE_UNIQUE_KEY as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(_AIRBYTE_START_AT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_UNIQUE_KEY_SCD, 2022-04-22 10:56:35 normalization > scd_data.* 2022-04-22 10:56:35 normalization > from scd_data 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_UNIQUE_KEY, 2022-04-22 10:56:35 normalization > _AIRBYTE_UNIQUE_KEY_SCD, 2022-04-22 10:56:35 normalization > ID, 2022-04-22 10:56:35 normalization > TAG, 2022-04-22 10:56:35 normalization > URL, 2022-04-22 10:56:35 normalization > TYPE, 2022-04-22 10:56:35 normalization > TITLE, 2022-04-22 10:56:35 normalization > ACTIVE, 2022-04-22 10:56:35 normalization > POSITION, 2022-04-22 10:56:35 normalization > REQUIRED, 2022-04-22 10:56:35 normalization > RAW_TITLE, 2022-04-22 10:56:35 normalization > REMOVABLE, 2022-04-22 10:56:35 normalization > CREATED_AT, 2022-04-22 10:56:35 normalization > UPDATED_AT, 2022-04-22 10:56:35 normalization > DESCRIPTION, 2022-04-22 10:56:35 normalization > SUB_TYPE_ID, 2022-04-22 10:56:35 normalization > RAW_DESCRIPTION, 2022-04-22 10:56:35 normalization > TITLE_IN_PORTAL, 2022-04-22 10:56:35 normalization > AGENT_DESCRIPTION, 2022-04-22 10:56:35 normalization > VISIBLE_IN_PORTAL, 2022-04-22 10:56:35 normalization > EDITABLE_IN_PORTAL, 2022-04-22 10:56:35 normalization > REQUIRED_IN_PORTAL, 2022-04-22 10:56:35 normalization > RAW_TITLE_IN_PORTAL, 2022-04-22 10:56:35 normalization > COLLAPSED_FOR_AGENTS, 2022-04-22 10:56:35 normalization > CUSTOM_FIELD_OPTIONS, 2022-04-22 10:56:35 normalization > SYSTEM_FIELD_OPTIONS, 2022-04-22 10:56:35 normalization > REGEXP_FOR_VALIDATION, 2022-04-22 10:56:35 normalization > _AIRBYTE_START_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_END_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_ACTIVE_ROW, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_TICKET_FIELDS_HASHID 2022-04-22 10:56:35 normalization > from dedup_data where _AIRBYTE_ROW_NUM = 1 2022-04-22 10:56:35 normalization > ) order by (_AIRBYTE_ACTIVE_ROW, _AIRBYTE_UNIQUE_KEY_SCD, _AIRBYTE_EMITTED_AT) 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:55:33.867202 [debug] [Thread-1 ]: SQL status: SUCCESS 262 in 1.65 seconds 2022-04-22 10:56:35 normalization > 10:55:33.867529 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_SCD" 2022-04-22 10:56:35 normalization > 10:55:33.867643 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_SCD: commit; 2022-04-22 10:56:35 normalization > 10:55:34.527585 [debug] [Thread-4 ]: SQL status: SUCCESS 1 in 3.06 seconds 2022-04-22 10:56:35 normalization > 10:55:34.531814 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_FORMS_SCD" 2022-04-22 10:56:35 normalization > 10:55:34.532007 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_FORMS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_FORMS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_FORMS_SCD__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:55:34.543994 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 0.68 seconds 2022-04-22 10:56:35 normalization > 10:55:34.545899 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_SCD" 2022-04-22 10:56:35 normalization > 10:55:34.546057 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > drop view _AIRBYTE_ZENDESK_SUPPORT.TICKET_AUDITS_STG 2022-04-22 10:56:35 normalization > 10:55:34.675701 [debug] [Thread-4 ]: SQL status: SUCCESS 24 in 0.14 seconds 2022-04-22 10:56:35 normalization > 10:55:34.681888 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_FORMS_SCD" 2022-04-22 10:56:35 normalization > 10:55:34.682143 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_FORMS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_FORMS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_FORMS_SCD" 2022-04-22 10:56:35 normalization > 10:55:34.723443 [debug] [Thread-5 ]: SQL status: SUCCESS 1 in 2.98 seconds 2022-04-22 10:56:35 normalization > 10:55:34.728290 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_SCD" 2022-04-22 10:56:35 normalization > 10:55:34.728502 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_COMMENTS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_SCD__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:55:34.787542 [debug] [Thread-4 ]: SQL status: SUCCESS 24 in 0.11 seconds 2022-04-22 10:56:35 normalization > 10:55:34.795806 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_FORMS_SCD" 2022-04-22 10:56:35 normalization > 10:55:34.796150 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_FORMS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_FORMS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_FORMS_SCD__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:55:34.855150 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 0.31 seconds 2022-04-22 10:56:35 normalization > 10:55:34.858810 [debug] [Thread-1 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:34.859055 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_SCD: Close 2022-04-22 10:56:35 normalization > 10:55:34.907514 [debug] [Thread-4 ]: SQL status: SUCCESS 24 in 0.11 seconds 2022-04-22 10:56:35 normalization > 10:55:34.914612 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_FORMS_SCD" 2022-04-22 10:56:35 normalization > 10:55:34.914862 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_FORMS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_FORMS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_FORMS_SCD" 2022-04-22 10:56:35 normalization > 10:55:35.032747 [debug] [Thread-5 ]: SQL status: SUCCESS 22 in 0.3 seconds 2022-04-22 10:56:35 normalization > 10:55:35.039224 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_SCD" 2022-04-22 10:56:35 normalization > 10:55:35.039681 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_COMMENTS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_SCD" 2022-04-22 10:56:35 normalization > 10:55:35.051366 [debug] [Thread-4 ]: SQL status: SUCCESS 24 in 0.14 seconds 2022-04-22 10:56:35 normalization > 10:55:35.063183 [debug] [Thread-4 ]: 2022-04-22 10:56:35 normalization > In "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_FORMS_SCD": 2022-04-22 10:56:35 normalization > Schema changed: False 2022-04-22 10:56:35 normalization > Source columns not in target: [] 2022-04-22 10:56:35 normalization > Target columns not in source: [] 2022-04-22 10:56:35 normalization > New column types: [] 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 10:55:35.065638 [debug] [Thread-4 ]: Writing runtime SQL for node "model.airbyte_utils.TICKET_FORMS_SCD" 2022-04-22 10:56:35 normalization > 10:55:35.067953 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_FORMS_SCD" 2022-04-22 10:56:35 normalization > 10:55:35.068149 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_FORMS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_FORMS_SCD"} */ 2022-04-22 10:56:35 normalization > begin; 2022-04-22 10:56:35 normalization > 10:55:35.120584 [info ] [Thread-1 ]: 22 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_AUDITS_SCD................................................. [SUCCESS 1 in 8.98s] 2022-04-22 10:56:35 normalization > 10:55:35.121212 [debug] [Thread-1 ]: Finished running node model.airbyte_utils.TICKET_AUDITS_SCD 2022-04-22 10:56:35 normalization > 10:55:35.121482 [debug] [Thread-1 ]: Began running node model.airbyte_utils.TICKET_METRICS_SCD 2022-04-22 10:56:35 normalization > 10:55:35.121822 [info ] [Thread-1 ]: 27 of 95 START incremental model ZENDESK_SUPPORT.TICKET_METRICS_SCD..................................................... [RUN] 2022-04-22 10:56:35 normalization > 10:55:35.123270 [debug] [Thread-1 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_METRICS_SCD" 2022-04-22 10:56:35 normalization > 10:55:35.123470 [debug] [Thread-1 ]: Began compiling node model.airbyte_utils.TICKET_METRICS_SCD 2022-04-22 10:56:35 normalization > 10:55:35.123627 [debug] [Thread-1 ]: Compiling model.airbyte_utils.TICKET_METRICS_SCD 2022-04-22 10:56:35 normalization > 10:55:35.143500 [debug] [Thread-5 ]: SQL status: SUCCESS 22 in 0.1 seconds 2022-04-22 10:56:35 normalization > 10:55:35.145349 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_METRICS_SCD" 2022-04-22 10:56:35 normalization > 10:55:35.151852 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_SCD" 2022-04-22 10:56:35 normalization > 10:55:35.152225 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_METRICS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_METRICS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_METRICS_SCD" 2022-04-22 10:56:35 normalization > 10:55:35.152444 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_COMMENTS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_SCD__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:55:35.152624 [debug] [Thread-1 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:55:35.219450 [debug] [Thread-4 ]: SQL status: SUCCESS 1 in 0.15 seconds 2022-04-22 10:56:35 normalization > 10:55:35.225300 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_FORMS_SCD" 2022-04-22 10:56:35 normalization > 10:55:35.225666 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_FORMS_SCD: merge into "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_FORMS_SCD" as DBT_INTERNAL_DEST 2022-04-22 10:56:35 normalization > using "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_FORMS_SCD__dbt_tmp" as DBT_INTERNAL_SOURCE 2022-04-22 10:56:35 normalization > on 2022-04-22 10:56:35 normalization > DBT_INTERNAL_SOURCE._AIRBYTE_UNIQUE_KEY_SCD = DBT_INTERNAL_DEST._AIRBYTE_UNIQUE_KEY_SCD 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > when matched then update set 2022-04-22 10:56:35 normalization > "_AIRBYTE_UNIQUE_KEY" = DBT_INTERNAL_SOURCE."_AIRBYTE_UNIQUE_KEY","_AIRBYTE_UNIQUE_KEY_SCD" = DBT_INTERNAL_SOURCE."_AIRBYTE_UNIQUE_KEY_SCD","ID" = DBT_INTERNAL_SOURCE."ID","URL" = DBT_INTERNAL_SOURCE."URL","NAME" = DBT_INTERNAL_SOURCE."NAME","ACTIVE" = DBT_INTERNAL_SOURCE."ACTIVE","default" = DBT_INTERNAL_SOURCE."default","POSITION" = DBT_INTERNAL_SOURCE."POSITION","RAW_NAME" = DBT_INTERNAL_SOURCE."RAW_NAME","CREATED_AT" = DBT_INTERNAL_SOURCE."CREATED_AT","UPDATED_AT" = DBT_INTERNAL_SOURCE."UPDATED_AT","DISPLAY_NAME" = DBT_INTERNAL_SOURCE."DISPLAY_NAME","IN_ALL_BRANDS" = DBT_INTERNAL_SOURCE."IN_ALL_BRANDS","END_USER_VISIBLE" = DBT_INTERNAL_SOURCE."END_USER_VISIBLE","RAW_DISPLAY_NAME" = DBT_INTERNAL_SOURCE."RAW_DISPLAY_NAME","TICKET_FIELD_IDS" = DBT_INTERNAL_SOURCE."TICKET_FIELD_IDS","RESTRICTED_BRAND_IDS" = DBT_INTERNAL_SOURCE."RESTRICTED_BRAND_IDS","_AIRBYTE_START_AT" = DBT_INTERNAL_SOURCE."_AIRBYTE_START_AT","_AIRBYTE_END_AT" = DBT_INTERNAL_SOURCE."_AIRBYTE_END_AT","_AIRBYTE_ACTIVE_ROW" = DBT_INTERNAL_SOURCE."_AIRBYTE_ACTIVE_ROW","_AIRBYTE_AB_ID" = DBT_INTERNAL_SOURCE."_AIRBYTE_AB_ID","_AIRBYTE_EMITTED_AT" = DBT_INTERNAL_SOURCE."_AIRBYTE_EMITTED_AT","_AIRBYTE_NORMALIZED_AT" = DBT_INTERNAL_SOURCE."_AIRBYTE_NORMALIZED_AT","_AIRBYTE_TICKET_FORMS_HASHID" = DBT_INTERNAL_SOURCE."_AIRBYTE_TICKET_FORMS_HASHID" 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > when not matched then insert 2022-04-22 10:56:35 normalization > ("_AIRBYTE_UNIQUE_KEY", "_AIRBYTE_UNIQUE_KEY_SCD", "ID", "URL", "NAME", "ACTIVE", "default", "POSITION", "RAW_NAME", "CREATED_AT", "UPDATED_AT", "DISPLAY_NAME", "IN_ALL_BRANDS", "END_USER_VISIBLE", "RAW_DISPLAY_NAME", "TICKET_FIELD_IDS", "RESTRICTED_BRAND_IDS", "_AIRBYTE_START_AT", "_AIRBYTE_END_AT", "_AIRBYTE_ACTIVE_ROW", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_TICKET_FORMS_HASHID") 2022-04-22 10:56:35 normalization > values 2022-04-22 10:56:35 normalization > ("_AIRBYTE_UNIQUE_KEY", "_AIRBYTE_UNIQUE_KEY_SCD", "ID", "URL", "NAME", "ACTIVE", "default", "POSITION", "RAW_NAME", "CREATED_AT", "UPDATED_AT", "DISPLAY_NAME", "IN_ALL_BRANDS", "END_USER_VISIBLE", "RAW_DISPLAY_NAME", "TICKET_FIELD_IDS", "RESTRICTED_BRAND_IDS", "_AIRBYTE_START_AT", "_AIRBYTE_END_AT", "_AIRBYTE_ACTIVE_ROW", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_TICKET_FORMS_HASHID") 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ; 2022-04-22 10:56:35 normalization > 10:55:35.337282 [debug] [Thread-5 ]: SQL status: SUCCESS 22 in 0.18 seconds 2022-04-22 10:56:35 normalization > 10:55:35.346266 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_SCD" 2022-04-22 10:56:35 normalization > 10:55:35.355049 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_COMMENTS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_COMMENTS_SCD" 2022-04-22 10:56:35 normalization > 10:55:35.414520 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 4.46 seconds 2022-04-22 10:56:35 normalization > 10:55:35.419461 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKETS_SCD" 2022-04-22 10:56:35 normalization > 10:55:35.420951 [debug] [Thread-2 ]: On model.airbyte_utils.TICKETS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_SCD__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:55:35.512328 [debug] [Thread-2 ]: SQL status: SUCCESS 45 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:55:35.519343 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKETS_SCD" 2022-04-22 10:56:35 normalization > 10:55:35.519573 [debug] [Thread-2 ]: On model.airbyte_utils.TICKETS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_SCD" 2022-04-22 10:56:35 normalization > 10:55:35.530347 [debug] [Thread-5 ]: SQL status: SUCCESS 22 in 0.17 seconds 2022-04-22 10:56:35 normalization > 10:55:35.535612 [debug] [Thread-5 ]: 2022-04-22 10:56:35 normalization > In "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_COMMENTS_SCD": 2022-04-22 10:56:35 normalization > Schema changed: False 2022-04-22 10:56:35 normalization > Source columns not in target: [] 2022-04-22 10:56:35 normalization > Target columns not in source: [] 2022-04-22 10:56:35 normalization > New column types: [] 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 10:55:35.537641 [debug] [Thread-5 ]: Writing runtime SQL for node "model.airbyte_utils.TICKET_COMMENTS_SCD" 2022-04-22 10:56:35 normalization > 10:55:35.539532 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_SCD" 2022-04-22 10:56:35 normalization > 10:55:35.539676 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_COMMENTS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_SCD"} */ 2022-04-22 10:56:35 normalization > begin; 2022-04-22 10:56:35 normalization > 10:55:35.552722 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 2.27 seconds 2022-04-22 10:56:35 normalization > 10:55:35.557243 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_FIELDS_SCD" 2022-04-22 10:56:35 normalization > 10:55:35.557476 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_FIELDS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_FIELDS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_FIELDS_SCD__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:55:35.631227 [debug] [Thread-5 ]: SQL status: SUCCESS 1 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:55:35.631628 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_SCD" 2022-04-22 10:56:35 normalization > 10:55:35.631747 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_COMMENTS_SCD: merge into "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_SCD" as DBT_INTERNAL_DEST 2022-04-22 10:56:35 normalization > using "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_SCD__dbt_tmp" as DBT_INTERNAL_SOURCE 2022-04-22 10:56:35 normalization > on 2022-04-22 10:56:35 normalization > DBT_INTERNAL_SOURCE._AIRBYTE_UNIQUE_KEY_SCD = DBT_INTERNAL_DEST._AIRBYTE_UNIQUE_KEY_SCD 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > when matched then update set 2022-04-22 10:56:35 normalization > "_AIRBYTE_UNIQUE_KEY" = DBT_INTERNAL_SOURCE."_AIRBYTE_UNIQUE_KEY","_AIRBYTE_UNIQUE_KEY_SCD" = DBT_INTERNAL_SOURCE."_AIRBYTE_UNIQUE_KEY_SCD","ID" = DBT_INTERNAL_SOURCE."ID","VIA" = DBT_INTERNAL_SOURCE."VIA","BODY" = DBT_INTERNAL_SOURCE."BODY","TYPE" = DBT_INTERNAL_SOURCE."TYPE","PUBLIC" = DBT_INTERNAL_SOURCE."PUBLIC","AUDIT_ID" = DBT_INTERNAL_SOURCE."AUDIT_ID","METADATA" = DBT_INTERNAL_SOURCE."METADATA","AUTHOR_ID" = DBT_INTERNAL_SOURCE."AUTHOR_ID","HTML_BODY" = DBT_INTERNAL_SOURCE."HTML_BODY","TICKET_ID" = DBT_INTERNAL_SOURCE."TICKET_ID","CREATED_AT" = DBT_INTERNAL_SOURCE."CREATED_AT","PLAIN_BODY" = DBT_INTERNAL_SOURCE."PLAIN_BODY","ATTACHMENTS" = DBT_INTERNAL_SOURCE."ATTACHMENTS","_AIRBYTE_START_AT" = DBT_INTERNAL_SOURCE."_AIRBYTE_START_AT","_AIRBYTE_END_AT" = DBT_INTERNAL_SOURCE."_AIRBYTE_END_AT","_AIRBYTE_ACTIVE_ROW" = DBT_INTERNAL_SOURCE."_AIRBYTE_ACTIVE_ROW","_AIRBYTE_AB_ID" = DBT_INTERNAL_SOURCE."_AIRBYTE_AB_ID","_AIRBYTE_EMITTED_AT" = DBT_INTERNAL_SOURCE."_AIRBYTE_EMITTED_AT","_AIRBYTE_NORMALIZED_AT" = DBT_INTERNAL_SOURCE."_AIRBYTE_NORMALIZED_AT","_AIRBYTE_TICKET_COMMENTS_HASHID" = DBT_INTERNAL_SOURCE."_AIRBYTE_TICKET_COMMENTS_HASHID" 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > when not matched then insert 2022-04-22 10:56:35 normalization > ("_AIRBYTE_UNIQUE_KEY", "_AIRBYTE_UNIQUE_KEY_SCD", "ID", "VIA", "BODY", "TYPE", "PUBLIC", "AUDIT_ID", "METADATA", "AUTHOR_ID", "HTML_BODY", "TICKET_ID", "CREATED_AT", "PLAIN_BODY", "ATTACHMENTS", "_AIRBYTE_START_AT", "_AIRBYTE_END_AT", "_AIRBYTE_ACTIVE_ROW", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_TICKET_COMMENTS_HASHID") 2022-04-22 10:56:35 normalization > values 2022-04-22 10:56:35 normalization > ("_AIRBYTE_UNIQUE_KEY", "_AIRBYTE_UNIQUE_KEY_SCD", "ID", "VIA", "BODY", "TYPE", "PUBLIC", "AUDIT_ID", "METADATA", "AUTHOR_ID", "HTML_BODY", "TICKET_ID", "CREATED_AT", "PLAIN_BODY", "ATTACHMENTS", "_AIRBYTE_START_AT", "_AIRBYTE_END_AT", "_AIRBYTE_ACTIVE_ROW", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_TICKET_COMMENTS_HASHID") 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ; 2022-04-22 10:56:35 normalization > 10:55:35.659087 [debug] [Thread-2 ]: SQL status: SUCCESS 45 in 0.14 seconds 2022-04-22 10:56:35 normalization > 10:55:35.668660 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKETS_SCD" 2022-04-22 10:56:35 normalization > 10:55:35.668919 [debug] [Thread-2 ]: On model.airbyte_utils.TICKETS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_SCD__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:55:35.725353 [debug] [Thread-3 ]: SQL status: SUCCESS 34 in 0.17 seconds 2022-04-22 10:56:35 normalization > 10:55:35.743731 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_FIELDS_SCD" 2022-04-22 10:56:35 normalization > 10:55:35.748562 [debug] [Thread-2 ]: SQL status: SUCCESS 45 in 0.08 seconds 2022-04-22 10:56:35 normalization > 10:55:35.748821 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_FIELDS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_FIELDS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_FIELDS_SCD" 2022-04-22 10:56:35 normalization > 10:55:35.757457 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKETS_SCD" 2022-04-22 10:56:35 normalization > 10:55:35.765026 [debug] [Thread-2 ]: On model.airbyte_utils.TICKETS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKETS_SCD" 2022-04-22 10:56:35 normalization > 10:55:35.819893 [debug] [Thread-2 ]: SQL status: SUCCESS 45 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:55:35.821230 [debug] [Thread-3 ]: SQL status: SUCCESS 34 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:55:35.835217 [debug] [Thread-2 ]: 2022-04-22 10:56:35 normalization > In "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKETS_SCD": 2022-04-22 10:56:35 normalization > Schema changed: False 2022-04-22 10:56:35 normalization > Source columns not in target: [] 2022-04-22 10:56:35 normalization > Target columns not in source: [] 2022-04-22 10:56:35 normalization > New column types: [] 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 10:55:35.841919 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_FIELDS_SCD" 2022-04-22 10:56:35 normalization > 10:55:35.844767 [debug] [Thread-2 ]: Writing runtime SQL for node "model.airbyte_utils.TICKETS_SCD" 2022-04-22 10:56:35 normalization > 10:55:35.845064 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_FIELDS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_FIELDS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_FIELDS_SCD__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:55:35.850272 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKETS_SCD" 2022-04-22 10:56:35 normalization > 10:55:35.850574 [debug] [Thread-2 ]: On model.airbyte_utils.TICKETS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_SCD"} */ 2022-04-22 10:56:35 normalization > begin; 2022-04-22 10:56:35 normalization > 10:55:35.969405 [debug] [Thread-4 ]: SQL status: SUCCESS 1 in 0.74 seconds 2022-04-22 10:56:35 normalization > 10:55:35.969710 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_FORMS_SCD" 2022-04-22 10:56:35 normalization > 10:55:35.969821 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_FORMS_SCD: commit; 2022-04-22 10:56:35 normalization > 10:55:35.982614 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 0.13 seconds 2022-04-22 10:56:35 normalization > 10:55:35.983988 [debug] [Thread-3 ]: SQL status: SUCCESS 34 in 0.14 seconds 2022-04-22 10:56:35 normalization > 10:55:35.984545 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKETS_SCD" 2022-04-22 10:56:35 normalization > 10:55:35.991315 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_FIELDS_SCD" 2022-04-22 10:56:35 normalization > 10:55:35.991604 [debug] [Thread-2 ]: On model.airbyte_utils.TICKETS_SCD: merge into "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_SCD" as DBT_INTERNAL_DEST 2022-04-22 10:56:35 normalization > using "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_SCD__dbt_tmp" as DBT_INTERNAL_SOURCE 2022-04-22 10:56:35 normalization > on 2022-04-22 10:56:35 normalization > DBT_INTERNAL_SOURCE._AIRBYTE_UNIQUE_KEY_SCD = DBT_INTERNAL_DEST._AIRBYTE_UNIQUE_KEY_SCD 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > when matched then update set 2022-04-22 10:56:35 normalization > "_AIRBYTE_UNIQUE_KEY" = DBT_INTERNAL_SOURCE."_AIRBYTE_UNIQUE_KEY","_AIRBYTE_UNIQUE_KEY_SCD" = DBT_INTERNAL_SOURCE."_AIRBYTE_UNIQUE_KEY_SCD","ID" = DBT_INTERNAL_SOURCE."ID","URL" = DBT_INTERNAL_SOURCE."URL","VIA" = DBT_INTERNAL_SOURCE."VIA","TAGS" = DBT_INTERNAL_SOURCE."TAGS","TYPE" = DBT_INTERNAL_SOURCE."TYPE","DUE_AT" = DBT_INTERNAL_SOURCE."DUE_AT","STATUS" = DBT_INTERNAL_SOURCE."STATUS","SUBJECT" = DBT_INTERNAL_SOURCE."SUBJECT","BRAND_ID" = DBT_INTERNAL_SOURCE."BRAND_ID","GROUP_ID" = DBT_INTERNAL_SOURCE."GROUP_ID","PRIORITY" = DBT_INTERNAL_SOURCE."PRIORITY","IS_PUBLIC" = DBT_INTERNAL_SOURCE."IS_PUBLIC","RECIPIENT" = DBT_INTERNAL_SOURCE."RECIPIENT","CREATED_AT" = DBT_INTERNAL_SOURCE."CREATED_AT","PROBLEM_ID" = DBT_INTERNAL_SOURCE."PROBLEM_ID","UPDATED_AT" = DBT_INTERNAL_SOURCE."UPDATED_AT","ASSIGNEE_ID" = DBT_INTERNAL_SOURCE."ASSIGNEE_ID","DESCRIPTION" = DBT_INTERNAL_SOURCE."DESCRIPTION","EXTERNAL_ID" = DBT_INTERNAL_SOURCE."EXTERNAL_ID","RAW_SUBJECT" = DBT_INTERNAL_SOURCE."RAW_SUBJECT","EMAIL_CC_IDS" = DBT_INTERNAL_SOURCE."EMAIL_CC_IDS","FOLLOWER_IDS" = DBT_INTERNAL_SOURCE."FOLLOWER_IDS","FOLLOWUP_IDS" = DBT_INTERNAL_SOURCE."FOLLOWUP_IDS","REQUESTER_ID" = DBT_INTERNAL_SOURCE."REQUESTER_ID","SUBMITTER_ID" = DBT_INTERNAL_SOURCE."SUBMITTER_ID","CUSTOM_FIELDS" = DBT_INTERNAL_SOURCE."CUSTOM_FIELDS","HAS_INCIDENTS" = DBT_INTERNAL_SOURCE."HAS_INCIDENTS","FORUM_TOPIC_ID" = DBT_INTERNAL_SOURCE."FORUM_TOPIC_ID","TICKET_FORM_ID" = DBT_INTERNAL_SOURCE."TICKET_FORM_ID","ORGANIZATION_ID" = DBT_INTERNAL_SOURCE."ORGANIZATION_ID","COLLABORATOR_IDS" = DBT_INTERNAL_SOURCE."COLLABORATOR_IDS","ALLOW_ATTACHMENTS" = DBT_INTERNAL_SOURCE."ALLOW_ATTACHMENTS","ALLOW_CHANNELBACK" = DBT_INTERNAL_SOURCE."ALLOW_CHANNELBACK","GENERATED_TIMESTAMP" = DBT_INTERNAL_SOURCE."GENERATED_TIMESTAMP","SATISFACTION_RATING" = DBT_INTERNAL_SOURCE."SATISFACTION_RATING","SHARING_AGREEMENT_IDS" = DBT_INTERNAL_SOURCE."SHARING_AGREEMENT_IDS","_AIRBYTE_START_AT" = DBT_INTERNAL_SOURCE."_AIRBYTE_START_AT","_AIRBYTE_END_AT" = DBT_INTERNAL_SOURCE."_AIRBYTE_END_AT","_AIRBYTE_ACTIVE_ROW" = DBT_INTERNAL_SOURCE."_AIRBYTE_ACTIVE_ROW","_AIRBYTE_AB_ID" = DBT_INTERNAL_SOURCE."_AIRBYTE_AB_ID","_AIRBYTE_EMITTED_AT" = DBT_INTERNAL_SOURCE."_AIRBYTE_EMITTED_AT","_AIRBYTE_NORMALIZED_AT" = DBT_INTERNAL_SOURCE."_AIRBYTE_NORMALIZED_AT","_AIRBYTE_TICKETS_HASHID" = DBT_INTERNAL_SOURCE."_AIRBYTE_TICKETS_HASHID" 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > when not matched then insert 2022-04-22 10:56:35 normalization > ("_AIRBYTE_UNIQUE_KEY", "_AIRBYTE_UNIQUE_KEY_SCD", "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", "_AIRBYTE_START_AT", "_AIRBYTE_END_AT", "_AIRBYTE_ACTIVE_ROW", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_TICKETS_HASHID") 2022-04-22 10:56:35 normalization > values 2022-04-22 10:56:35 normalization > ("_AIRBYTE_UNIQUE_KEY", "_AIRBYTE_UNIQUE_KEY_SCD", "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", "_AIRBYTE_START_AT", "_AIRBYTE_END_AT", "_AIRBYTE_ACTIVE_ROW", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_TICKETS_HASHID") 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ; 2022-04-22 10:56:35 normalization > 10:55:35.991794 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_FIELDS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_FIELDS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_FIELDS_SCD" 2022-04-22 10:56:35 normalization > 10:55:36.065853 [debug] [Thread-3 ]: SQL status: SUCCESS 34 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:55:36.074681 [debug] [Thread-3 ]: 2022-04-22 10:56:35 normalization > In "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_FIELDS_SCD": 2022-04-22 10:56:35 normalization > Schema changed: False 2022-04-22 10:56:35 normalization > Source columns not in target: [] 2022-04-22 10:56:35 normalization > Target columns not in source: [] 2022-04-22 10:56:35 normalization > New column types: [] 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 10:55:36.077173 [debug] [Thread-3 ]: Writing runtime SQL for node "model.airbyte_utils.TICKET_FIELDS_SCD" 2022-04-22 10:56:35 normalization > 10:55:36.079945 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_FIELDS_SCD" 2022-04-22 10:56:35 normalization > 10:55:36.080122 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_FIELDS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_FIELDS_SCD"} */ 2022-04-22 10:56:35 normalization > begin; 2022-04-22 10:56:35 normalization > 10:55:36.104515 [debug] [Thread-1 ]: SQL status: SUCCESS 36 in 0.95 seconds 2022-04-22 10:56:35 normalization > 10:55:36.119412 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_METRICS_SCD" 2022-04-22 10:56:35 normalization > 10:55:36.119673 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_METRICS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_METRICS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_METRICS_SCD" 2022-04-22 10:56:35 normalization > 10:55:36.197153 [debug] [Thread-1 ]: SQL status: SUCCESS 36 in 0.08 seconds 2022-04-22 10:56:35 normalization > 10:55:36.210565 [debug] [Thread-4 ]: SQL status: SUCCESS 1 in 0.24 seconds 2022-04-22 10:56:35 normalization > 10:55:36.213488 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_METRICS_SCD" 2022-04-22 10:56:35 normalization > 10:55:36.214799 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 0.13 seconds 2022-04-22 10:56:35 normalization > 10:55:36.216447 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_METRICS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_METRICS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_METRICS_SCD" 2022-04-22 10:56:35 normalization > 10:55:36.217003 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_FORMS_SCD" 2022-04-22 10:56:35 normalization > 10:55:36.217388 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_FIELDS_SCD" 2022-04-22 10:56:35 normalization > 10:55:36.218041 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_FORMS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_FORMS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > drop view _AIRBYTE_ZENDESK_SUPPORT.TICKET_FORMS_STG 2022-04-22 10:56:35 normalization > 10:55:36.219690 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_FIELDS_SCD: merge into "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_FIELDS_SCD" as DBT_INTERNAL_DEST 2022-04-22 10:56:35 normalization > using "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_FIELDS_SCD__dbt_tmp" as DBT_INTERNAL_SOURCE 2022-04-22 10:56:35 normalization > on 2022-04-22 10:56:35 normalization > DBT_INTERNAL_SOURCE._AIRBYTE_UNIQUE_KEY_SCD = DBT_INTERNAL_DEST._AIRBYTE_UNIQUE_KEY_SCD 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > when matched then update set 2022-04-22 10:56:35 normalization > "_AIRBYTE_UNIQUE_KEY" = DBT_INTERNAL_SOURCE."_AIRBYTE_UNIQUE_KEY","_AIRBYTE_UNIQUE_KEY_SCD" = DBT_INTERNAL_SOURCE."_AIRBYTE_UNIQUE_KEY_SCD","ID" = DBT_INTERNAL_SOURCE."ID","TAG" = DBT_INTERNAL_SOURCE."TAG","URL" = DBT_INTERNAL_SOURCE."URL","TYPE" = DBT_INTERNAL_SOURCE."TYPE","TITLE" = DBT_INTERNAL_SOURCE."TITLE","ACTIVE" = DBT_INTERNAL_SOURCE."ACTIVE","POSITION" = DBT_INTERNAL_SOURCE."POSITION","REQUIRED" = DBT_INTERNAL_SOURCE."REQUIRED","RAW_TITLE" = DBT_INTERNAL_SOURCE."RAW_TITLE","REMOVABLE" = DBT_INTERNAL_SOURCE."REMOVABLE","CREATED_AT" = DBT_INTERNAL_SOURCE."CREATED_AT","UPDATED_AT" = DBT_INTERNAL_SOURCE."UPDATED_AT","DESCRIPTION" = DBT_INTERNAL_SOURCE."DESCRIPTION","SUB_TYPE_ID" = DBT_INTERNAL_SOURCE."SUB_TYPE_ID","RAW_DESCRIPTION" = DBT_INTERNAL_SOURCE."RAW_DESCRIPTION","TITLE_IN_PORTAL" = DBT_INTERNAL_SOURCE."TITLE_IN_PORTAL","AGENT_DESCRIPTION" = DBT_INTERNAL_SOURCE."AGENT_DESCRIPTION","VISIBLE_IN_PORTAL" = DBT_INTERNAL_SOURCE."VISIBLE_IN_PORTAL","EDITABLE_IN_PORTAL" = DBT_INTERNAL_SOURCE."EDITABLE_IN_PORTAL","REQUIRED_IN_PORTAL" = DBT_INTERNAL_SOURCE."REQUIRED_IN_PORTAL","RAW_TITLE_IN_PORTAL" = DBT_INTERNAL_SOURCE."RAW_TITLE_IN_PORTAL","COLLAPSED_FOR_AGENTS" = DBT_INTERNAL_SOURCE."COLLAPSED_FOR_AGENTS","CUSTOM_FIELD_OPTIONS" = DBT_INTERNAL_SOURCE."CUSTOM_FIELD_OPTIONS","SYSTEM_FIELD_OPTIONS" = DBT_INTERNAL_SOURCE."SYSTEM_FIELD_OPTIONS","REGEXP_FOR_VALIDATION" = DBT_INTERNAL_SOURCE."REGEXP_FOR_VALIDATION","_AIRBYTE_START_AT" = DBT_INTERNAL_SOURCE."_AIRBYTE_START_AT","_AIRBYTE_END_AT" = DBT_INTERNAL_SOURCE."_AIRBYTE_END_AT","_AIRBYTE_ACTIVE_ROW" = DBT_INTERNAL_SOURCE."_AIRBYTE_ACTIVE_ROW","_AIRBYTE_AB_ID" = DBT_INTERNAL_SOURCE."_AIRBYTE_AB_ID","_AIRBYTE_EMITTED_AT" = DBT_INTERNAL_SOURCE."_AIRBYTE_EMITTED_AT","_AIRBYTE_NORMALIZED_AT" = DBT_INTERNAL_SOURCE."_AIRBYTE_NORMALIZED_AT","_AIRBYTE_TICKET_FIELDS_HASHID" = DBT_INTERNAL_SOURCE."_AIRBYTE_TICKET_FIELDS_HASHID" 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > when not matched then insert 2022-04-22 10:56:35 normalization > ("_AIRBYTE_UNIQUE_KEY", "_AIRBYTE_UNIQUE_KEY_SCD", "ID", "TAG", "URL", "TYPE", "TITLE", "ACTIVE", "POSITION", "REQUIRED", "RAW_TITLE", "REMOVABLE", "CREATED_AT", "UPDATED_AT", "DESCRIPTION", "SUB_TYPE_ID", "RAW_DESCRIPTION", "TITLE_IN_PORTAL", "AGENT_DESCRIPTION", "VISIBLE_IN_PORTAL", "EDITABLE_IN_PORTAL", "REQUIRED_IN_PORTAL", "RAW_TITLE_IN_PORTAL", "COLLAPSED_FOR_AGENTS", "CUSTOM_FIELD_OPTIONS", "SYSTEM_FIELD_OPTIONS", "REGEXP_FOR_VALIDATION", "_AIRBYTE_START_AT", "_AIRBYTE_END_AT", "_AIRBYTE_ACTIVE_ROW", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_TICKET_FIELDS_HASHID") 2022-04-22 10:56:35 normalization > values 2022-04-22 10:56:35 normalization > ("_AIRBYTE_UNIQUE_KEY", "_AIRBYTE_UNIQUE_KEY_SCD", "ID", "TAG", "URL", "TYPE", "TITLE", "ACTIVE", "POSITION", "REQUIRED", "RAW_TITLE", "REMOVABLE", "CREATED_AT", "UPDATED_AT", "DESCRIPTION", "SUB_TYPE_ID", "RAW_DESCRIPTION", "TITLE_IN_PORTAL", "AGENT_DESCRIPTION", "VISIBLE_IN_PORTAL", "EDITABLE_IN_PORTAL", "REQUIRED_IN_PORTAL", "RAW_TITLE_IN_PORTAL", "COLLAPSED_FOR_AGENTS", "CUSTOM_FIELD_OPTIONS", "SYSTEM_FIELD_OPTIONS", "REGEXP_FOR_VALIDATION", "_AIRBYTE_START_AT", "_AIRBYTE_END_AT", "_AIRBYTE_ACTIVE_ROW", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_TICKET_FIELDS_HASHID") 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ; 2022-04-22 10:56:35 normalization > 10:55:36.278499 [debug] [Thread-1 ]: SQL status: SUCCESS 36 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:55:36.284196 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_METRICS_SCD" 2022-04-22 10:56:35 normalization > 10:55:36.284417 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_METRICS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_METRICS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_METRICS_SCD" 2022-04-22 10:56:35 normalization > 10:55:36.322429 [debug] [Thread-4 ]: SQL status: SUCCESS 1 in 0.1 seconds 2022-04-22 10:56:35 normalization > 10:55:36.325839 [debug] [Thread-4 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:36.326099 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_FORMS_SCD: Close 2022-04-22 10:56:35 normalization > 10:55:36.378442 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:55:36.389712 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_METRICS_SCD" 2022-04-22 10:56:35 normalization > 10:55:36.389970 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_METRICS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_METRICS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_METRICS_SCD" 2022-04-22 10:56:35 normalization > 10:55:36.442399 [debug] [Thread-1 ]: SQL status: SUCCESS 36 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:55:36.447632 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_METRICS_SCD" 2022-04-22 10:56:35 normalization > 10:55:36.447862 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_METRICS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_METRICS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_METRICS_SCD" 2022-04-22 10:56:35 normalization > 10:55:36.451009 [info ] [Thread-4 ]: 24 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_FORMS_SCD.................................................. [SUCCESS 1 in 7.56s] 2022-04-22 10:56:35 normalization > 10:55:36.451392 [debug] [Thread-4 ]: Finished running node model.airbyte_utils.TICKET_FORMS_SCD 2022-04-22 10:56:35 normalization > 10:55:36.451620 [debug] [Thread-4 ]: Began running node model.airbyte_utils.TICKET_METRIC_EVENTS_SCD 2022-04-22 10:56:35 normalization > 10:55:36.452486 [info ] [Thread-4 ]: 28 of 95 START incremental model ZENDESK_SUPPORT.TICKET_METRIC_EVENTS_SCD............................................... [RUN] 2022-04-22 10:56:35 normalization > 10:55:36.453406 [debug] [Thread-4 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_METRIC_EVENTS_SCD" 2022-04-22 10:56:35 normalization > 10:55:36.453589 [debug] [Thread-4 ]: Began compiling node model.airbyte_utils.TICKET_METRIC_EVENTS_SCD 2022-04-22 10:56:35 normalization > 10:55:36.453739 [debug] [Thread-4 ]: Compiling model.airbyte_utils.TICKET_METRIC_EVENTS_SCD 2022-04-22 10:56:35 normalization > 10:55:36.472524 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_METRIC_EVENTS_SCD" 2022-04-22 10:56:35 normalization > 10:55:36.472783 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_METRIC_EVENTS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_METRIC_EVENTS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_METRIC_EVENTS_SCD" 2022-04-22 10:56:35 normalization > 10:55:36.472912 [debug] [Thread-4 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:55:36.570016 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 0.12 seconds 2022-04-22 10:56:35 normalization > 10:55:36.602651 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_METRICS_SCD" 2022-04-22 10:56:35 normalization > 10:55:36.623521 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_METRICS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_METRICS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"._AIRBYTE_ZENDESK_SUPPORT."TICKET_METRICS_STG" 2022-04-22 10:56:35 normalization > 10:55:36.669740 [debug] [Thread-5 ]: SQL status: SUCCESS 80 in 1.04 seconds 2022-04-22 10:56:35 normalization > 10:55:36.670131 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_SCD" 2022-04-22 10:56:35 normalization > 10:55:36.670325 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_COMMENTS_SCD: commit; 2022-04-22 10:56:35 normalization > 10:55:36.736382 [debug] [Thread-1 ]: SQL status: SUCCESS 31 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:55:36.750673 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_METRICS_SCD" 2022-04-22 10:56:35 normalization > 10:55:36.750991 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_METRICS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_METRICS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_METRICS_SCD" 2022-04-22 10:56:35 normalization > 10:55:36.805016 [debug] [Thread-1 ]: SQL status: SUCCESS 36 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:55:36.819013 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_METRICS_SCD" 2022-04-22 10:56:35 normalization > 10:55:36.819233 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_METRICS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_METRICS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"._AIRBYTE_ZENDESK_SUPPORT."TICKET_METRICS_STG" 2022-04-22 10:56:35 normalization > 10:55:36.886059 [debug] [Thread-1 ]: SQL status: SUCCESS 31 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:55:36.898662 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_METRICS_SCD" 2022-04-22 10:56:35 normalization > 10:55:36.898898 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_METRICS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_METRICS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"._AIRBYTE_ZENDESK_SUPPORT."TICKET_METRICS_STG" 2022-04-22 10:56:35 normalization > 10:55:36.926920 [debug] [Thread-5 ]: SQL status: SUCCESS 1 in 0.26 seconds 2022-04-22 10:56:35 normalization > 10:55:36.928803 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_SCD" 2022-04-22 10:56:35 normalization > 10:55:36.929008 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_COMMENTS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > drop view _AIRBYTE_ZENDESK_SUPPORT.TICKET_COMMENTS_STG 2022-04-22 10:56:35 normalization > 10:55:36.942207 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 0.72 seconds 2022-04-22 10:56:35 normalization > 10:55:36.942463 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_FIELDS_SCD" 2022-04-22 10:56:35 normalization > 10:55:36.942573 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_FIELDS_SCD: commit; 2022-04-22 10:56:35 normalization > 10:55:36.971006 [debug] [Thread-1 ]: SQL status: SUCCESS 31 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:55:36.982516 [debug] [Thread-1 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_METRICS_SCD" 2022-04-22 10:56:35 normalization > 10:55:36.982879 [debug] [Thread-1 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:36.983031 [debug] [Thread-1 ]: Began executing node model.airbyte_utils.TICKET_METRICS_SCD 2022-04-22 10:56:35 normalization > 10:55:36.990033 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_METRICS_SCD" 2022-04-22 10:56:35 normalization > 10:55:36.990215 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_METRICS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_METRICS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_METRICS_SCD" 2022-04-22 10:56:35 normalization > 10:55:37.015864 [debug] [Thread-5 ]: SQL status: SUCCESS 1 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:55:37.020211 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:37.021212 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_COMMENTS_SCD: Close 2022-04-22 10:56:35 normalization > 10:55:37.043943 [debug] [Thread-1 ]: SQL status: SUCCESS 36 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:55:37.059678 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_METRICS_SCD" 2022-04-22 10:56:35 normalization > 10:55:37.060063 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_METRICS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_METRICS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace temporary table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_METRICS_SCD__dbt_tmp" as 2022-04-22 10:56:35 normalization > (select * from( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- depends_on: ref('TICKET_METRICS_STG') 2022-04-22 10:56:35 normalization > with 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > new_data as ( 2022-04-22 10:56:35 normalization > -- retrieve incremental "new" data 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > * 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB"._AIRBYTE_ZENDESK_SUPPORT."TICKET_METRICS_STG" 2022-04-22 10:56:35 normalization > -- TICKET_METRICS from "AIRBYTE_DB".ZENDESK_SUPPORT._AIRBYTE_RAW_TICKET_METRICS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > and cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) >= 2022-04-22 10:56:35 normalization > cast('2022-01-12 10:37:44.823000-08:00' as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > new_data_ids as ( 2022-04-22 10:56:35 normalization > -- build a subset of _AIRBYTE_UNIQUE_KEY from rows that are new 2022-04-22 10:56:35 normalization > select distinct 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_UNIQUE_KEY 2022-04-22 10:56:35 normalization > from new_data 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > empty_new_data as ( 2022-04-22 10:56:35 normalization > -- build an empty table to only keep the table's column types 2022-04-22 10:56:35 normalization > select * from new_data where 1 = 0 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > previous_active_scd_data as ( 2022-04-22 10:56:35 normalization > -- retrieve "incomplete old" data that needs to be updated with an end date because of new changes 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > this_data."_AIRBYTE_TICKET_METRICS_HASHID", 2022-04-22 10:56:35 normalization > this_data."ID", 2022-04-22 10:56:35 normalization > this_data."URL", 2022-04-22 10:56:35 normalization > this_data."TIME", 2022-04-22 10:56:35 normalization > this_data."TYPE", 2022-04-22 10:56:35 normalization > this_data."METRIC", 2022-04-22 10:56:35 normalization > this_data."STATUS", 2022-04-22 10:56:35 normalization > this_data."REOPENS", 2022-04-22 10:56:35 normalization > this_data."REPLIES", 2022-04-22 10:56:35 normalization > this_data."SOLVED_AT", 2022-04-22 10:56:35 normalization > this_data."TICKET_ID", 2022-04-22 10:56:35 normalization > this_data."CREATED_AT", 2022-04-22 10:56:35 normalization > this_data."UPDATED_AT", 2022-04-22 10:56:35 normalization > this_data."ASSIGNED_AT", 2022-04-22 10:56:35 normalization > this_data."INSTANCE_ID", 2022-04-22 10:56:35 normalization > this_data."GROUP_STATIONS", 2022-04-22 10:56:35 normalization > this_data."ASSIGNEE_STATIONS", 2022-04-22 10:56:35 normalization > this_data."STATUS_UPDATED_AT", 2022-04-22 10:56:35 normalization > this_data."ASSIGNEE_UPDATED_AT", 2022-04-22 10:56:35 normalization > this_data."REQUESTER_UPDATED_AT", 2022-04-22 10:56:35 normalization > this_data."INITIALLY_ASSIGNED_AT", 2022-04-22 10:56:35 normalization > this_data."REPLY_TIME_IN_MINUTES", 2022-04-22 10:56:35 normalization > this_data."LATEST_COMMENT_ADDED_AT", 2022-04-22 10:56:35 normalization > this_data."ON_HOLD_TIME_IN_MINUTES", 2022-04-22 10:56:35 normalization > this_data."AGENT_WAIT_TIME_IN_MINUTES", 2022-04-22 10:56:35 normalization > this_data."REQUESTER_WAIT_TIME_IN_MINUTES", 2022-04-22 10:56:35 normalization > this_data."FULL_RESOLUTION_TIME_IN_MINUTES", 2022-04-22 10:56:35 normalization > this_data."FIRST_RESOLUTION_TIME_IN_MINUTES", 2022-04-22 10:56:35 normalization > this_data."_AIRBYTE_AB_ID", 2022-04-22 10:56:35 normalization > this_data."_AIRBYTE_EMITTED_AT", 2022-04-22 10:56:35 normalization > this_data."_AIRBYTE_NORMALIZED_AT" 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_METRICS_SCD" as this_data 2022-04-22 10:56:35 normalization > -- make a join with new_data using primary key to filter active data that need to be updated only 2022-04-22 10:56:35 normalization > join new_data_ids on this_data._AIRBYTE_UNIQUE_KEY = new_data_ids._AIRBYTE_UNIQUE_KEY 2022-04-22 10:56:35 normalization > -- force left join to NULL values (we just need to transfer column types only for the star_intersect macro on schema changes) 2022-04-22 10:56:35 normalization > left join empty_new_data as inc_data on this_data._AIRBYTE_AB_ID = inc_data._AIRBYTE_AB_ID 2022-04-22 10:56:35 normalization > where _AIRBYTE_ACTIVE_ROW = 1 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > input_data as ( 2022-04-22 10:56:35 normalization > select "_AIRBYTE_TICKET_METRICS_HASHID", 2022-04-22 10:56:35 normalization > "ID", 2022-04-22 10:56:35 normalization > "URL", 2022-04-22 10:56:35 normalization > "TIME", 2022-04-22 10:56:35 normalization > "TYPE", 2022-04-22 10:56:35 normalization > "METRIC", 2022-04-22 10:56:35 normalization > "STATUS", 2022-04-22 10:56:35 normalization > "REOPENS", 2022-04-22 10:56:35 normalization > "REPLIES", 2022-04-22 10:56:35 normalization > "SOLVED_AT", 2022-04-22 10:56:35 normalization > "TICKET_ID", 2022-04-22 10:56:35 normalization > "CREATED_AT", 2022-04-22 10:56:35 normalization > "UPDATED_AT", 2022-04-22 10:56:35 normalization > "ASSIGNED_AT", 2022-04-22 10:56:35 normalization > "INSTANCE_ID", 2022-04-22 10:56:35 normalization > "GROUP_STATIONS", 2022-04-22 10:56:35 normalization > "ASSIGNEE_STATIONS", 2022-04-22 10:56:35 normalization > "STATUS_UPDATED_AT", 2022-04-22 10:56:35 normalization > "ASSIGNEE_UPDATED_AT", 2022-04-22 10:56:35 normalization > "REQUESTER_UPDATED_AT", 2022-04-22 10:56:35 normalization > "INITIALLY_ASSIGNED_AT", 2022-04-22 10:56:35 normalization > "REPLY_TIME_IN_MINUTES", 2022-04-22 10:56:35 normalization > "LATEST_COMMENT_ADDED_AT", 2022-04-22 10:56:35 normalization > "ON_HOLD_TIME_IN_MINUTES", 2022-04-22 10:56:35 normalization > "AGENT_WAIT_TIME_IN_MINUTES", 2022-04-22 10:56:35 normalization > "REQUESTER_WAIT_TIME_IN_MINUTES", 2022-04-22 10:56:35 normalization > "FULL_RESOLUTION_TIME_IN_MINUTES", 2022-04-22 10:56:35 normalization > "FIRST_RESOLUTION_TIME_IN_MINUTES", 2022-04-22 10:56:35 normalization > "_AIRBYTE_AB_ID", 2022-04-22 10:56:35 normalization > "_AIRBYTE_EMITTED_AT", 2022-04-22 10:56:35 normalization > "_AIRBYTE_NORMALIZED_AT" from new_data 2022-04-22 10:56:35 normalization > union all 2022-04-22 10:56:35 normalization > select "_AIRBYTE_TICKET_METRICS_HASHID", 2022-04-22 10:56:35 normalization > "ID", 2022-04-22 10:56:35 normalization > "URL", 2022-04-22 10:56:35 normalization > "TIME", 2022-04-22 10:56:35 normalization > "TYPE", 2022-04-22 10:56:35 normalization > "METRIC", 2022-04-22 10:56:35 normalization > "STATUS", 2022-04-22 10:56:35 normalization > "REOPENS", 2022-04-22 10:56:35 normalization > "REPLIES", 2022-04-22 10:56:35 normalization > "SOLVED_AT", 2022-04-22 10:56:35 normalization > "TICKET_ID", 2022-04-22 10:56:35 normalization > "CREATED_AT", 2022-04-22 10:56:35 normalization > "UPDATED_AT", 2022-04-22 10:56:35 normalization > "ASSIGNED_AT", 2022-04-22 10:56:35 normalization > "INSTANCE_ID", 2022-04-22 10:56:35 normalization > "GROUP_STATIONS", 2022-04-22 10:56:35 normalization > "ASSIGNEE_STATIONS", 2022-04-22 10:56:35 normalization > "STATUS_UPDATED_AT", 2022-04-22 10:56:35 normalization > "ASSIGNEE_UPDATED_AT", 2022-04-22 10:56:35 normalization > "REQUESTER_UPDATED_AT", 2022-04-22 10:56:35 normalization > "INITIALLY_ASSIGNED_AT", 2022-04-22 10:56:35 normalization > "REPLY_TIME_IN_MINUTES", 2022-04-22 10:56:35 normalization > "LATEST_COMMENT_ADDED_AT", 2022-04-22 10:56:35 normalization > "ON_HOLD_TIME_IN_MINUTES", 2022-04-22 10:56:35 normalization > "AGENT_WAIT_TIME_IN_MINUTES", 2022-04-22 10:56:35 normalization > "REQUESTER_WAIT_TIME_IN_MINUTES", 2022-04-22 10:56:35 normalization > "FULL_RESOLUTION_TIME_IN_MINUTES", 2022-04-22 10:56:35 normalization > "FIRST_RESOLUTION_TIME_IN_MINUTES", 2022-04-22 10:56:35 normalization > "_AIRBYTE_AB_ID", 2022-04-22 10:56:35 normalization > "_AIRBYTE_EMITTED_AT", 2022-04-22 10:56:35 normalization > "_AIRBYTE_NORMALIZED_AT" from previous_active_scd_data 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > scd_data as ( 2022-04-22 10:56:35 normalization > -- SQL model to build a Type 2 Slowly Changing Dimension (SCD) table for each record identified by their primary key 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_UNIQUE_KEY, 2022-04-22 10:56:35 normalization > ID, 2022-04-22 10:56:35 normalization > URL, 2022-04-22 10:56:35 normalization > TIME, 2022-04-22 10:56:35 normalization > TYPE, 2022-04-22 10:56:35 normalization > METRIC, 2022-04-22 10:56:35 normalization > STATUS, 2022-04-22 10:56:35 normalization > REOPENS, 2022-04-22 10:56:35 normalization > REPLIES, 2022-04-22 10:56:35 normalization > SOLVED_AT, 2022-04-22 10:56:35 normalization > TICKET_ID, 2022-04-22 10:56:35 normalization > CREATED_AT, 2022-04-22 10:56:35 normalization > UPDATED_AT, 2022-04-22 10:56:35 normalization > ASSIGNED_AT, 2022-04-22 10:56:35 normalization > INSTANCE_ID, 2022-04-22 10:56:35 normalization > GROUP_STATIONS, 2022-04-22 10:56:35 normalization > ASSIGNEE_STATIONS, 2022-04-22 10:56:35 normalization > STATUS_UPDATED_AT, 2022-04-22 10:56:35 normalization > ASSIGNEE_UPDATED_AT, 2022-04-22 10:56:35 normalization > REQUESTER_UPDATED_AT, 2022-04-22 10:56:35 normalization > INITIALLY_ASSIGNED_AT, 2022-04-22 10:56:35 normalization > REPLY_TIME_IN_MINUTES, 2022-04-22 10:56:35 normalization > LATEST_COMMENT_ADDED_AT, 2022-04-22 10:56:35 normalization > ON_HOLD_TIME_IN_MINUTES, 2022-04-22 10:56:35 normalization > AGENT_WAIT_TIME_IN_MINUTES, 2022-04-22 10:56:35 normalization > REQUESTER_WAIT_TIME_IN_MINUTES, 2022-04-22 10:56:35 normalization > FULL_RESOLUTION_TIME_IN_MINUTES, 2022-04-22 10:56:35 normalization > FIRST_RESOLUTION_TIME_IN_MINUTES, 2022-04-22 10:56:35 normalization > UPDATED_AT as _AIRBYTE_START_AT, 2022-04-22 10:56:35 normalization > lag(UPDATED_AT) over ( 2022-04-22 10:56:35 normalization > partition by ID 2022-04-22 10:56:35 normalization > order by 2022-04-22 10:56:35 normalization > UPDATED_AT is null asc, 2022-04-22 10:56:35 normalization > UPDATED_AT desc, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT desc 2022-04-22 10:56:35 normalization > ) as _AIRBYTE_END_AT, 2022-04-22 10:56:35 normalization > case when row_number() over ( 2022-04-22 10:56:35 normalization > partition by ID 2022-04-22 10:56:35 normalization > order by 2022-04-22 10:56:35 normalization > UPDATED_AT is null asc, 2022-04-22 10:56:35 normalization > UPDATED_AT desc, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT desc 2022-04-22 10:56:35 normalization > ) = 1 then 1 else 0 end as _AIRBYTE_ACTIVE_ROW, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_TICKET_METRICS_HASHID 2022-04-22 10:56:35 normalization > from input_data 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > dedup_data as ( 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > -- we need to ensure de-duplicated rows for merge/update queries 2022-04-22 10:56:35 normalization > -- additionally, we generate a unique key for the scd table 2022-04-22 10:56:35 normalization > row_number() over ( 2022-04-22 10:56:35 normalization > partition by 2022-04-22 10:56:35 normalization > _AIRBYTE_UNIQUE_KEY, 2022-04-22 10:56:35 normalization > _AIRBYTE_START_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT 2022-04-22 10:56:35 normalization > order by _AIRBYTE_ACTIVE_ROW desc, _AIRBYTE_AB_ID 2022-04-22 10:56:35 normalization > ) as _AIRBYTE_ROW_NUM, 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(_AIRBYTE_UNIQUE_KEY as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(_AIRBYTE_START_AT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_UNIQUE_KEY_SCD, 2022-04-22 10:56:35 normalization > scd_data.* 2022-04-22 10:56:35 normalization > from scd_data 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_UNIQUE_KEY, 2022-04-22 10:56:35 normalization > _AIRBYTE_UNIQUE_KEY_SCD, 2022-04-22 10:56:35 normalization > ID, 2022-04-22 10:56:35 normalization > URL, 2022-04-22 10:56:35 normalization > TIME, 2022-04-22 10:56:35 normalization > TYPE, 2022-04-22 10:56:35 normalization > METRIC, 2022-04-22 10:56:35 normalization > STATUS, 2022-04-22 10:56:35 normalization > REOPENS, 2022-04-22 10:56:35 normalization > REPLIES, 2022-04-22 10:56:35 normalization > SOLVED_AT, 2022-04-22 10:56:35 normalization > TICKET_ID, 2022-04-22 10:56:35 normalization > CREATED_AT, 2022-04-22 10:56:35 normalization > UPDATED_AT, 2022-04-22 10:56:35 normalization > ASSIGNED_AT, 2022-04-22 10:56:35 normalization > INSTANCE_ID, 2022-04-22 10:56:35 normalization > GROUP_STATIONS, 2022-04-22 10:56:35 normalization > ASSIGNEE_STATIONS, 2022-04-22 10:56:35 normalization > STATUS_UPDATED_AT, 2022-04-22 10:56:35 normalization > ASSIGNEE_UPDATED_AT, 2022-04-22 10:56:35 normalization > REQUESTER_UPDATED_AT, 2022-04-22 10:56:35 normalization > INITIALLY_ASSIGNED_AT, 2022-04-22 10:56:35 normalization > REPLY_TIME_IN_MINUTES, 2022-04-22 10:56:35 normalization > LATEST_COMMENT_ADDED_AT, 2022-04-22 10:56:35 normalization > ON_HOLD_TIME_IN_MINUTES, 2022-04-22 10:56:35 normalization > AGENT_WAIT_TIME_IN_MINUTES, 2022-04-22 10:56:35 normalization > REQUESTER_WAIT_TIME_IN_MINUTES, 2022-04-22 10:56:35 normalization > FULL_RESOLUTION_TIME_IN_MINUTES, 2022-04-22 10:56:35 normalization > FIRST_RESOLUTION_TIME_IN_MINUTES, 2022-04-22 10:56:35 normalization > _AIRBYTE_START_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_END_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_ACTIVE_ROW, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_TICKET_METRICS_HASHID 2022-04-22 10:56:35 normalization > from dedup_data where _AIRBYTE_ROW_NUM = 1 2022-04-22 10:56:35 normalization > ) order by (_AIRBYTE_ACTIVE_ROW, _AIRBYTE_UNIQUE_KEY_SCD, _AIRBYTE_EMITTED_AT) 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:55:37.125205 [info ] [Thread-5 ]: 25 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_COMMENTS_SCD............................................... [SUCCESS 1 in 8.20s] 2022-04-22 10:56:35 normalization > 10:55:37.125973 [debug] [Thread-5 ]: Finished running node model.airbyte_utils.TICKET_COMMENTS_SCD 2022-04-22 10:56:35 normalization > 10:55:37.126299 [debug] [Thread-5 ]: Began running node model.airbyte_utils.USERS_SCD 2022-04-22 10:56:35 normalization > 10:55:37.127038 [info ] [Thread-5 ]: 29 of 95 START incremental model ZENDESK_SUPPORT.USERS_SCD.............................................................. [RUN] 2022-04-22 10:56:35 normalization > 10:55:37.128030 [debug] [Thread-5 ]: Acquiring new snowflake connection "model.airbyte_utils.USERS_SCD" 2022-04-22 10:56:35 normalization > 10:55:37.128281 [debug] [Thread-5 ]: Began compiling node model.airbyte_utils.USERS_SCD 2022-04-22 10:56:35 normalization > 10:55:37.128420 [debug] [Thread-5 ]: Compiling model.airbyte_utils.USERS_SCD 2022-04-22 10:56:35 normalization > 10:55:37.148603 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.USERS_SCD" 2022-04-22 10:56:35 normalization > 10:55:37.148887 [debug] [Thread-5 ]: On model.airbyte_utils.USERS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.USERS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."USERS_SCD" 2022-04-22 10:56:35 normalization > 10:55:37.149084 [debug] [Thread-5 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:55:37.162226 [debug] [Thread-4 ]: SQL status: SUCCESS 15 in 0.69 seconds 2022-04-22 10:56:35 normalization > 10:55:37.174396 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_METRIC_EVENTS_SCD" 2022-04-22 10:56:35 normalization > 10:55:37.174657 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_METRIC_EVENTS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_METRIC_EVENTS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_METRIC_EVENTS_SCD" 2022-04-22 10:56:35 normalization > 10:55:37.205525 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 0.26 seconds 2022-04-22 10:56:35 normalization > 10:55:37.218049 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_FIELDS_SCD" 2022-04-22 10:56:35 normalization > 10:55:37.218282 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_FIELDS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_FIELDS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > drop view _AIRBYTE_ZENDESK_SUPPORT.TICKET_FIELDS_STG 2022-04-22 10:56:35 normalization > 10:55:37.273539 [debug] [Thread-4 ]: SQL status: SUCCESS 15 in 0.1 seconds 2022-04-22 10:56:35 normalization > 10:55:37.322182 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_METRIC_EVENTS_SCD" 2022-04-22 10:56:35 normalization > 10:55:37.341038 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_METRIC_EVENTS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_METRIC_EVENTS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_METRIC_EVENTS_SCD" 2022-04-22 10:56:35 normalization > 10:55:37.427476 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 0.2 seconds 2022-04-22 10:56:35 normalization > 10:55:37.432465 [debug] [Thread-3 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:37.432918 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_FIELDS_SCD: Close 2022-04-22 10:56:35 normalization > 10:55:37.457472 [debug] [Thread-4 ]: SQL status: SUCCESS 15 in 0.12 seconds 2022-04-22 10:56:35 normalization > 10:55:37.460701 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_METRIC_EVENTS_SCD" 2022-04-22 10:56:35 normalization > 10:55:37.460878 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_METRIC_EVENTS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_METRIC_EVENTS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_METRIC_EVENTS_SCD" 2022-04-22 10:56:35 normalization > 10:55:37.492413 [debug] [Thread-2 ]: SQL status: SUCCESS 158 in 1.5 seconds 2022-04-22 10:56:35 normalization > 10:55:37.492734 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKETS_SCD" 2022-04-22 10:56:35 normalization > 10:55:37.492874 [debug] [Thread-2 ]: On model.airbyte_utils.TICKETS_SCD: commit; 2022-04-22 10:56:35 normalization > 10:55:37.526950 [info ] [Thread-3 ]: 26 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_FIELDS_SCD................................................. [SUCCESS 1 in 7.33s] 2022-04-22 10:56:35 normalization > 10:55:37.527476 [debug] [Thread-3 ]: Finished running node model.airbyte_utils.TICKET_FIELDS_SCD 2022-04-22 10:56:35 normalization > 10:55:37.527808 [debug] [Thread-3 ]: Began running node model.airbyte_utils.SCHEDULES_INTERVALS_AB1 2022-04-22 10:56:35 normalization > 10:55:37.528698 [debug] [Thread-3 ]: Acquiring new snowflake connection "model.airbyte_utils.SCHEDULES_INTERVALS_AB1" 2022-04-22 10:56:35 normalization > 10:55:37.528881 [debug] [Thread-3 ]: Began compiling node model.airbyte_utils.SCHEDULES_INTERVALS_AB1 2022-04-22 10:56:35 normalization > 10:55:37.529303 [debug] [Thread-3 ]: Compiling model.airbyte_utils.SCHEDULES_INTERVALS_AB1 2022-04-22 10:56:35 normalization > 10:55:37.538475 [debug] [Thread-3 ]: Writing injected SQL for node "model.airbyte_utils.SCHEDULES_INTERVALS_AB1" 2022-04-22 10:56:35 normalization > 10:55:37.538798 [debug] [Thread-3 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:37.539154 [debug] [Thread-3 ]: Finished running node model.airbyte_utils.SCHEDULES_INTERVALS_AB1 2022-04-22 10:56:35 normalization > 10:55:37.539359 [debug] [Thread-3 ]: Began running node model.airbyte_utils.SLA_POLICIES_FILTER_AB1 2022-04-22 10:56:35 normalization > 10:55:37.539927 [debug] [Thread-3 ]: Acquiring new snowflake connection "model.airbyte_utils.SLA_POLICIES_FILTER_AB1" 2022-04-22 10:56:35 normalization > 10:55:37.540090 [debug] [Thread-3 ]: Began compiling node model.airbyte_utils.SLA_POLICIES_FILTER_AB1 2022-04-22 10:56:35 normalization > 10:55:37.540234 [debug] [Thread-3 ]: Compiling model.airbyte_utils.SLA_POLICIES_FILTER_AB1 2022-04-22 10:56:35 normalization > 10:55:37.547938 [debug] [Thread-3 ]: Writing injected SQL for node "model.airbyte_utils.SLA_POLICIES_FILTER_AB1" 2022-04-22 10:56:35 normalization > 10:55:37.549450 [debug] [Thread-3 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:37.550644 [debug] [Thread-3 ]: Finished running node model.airbyte_utils.SLA_POLICIES_FILTER_AB1 2022-04-22 10:56:35 normalization > 10:55:37.552048 [debug] [Thread-3 ]: Began running node model.airbyte_utils.SLA_POLICIES_POLICY_METRICS_AB1 2022-04-22 10:56:35 normalization > 10:55:37.553212 [debug] [Thread-3 ]: Acquiring new snowflake connection "model.airbyte_utils.SLA_POLICIES_POLICY_METRICS_AB1" 2022-04-22 10:56:35 normalization > 10:55:37.553502 [debug] [Thread-3 ]: Began compiling node model.airbyte_utils.SLA_POLICIES_POLICY_METRICS_AB1 2022-04-22 10:56:35 normalization > 10:55:37.553787 [debug] [Thread-3 ]: Compiling model.airbyte_utils.SLA_POLICIES_POLICY_METRICS_AB1 2022-04-22 10:56:35 normalization > 10:55:37.563616 [debug] [Thread-3 ]: Writing injected SQL for node "model.airbyte_utils.SLA_POLICIES_POLICY_METRICS_AB1" 2022-04-22 10:56:35 normalization > 10:55:37.563919 [debug] [Thread-3 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:37.564270 [debug] [Thread-3 ]: Finished running node model.airbyte_utils.SLA_POLICIES_POLICY_METRICS_AB1 2022-04-22 10:56:35 normalization > 10:55:37.564476 [debug] [Thread-3 ]: Began running node model.airbyte_utils.GROUPS 2022-04-22 10:56:35 normalization > 10:55:37.564737 [info ] [Thread-3 ]: 30 of 95 START incremental model ZENDESK_SUPPORT.GROUPS................................................................. [RUN] 2022-04-22 10:56:35 normalization > 10:55:37.565623 [debug] [Thread-3 ]: Acquiring new snowflake connection "model.airbyte_utils.GROUPS" 2022-04-22 10:56:35 normalization > 10:55:37.566044 [debug] [Thread-3 ]: Began compiling node model.airbyte_utils.GROUPS 2022-04-22 10:56:35 normalization > 10:55:37.566258 [debug] [Thread-3 ]: Compiling model.airbyte_utils.GROUPS 2022-04-22 10:56:35 normalization > 10:55:37.583773 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.GROUPS" 2022-04-22 10:56:35 normalization > 10:55:37.583970 [debug] [Thread-3 ]: On model.airbyte_utils.GROUPS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.GROUPS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."GROUPS" 2022-04-22 10:56:35 normalization > 10:55:37.584078 [debug] [Thread-3 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:55:37.623885 [debug] [Thread-5 ]: SQL status: SUCCESS 47 in 0.47 seconds 2022-04-22 10:56:35 normalization > 10:55:37.663039 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.USERS_SCD" 2022-04-22 10:56:35 normalization > 10:55:37.668473 [debug] [Thread-5 ]: On model.airbyte_utils.USERS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.USERS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."USERS_SCD" 2022-04-22 10:56:35 normalization > 10:55:37.723982 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 0.23 seconds 2022-04-22 10:56:35 normalization > 10:55:37.743211 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKETS_SCD" 2022-04-22 10:56:35 normalization > 10:55:37.759961 [debug] [Thread-2 ]: On model.airbyte_utils.TICKETS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > drop view _AIRBYTE_ZENDESK_SUPPORT.TICKETS_STG 2022-04-22 10:56:35 normalization > 10:55:37.862696 [debug] [Thread-5 ]: SQL status: SUCCESS 47 in 0.19 seconds 2022-04-22 10:56:35 normalization > 10:55:37.877407 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.USERS_SCD" 2022-04-22 10:56:35 normalization > 10:55:37.877666 [debug] [Thread-5 ]: On model.airbyte_utils.USERS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.USERS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."USERS_SCD" 2022-04-22 10:56:35 normalization > 10:55:37.888076 [debug] [Thread-4 ]: SQL status: SUCCESS 1 in 0.43 seconds 2022-04-22 10:56:35 normalization > 10:55:37.894452 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 0.11 seconds 2022-04-22 10:56:35 normalization > 10:55:37.901044 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_METRIC_EVENTS_SCD" 2022-04-22 10:56:35 normalization > 10:55:37.904806 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:37.905097 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_METRIC_EVENTS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_METRIC_EVENTS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_METRIC_EVENTS_SCD" 2022-04-22 10:56:35 normalization > 10:55:37.905337 [debug] [Thread-2 ]: On model.airbyte_utils.TICKETS_SCD: Close 2022-04-22 10:56:35 normalization > 10:55:37.930672 [debug] [Thread-5 ]: SQL status: SUCCESS 47 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:55:37.935424 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.USERS_SCD" 2022-04-22 10:56:35 normalization > 10:55:37.935649 [debug] [Thread-5 ]: On model.airbyte_utils.USERS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.USERS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."USERS_SCD" 2022-04-22 10:56:35 normalization > 10:55:37.960325 [debug] [Thread-4 ]: SQL status: SUCCESS 15 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:55:37.963510 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_METRIC_EVENTS_SCD" 2022-04-22 10:56:35 normalization > 10:55:37.963701 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_METRIC_EVENTS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_METRIC_EVENTS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_METRIC_EVENTS_SCD" 2022-04-22 10:56:35 normalization > 10:55:38.010875 [info ] [Thread-2 ]: 23 of 95 OK created incremental model ZENDESK_SUPPORT.TICKETS_SCD....................................................... [SUCCESS 1 in 9.56s] 2022-04-22 10:56:35 normalization > 10:55:38.011356 [debug] [Thread-2 ]: Finished running node model.airbyte_utils.TICKETS_SCD 2022-04-22 10:56:35 normalization > 10:55:38.011676 [debug] [Thread-2 ]: Began running node model.airbyte_utils.GROUP_MEMBERSHIPS 2022-04-22 10:56:35 normalization > 10:55:38.012703 [info ] [Thread-2 ]: 31 of 95 START incremental model ZENDESK_SUPPORT.GROUP_MEMBERSHIPS...................................................... [RUN] 2022-04-22 10:56:35 normalization > 10:55:38.013727 [debug] [Thread-2 ]: Acquiring new snowflake connection "model.airbyte_utils.GROUP_MEMBERSHIPS" 2022-04-22 10:56:35 normalization > 10:55:38.013966 [debug] [Thread-2 ]: Began compiling node model.airbyte_utils.GROUP_MEMBERSHIPS 2022-04-22 10:56:35 normalization > 10:55:38.014129 [debug] [Thread-2 ]: Compiling model.airbyte_utils.GROUP_MEMBERSHIPS 2022-04-22 10:56:35 normalization > 10:55:38.029270 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.GROUP_MEMBERSHIPS" 2022-04-22 10:56:35 normalization > 10:55:38.029559 [debug] [Thread-2 ]: On model.airbyte_utils.GROUP_MEMBERSHIPS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.GROUP_MEMBERSHIPS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."GROUP_MEMBERSHIPS" 2022-04-22 10:56:35 normalization > 10:55:38.030421 [debug] [Thread-2 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:55:38.031019 [debug] [Thread-4 ]: SQL status: SUCCESS 1 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:55:38.041517 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_METRIC_EVENTS_SCD" 2022-04-22 10:56:35 normalization > 10:55:38.041926 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_METRIC_EVENTS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_METRIC_EVENTS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"._AIRBYTE_ZENDESK_SUPPORT."TICKET_METRIC_EVENTS_STG" 2022-04-22 10:56:35 normalization > 10:55:38.080572 [debug] [Thread-3 ]: SQL status: SUCCESS 11 in 0.5 seconds 2022-04-22 10:56:35 normalization > 10:55:38.116802 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.GROUPS" 2022-04-22 10:56:35 normalization > 10:55:38.137823 [debug] [Thread-3 ]: On model.airbyte_utils.GROUPS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.GROUPS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."GROUPS" 2022-04-22 10:56:35 normalization > 10:55:38.149522 [debug] [Thread-4 ]: SQL status: SUCCESS 10 in 0.11 seconds 2022-04-22 10:56:35 normalization > 10:55:38.214783 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_METRIC_EVENTS_SCD" 2022-04-22 10:56:35 normalization > 10:55:38.215172 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_METRIC_EVENTS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_METRIC_EVENTS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_METRIC_EVENTS_SCD" 2022-04-22 10:56:35 normalization > 10:55:38.328805 [debug] [Thread-4 ]: SQL status: SUCCESS 15 in 0.11 seconds 2022-04-22 10:56:35 normalization > 10:55:38.330657 [debug] [Thread-5 ]: SQL status: SUCCESS 1 in 0.39 seconds 2022-04-22 10:56:35 normalization > 10:55:38.331328 [debug] [Thread-3 ]: SQL status: SUCCESS 11 in 0.16 seconds 2022-04-22 10:56:35 normalization > 10:55:38.343585 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.USERS_SCD" 2022-04-22 10:56:35 normalization > 10:55:38.347339 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.GROUPS" 2022-04-22 10:56:35 normalization > 10:55:38.347764 [debug] [Thread-5 ]: On model.airbyte_utils.USERS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.USERS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."USERS_SCD" 2022-04-22 10:56:35 normalization > 10:55:38.348619 [debug] [Thread-3 ]: On model.airbyte_utils.GROUPS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.GROUPS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."GROUPS" 2022-04-22 10:56:35 normalization > 10:55:38.359735 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_METRIC_EVENTS_SCD" 2022-04-22 10:56:35 normalization > 10:55:38.360409 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_METRIC_EVENTS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_METRIC_EVENTS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"._AIRBYTE_ZENDESK_SUPPORT."TICKET_METRIC_EVENTS_STG" 2022-04-22 10:56:35 normalization > 10:55:38.418282 [debug] [Thread-5 ]: SQL status: SUCCESS 47 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:55:38.423164 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.USERS_SCD" 2022-04-22 10:56:35 normalization > 10:55:38.423372 [debug] [Thread-5 ]: On model.airbyte_utils.USERS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.USERS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."USERS_SCD" 2022-04-22 10:56:35 normalization > 10:55:38.596855 [debug] [Thread-4 ]: SQL status: SUCCESS 10 in 0.24 seconds 2022-04-22 10:56:35 normalization > 10:55:38.604567 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_METRIC_EVENTS_SCD" 2022-04-22 10:56:35 normalization > 10:55:38.604769 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_METRIC_EVENTS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_METRIC_EVENTS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"._AIRBYTE_ZENDESK_SUPPORT."TICKET_METRIC_EVENTS_STG" 2022-04-22 10:56:35 normalization > 10:55:38.616707 [debug] [Thread-5 ]: SQL status: SUCCESS 1 in 0.19 seconds 2022-04-22 10:56:35 normalization > 10:55:38.622993 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.USERS_SCD" 2022-04-22 10:56:35 normalization > 10:55:38.623203 [debug] [Thread-5 ]: On model.airbyte_utils.USERS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.USERS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"._AIRBYTE_ZENDESK_SUPPORT."USERS_STG" 2022-04-22 10:56:35 normalization > 10:55:38.626766 [debug] [Thread-2 ]: SQL status: SUCCESS 12 in 0.6 seconds 2022-04-22 10:56:35 normalization > 10:55:38.642037 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.GROUP_MEMBERSHIPS" 2022-04-22 10:56:35 normalization > 10:55:38.642266 [debug] [Thread-2 ]: On model.airbyte_utils.GROUP_MEMBERSHIPS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.GROUP_MEMBERSHIPS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."GROUP_MEMBERSHIPS" 2022-04-22 10:56:35 normalization > 10:55:38.664381 [debug] [Thread-4 ]: SQL status: SUCCESS 10 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:55:38.673469 [debug] [Thread-4 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_METRIC_EVENTS_SCD" 2022-04-22 10:56:35 normalization > 10:55:38.673890 [debug] [Thread-4 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:38.674049 [debug] [Thread-4 ]: Began executing node model.airbyte_utils.TICKET_METRIC_EVENTS_SCD 2022-04-22 10:56:35 normalization > 10:55:38.679435 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_METRIC_EVENTS_SCD" 2022-04-22 10:56:35 normalization > 10:55:38.679621 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_METRIC_EVENTS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_METRIC_EVENTS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_METRIC_EVENTS_SCD" 2022-04-22 10:56:35 normalization > 10:55:38.697287 [debug] [Thread-2 ]: SQL status: SUCCESS 12 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:55:38.700175 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.GROUP_MEMBERSHIPS" 2022-04-22 10:56:35 normalization > 10:55:38.700352 [debug] [Thread-2 ]: On model.airbyte_utils.GROUP_MEMBERSHIPS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.GROUP_MEMBERSHIPS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."GROUP_MEMBERSHIPS" 2022-04-22 10:56:35 normalization > 10:55:38.704392 [debug] [Thread-5 ]: SQL status: SUCCESS 42 in 0.08 seconds 2022-04-22 10:56:35 normalization > 10:55:38.714881 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.USERS_SCD" 2022-04-22 10:56:35 normalization > 10:55:38.715066 [debug] [Thread-5 ]: On model.airbyte_utils.USERS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.USERS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."USERS_SCD" 2022-04-22 10:56:35 normalization > 10:55:38.733517 [debug] [Thread-4 ]: SQL status: SUCCESS 15 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:55:38.745272 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_METRIC_EVENTS_SCD" 2022-04-22 10:56:35 normalization > 10:55:38.746055 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_METRIC_EVENTS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_METRIC_EVENTS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace temporary table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_METRIC_EVENTS_SCD__dbt_tmp" as 2022-04-22 10:56:35 normalization > (select * from( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- depends_on: ref('TICKET_METRIC_EVENTS_STG') 2022-04-22 10:56:35 normalization > with 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > new_data as ( 2022-04-22 10:56:35 normalization > -- retrieve incremental "new" data 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > * 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB"._AIRBYTE_ZENDESK_SUPPORT."TICKET_METRIC_EVENTS_STG" 2022-04-22 10:56:35 normalization > -- TICKET_METRIC_EVENTS from "AIRBYTE_DB".ZENDESK_SUPPORT._AIRBYTE_RAW_TICKET_METRIC_EVENTS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > and cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) >= 2022-04-22 10:56:35 normalization > cast('2022-04-22 10:49:14.666000-07:00' as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > new_data_ids as ( 2022-04-22 10:56:35 normalization > -- build a subset of _AIRBYTE_UNIQUE_KEY from rows that are new 2022-04-22 10:56:35 normalization > select distinct 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_UNIQUE_KEY 2022-04-22 10:56:35 normalization > from new_data 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > empty_new_data as ( 2022-04-22 10:56:35 normalization > -- build an empty table to only keep the table's column types 2022-04-22 10:56:35 normalization > select * from new_data where 1 = 0 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > previous_active_scd_data as ( 2022-04-22 10:56:35 normalization > -- retrieve "incomplete old" data that needs to be updated with an end date because of new changes 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > this_data."_AIRBYTE_TICKET_METRIC_EVENTS_HASHID", 2022-04-22 10:56:35 normalization > this_data."ID", 2022-04-22 10:56:35 normalization > this_data."TIME", 2022-04-22 10:56:35 normalization > this_data."TYPE", 2022-04-22 10:56:35 normalization > this_data."METRIC", 2022-04-22 10:56:35 normalization > this_data."TICKET_ID", 2022-04-22 10:56:35 normalization > this_data."INSTANCE_ID", 2022-04-22 10:56:35 normalization > this_data."_AIRBYTE_AB_ID", 2022-04-22 10:56:35 normalization > this_data."_AIRBYTE_EMITTED_AT", 2022-04-22 10:56:35 normalization > this_data."_AIRBYTE_NORMALIZED_AT" 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_METRIC_EVENTS_SCD" as this_data 2022-04-22 10:56:35 normalization > -- make a join with new_data using primary key to filter active data that need to be updated only 2022-04-22 10:56:35 normalization > join new_data_ids on this_data._AIRBYTE_UNIQUE_KEY = new_data_ids._AIRBYTE_UNIQUE_KEY 2022-04-22 10:56:35 normalization > -- force left join to NULL values (we just need to transfer column types only for the star_intersect macro on schema changes) 2022-04-22 10:56:35 normalization > left join empty_new_data as inc_data on this_data._AIRBYTE_AB_ID = inc_data._AIRBYTE_AB_ID 2022-04-22 10:56:35 normalization > where _AIRBYTE_ACTIVE_ROW = 1 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > input_data as ( 2022-04-22 10:56:35 normalization > select "_AIRBYTE_TICKET_METRIC_EVENTS_HASHID", 2022-04-22 10:56:35 normalization > "ID", 2022-04-22 10:56:35 normalization > "TIME", 2022-04-22 10:56:35 normalization > "TYPE", 2022-04-22 10:56:35 normalization > "METRIC", 2022-04-22 10:56:35 normalization > "TICKET_ID", 2022-04-22 10:56:35 normalization > "INSTANCE_ID", 2022-04-22 10:56:35 normalization > "_AIRBYTE_AB_ID", 2022-04-22 10:56:35 normalization > "_AIRBYTE_EMITTED_AT", 2022-04-22 10:56:35 normalization > "_AIRBYTE_NORMALIZED_AT" from new_data 2022-04-22 10:56:35 normalization > union all 2022-04-22 10:56:35 normalization > select "_AIRBYTE_TICKET_METRIC_EVENTS_HASHID", 2022-04-22 10:56:35 normalization > "ID", 2022-04-22 10:56:35 normalization > "TIME", 2022-04-22 10:56:35 normalization > "TYPE", 2022-04-22 10:56:35 normalization > "METRIC", 2022-04-22 10:56:35 normalization > "TICKET_ID", 2022-04-22 10:56:35 normalization > "INSTANCE_ID", 2022-04-22 10:56:35 normalization > "_AIRBYTE_AB_ID", 2022-04-22 10:56:35 normalization > "_AIRBYTE_EMITTED_AT", 2022-04-22 10:56:35 normalization > "_AIRBYTE_NORMALIZED_AT" from previous_active_scd_data 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > scd_data as ( 2022-04-22 10:56:35 normalization > -- SQL model to build a Type 2 Slowly Changing Dimension (SCD) table for each record identified by their primary key 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_UNIQUE_KEY, 2022-04-22 10:56:35 normalization > ID, 2022-04-22 10:56:35 normalization > TIME, 2022-04-22 10:56:35 normalization > TYPE, 2022-04-22 10:56:35 normalization > METRIC, 2022-04-22 10:56:35 normalization > TICKET_ID, 2022-04-22 10:56:35 normalization > INSTANCE_ID, 2022-04-22 10:56:35 normalization > TIME as _AIRBYTE_START_AT, 2022-04-22 10:56:35 normalization > lag(TIME) over ( 2022-04-22 10:56:35 normalization > partition by ID 2022-04-22 10:56:35 normalization > order by 2022-04-22 10:56:35 normalization > TIME is null asc, 2022-04-22 10:56:35 normalization > TIME desc, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT desc 2022-04-22 10:56:35 normalization > ) as _AIRBYTE_END_AT, 2022-04-22 10:56:35 normalization > case when row_number() over ( 2022-04-22 10:56:35 normalization > partition by ID 2022-04-22 10:56:35 normalization > order by 2022-04-22 10:56:35 normalization > TIME is null asc, 2022-04-22 10:56:35 normalization > TIME desc, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT desc 2022-04-22 10:56:35 normalization > ) = 1 then 1 else 0 end as _AIRBYTE_ACTIVE_ROW, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_TICKET_METRIC_EVENTS_HASHID 2022-04-22 10:56:35 normalization > from input_data 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > dedup_data as ( 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > -- we need to ensure de-duplicated rows for merge/update queries 2022-04-22 10:56:35 normalization > -- additionally, we generate a unique key for the scd table 2022-04-22 10:56:35 normalization > row_number() over ( 2022-04-22 10:56:35 normalization > partition by 2022-04-22 10:56:35 normalization > _AIRBYTE_UNIQUE_KEY, 2022-04-22 10:56:35 normalization > _AIRBYTE_START_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT 2022-04-22 10:56:35 normalization > order by _AIRBYTE_ACTIVE_ROW desc, _AIRBYTE_AB_ID 2022-04-22 10:56:35 normalization > ) as _AIRBYTE_ROW_NUM, 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(_AIRBYTE_UNIQUE_KEY as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(_AIRBYTE_START_AT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_UNIQUE_KEY_SCD, 2022-04-22 10:56:35 normalization > scd_data.* 2022-04-22 10:56:35 normalization > from scd_data 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_UNIQUE_KEY, 2022-04-22 10:56:35 normalization > _AIRBYTE_UNIQUE_KEY_SCD, 2022-04-22 10:56:35 normalization > ID, 2022-04-22 10:56:35 normalization > TIME, 2022-04-22 10:56:35 normalization > TYPE, 2022-04-22 10:56:35 normalization > METRIC, 2022-04-22 10:56:35 normalization > TICKET_ID, 2022-04-22 10:56:35 normalization > INSTANCE_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_START_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_END_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_ACTIVE_ROW, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_TICKET_METRIC_EVENTS_HASHID 2022-04-22 10:56:35 normalization > from dedup_data where _AIRBYTE_ROW_NUM = 1 2022-04-22 10:56:35 normalization > ) order by (_AIRBYTE_ACTIVE_ROW, _AIRBYTE_UNIQUE_KEY_SCD, _AIRBYTE_EMITTED_AT) 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:55:38.746557 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 0.4 seconds 2022-04-22 10:56:35 normalization > 10:55:38.756310 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.GROUPS" 2022-04-22 10:56:35 normalization > 10:55:38.757543 [debug] [Thread-3 ]: On model.airbyte_utils.GROUPS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.GROUPS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."GROUPS" 2022-04-22 10:56:35 normalization > 10:55:38.765960 [debug] [Thread-5 ]: SQL status: SUCCESS 47 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:55:38.788198 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.USERS_SCD" 2022-04-22 10:56:35 normalization > 10:55:38.788523 [debug] [Thread-5 ]: On model.airbyte_utils.USERS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.USERS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"._AIRBYTE_ZENDESK_SUPPORT."USERS_STG" 2022-04-22 10:56:35 normalization > 10:55:38.825231 [debug] [Thread-3 ]: SQL status: SUCCESS 11 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:55:38.828269 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.GROUPS" 2022-04-22 10:56:35 normalization > 10:55:38.828462 [debug] [Thread-3 ]: On model.airbyte_utils.GROUPS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.GROUPS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."GROUPS" 2022-04-22 10:56:35 normalization > 10:55:38.866491 [debug] [Thread-5 ]: SQL status: SUCCESS 42 in 0.08 seconds 2022-04-22 10:56:35 normalization > 10:55:38.881683 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.USERS_SCD" 2022-04-22 10:56:35 normalization > 10:55:38.881897 [debug] [Thread-5 ]: On model.airbyte_utils.USERS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.USERS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"._AIRBYTE_ZENDESK_SUPPORT."USERS_STG" 2022-04-22 10:56:35 normalization > 10:55:38.900241 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:55:38.902492 [debug] [Thread-3 ]: Writing injected SQL for node "model.airbyte_utils.GROUPS" 2022-04-22 10:56:35 normalization > 10:55:38.902918 [debug] [Thread-3 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:38.903075 [debug] [Thread-3 ]: Began executing node model.airbyte_utils.GROUPS 2022-04-22 10:56:35 normalization > 10:55:38.909133 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.GROUPS" 2022-04-22 10:56:35 normalization > 10:55:38.910713 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 0.21 seconds 2022-04-22 10:56:35 normalization > 10:55:38.910914 [debug] [Thread-3 ]: On model.airbyte_utils.GROUPS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.GROUPS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."GROUPS" 2022-04-22 10:56:35 normalization > 10:55:38.920637 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.GROUP_MEMBERSHIPS" 2022-04-22 10:56:35 normalization > 10:55:38.922482 [debug] [Thread-2 ]: On model.airbyte_utils.GROUP_MEMBERSHIPS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.GROUP_MEMBERSHIPS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."GROUP_MEMBERSHIPS" 2022-04-22 10:56:35 normalization > 10:55:38.953947 [debug] [Thread-5 ]: SQL status: SUCCESS 42 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:55:38.970444 [debug] [Thread-5 ]: Writing injected SQL for node "model.airbyte_utils.USERS_SCD" 2022-04-22 10:56:35 normalization > 10:55:38.970847 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:38.971016 [debug] [Thread-5 ]: Began executing node model.airbyte_utils.USERS_SCD 2022-04-22 10:56:35 normalization > 10:55:38.976346 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.USERS_SCD" 2022-04-22 10:56:35 normalization > 10:55:38.976551 [debug] [Thread-5 ]: On model.airbyte_utils.USERS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.USERS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."USERS_SCD" 2022-04-22 10:56:35 normalization > 10:55:38.981234 [debug] [Thread-2 ]: SQL status: SUCCESS 12 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:55:38.984521 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.GROUP_MEMBERSHIPS" 2022-04-22 10:56:35 normalization > 10:55:38.985125 [debug] [Thread-3 ]: SQL status: SUCCESS 11 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:55:38.985333 [debug] [Thread-2 ]: On model.airbyte_utils.GROUP_MEMBERSHIPS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.GROUP_MEMBERSHIPS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."GROUP_MEMBERSHIPS" 2022-04-22 10:56:35 normalization > 10:55:38.993903 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.GROUPS" 2022-04-22 10:56:35 normalization > 10:55:38.994722 [debug] [Thread-3 ]: On model.airbyte_utils.GROUPS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.GROUPS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace temporary table "AIRBYTE_DB".ZENDESK_SUPPORT."GROUPS__dbt_tmp" as 2022-04-22 10:56:35 normalization > (select * from( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- Final base SQL model 2022-04-22 10:56:35 normalization > -- depends_on: "AIRBYTE_DB".ZENDESK_SUPPORT."GROUPS_SCD" 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_UNIQUE_KEY, 2022-04-22 10:56:35 normalization > ID, 2022-04-22 10:56:35 normalization > URL, 2022-04-22 10:56:35 normalization > NAME, 2022-04-22 10:56:35 normalization > DELETED, 2022-04-22 10:56:35 normalization > CREATED_AT, 2022-04-22 10:56:35 normalization > UPDATED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_GROUPS_HASHID 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."GROUPS_SCD" 2022-04-22 10:56:35 normalization > -- GROUPS from "AIRBYTE_DB".ZENDESK_SUPPORT._AIRBYTE_RAW_GROUPS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > and _AIRBYTE_ACTIVE_ROW = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > and cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) >= 2022-04-22 10:56:35 normalization > cast('2022-04-19 22:53:32.941000-07:00' as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ) order by (_AIRBYTE_UNIQUE_KEY, _AIRBYTE_EMITTED_AT) 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:55:39.029163 [debug] [Thread-5 ]: SQL status: SUCCESS 47 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:55:39.045565 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.USERS_SCD" 2022-04-22 10:56:35 normalization > 10:55:39.045829 [debug] [Thread-5 ]: On model.airbyte_utils.USERS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.USERS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace temporary table "AIRBYTE_DB".ZENDESK_SUPPORT."USERS_SCD__dbt_tmp" as 2022-04-22 10:56:35 normalization > (select * from( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- depends_on: ref('USERS_STG') 2022-04-22 10:56:35 normalization > with 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > new_data as ( 2022-04-22 10:56:35 normalization > -- retrieve incremental "new" data 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > * 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB"._AIRBYTE_ZENDESK_SUPPORT."USERS_STG" 2022-04-22 10:56:35 normalization > -- USERS from "AIRBYTE_DB".ZENDESK_SUPPORT._AIRBYTE_RAW_USERS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > and cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) >= 2022-04-22 10:56:35 normalization > cast('2022-04-22 10:49:19.093000-07:00' as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > new_data_ids as ( 2022-04-22 10:56:35 normalization > -- build a subset of _AIRBYTE_UNIQUE_KEY from rows that are new 2022-04-22 10:56:35 normalization > select distinct 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_UNIQUE_KEY 2022-04-22 10:56:35 normalization > from new_data 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > empty_new_data as ( 2022-04-22 10:56:35 normalization > -- build an empty table to only keep the table's column types 2022-04-22 10:56:35 normalization > select * from new_data where 1 = 0 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > previous_active_scd_data as ( 2022-04-22 10:56:35 normalization > -- retrieve "incomplete old" data that needs to be updated with an end date because of new changes 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > this_data."_AIRBYTE_USERS_HASHID", 2022-04-22 10:56:35 normalization > this_data."ID", 2022-04-22 10:56:35 normalization > this_data."URL", 2022-04-22 10:56:35 normalization > this_data."NAME", 2022-04-22 10:56:35 normalization > this_data."ROLE", 2022-04-22 10:56:35 normalization > this_data."TAGS", 2022-04-22 10:56:35 normalization > this_data."ALIAS", 2022-04-22 10:56:35 normalization > this_data."EMAIL", 2022-04-22 10:56:35 normalization > this_data."NOTES", 2022-04-22 10:56:35 normalization > this_data."PHONE", 2022-04-22 10:56:35 normalization > this_data."PHOTO", 2022-04-22 10:56:35 normalization > this_data."ACTIVE", 2022-04-22 10:56:35 normalization > this_data."LOCALE", 2022-04-22 10:56:35 normalization > this_data."SHARED", 2022-04-22 10:56:35 normalization > this_data."DETAILS", 2022-04-22 10:56:35 normalization > this_data."VERIFIED", 2022-04-22 10:56:35 normalization > this_data."CHAT_ONLY", 2022-04-22 10:56:35 normalization > this_data."LOCALE_ID", 2022-04-22 10:56:35 normalization > this_data."MODERATOR", 2022-04-22 10:56:35 normalization > this_data."ROLE_TYPE", 2022-04-22 10:56:35 normalization > this_data."SIGNATURE", 2022-04-22 10:56:35 normalization > this_data."SUSPENDED", 2022-04-22 10:56:35 normalization > this_data."TIME_ZONE", 2022-04-22 10:56:35 normalization > this_data."CREATED_AT", 2022-04-22 10:56:35 normalization > this_data."REPORT_CSV", 2022-04-22 10:56:35 normalization > this_data."UPDATED_AT", 2022-04-22 10:56:35 normalization > this_data."EXTERNAL_ID", 2022-04-22 10:56:35 normalization > this_data."USER_FIELDS", 2022-04-22 10:56:35 normalization > this_data."SHARED_AGENT", 2022-04-22 10:56:35 normalization > this_data."LAST_LOGIN_AT", 2022-04-22 10:56:35 normalization > this_data."CUSTOM_ROLE_ID", 2022-04-22 10:56:35 normalization > this_data."ORGANIZATION_ID", 2022-04-22 10:56:35 normalization > this_data."DEFAULT_GROUP_ID", 2022-04-22 10:56:35 normalization > this_data."RESTRICTED_AGENT", 2022-04-22 10:56:35 normalization > this_data."TICKET_RESTRICTION", 2022-04-22 10:56:35 normalization > this_data."PERMANENTLY_DELETED", 2022-04-22 10:56:35 normalization > this_data."SHARED_PHONE_NUMBER", 2022-04-22 10:56:35 normalization > this_data."ONLY_PRIVATE_COMMENTS", 2022-04-22 10:56:35 normalization > this_data."TWO_FACTOR_AUTH_ENABLED", 2022-04-22 10:56:35 normalization > this_data."_AIRBYTE_AB_ID", 2022-04-22 10:56:35 normalization > this_data."_AIRBYTE_EMITTED_AT", 2022-04-22 10:56:35 normalization > this_data."_AIRBYTE_NORMALIZED_AT" 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."USERS_SCD" as this_data 2022-04-22 10:56:35 normalization > -- make a join with new_data using primary key to filter active data that need to be updated only 2022-04-22 10:56:35 normalization > join new_data_ids on this_data._AIRBYTE_UNIQUE_KEY = new_data_ids._AIRBYTE_UNIQUE_KEY 2022-04-22 10:56:35 normalization > -- force left join to NULL values (we just need to transfer column types only for the star_intersect macro on schema changes) 2022-04-22 10:56:35 normalization > left join empty_new_data as inc_data on this_data._AIRBYTE_AB_ID = inc_data._AIRBYTE_AB_ID 2022-04-22 10:56:35 normalization > where _AIRBYTE_ACTIVE_ROW = 1 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > input_data as ( 2022-04-22 10:56:35 normalization > select "_AIRBYTE_USERS_HASHID", 2022-04-22 10:56:35 normalization > "ID", 2022-04-22 10:56:35 normalization > "URL", 2022-04-22 10:56:35 normalization > "NAME", 2022-04-22 10:56:35 normalization > "ROLE", 2022-04-22 10:56:35 normalization > "TAGS", 2022-04-22 10:56:35 normalization > "ALIAS", 2022-04-22 10:56:35 normalization > "EMAIL", 2022-04-22 10:56:35 normalization > "NOTES", 2022-04-22 10:56:35 normalization > "PHONE", 2022-04-22 10:56:35 normalization > "PHOTO", 2022-04-22 10:56:35 normalization > "ACTIVE", 2022-04-22 10:56:35 normalization > "LOCALE", 2022-04-22 10:56:35 normalization > "SHARED", 2022-04-22 10:56:35 normalization > "DETAILS", 2022-04-22 10:56:35 normalization > "VERIFIED", 2022-04-22 10:56:35 normalization > "CHAT_ONLY", 2022-04-22 10:56:35 normalization > "LOCALE_ID", 2022-04-22 10:56:35 normalization > "MODERATOR", 2022-04-22 10:56:35 normalization > "ROLE_TYPE", 2022-04-22 10:56:35 normalization > "SIGNATURE", 2022-04-22 10:56:35 normalization > "SUSPENDED", 2022-04-22 10:56:35 normalization > "TIME_ZONE", 2022-04-22 10:56:35 normalization > "CREATED_AT", 2022-04-22 10:56:35 normalization > "REPORT_CSV", 2022-04-22 10:56:35 normalization > "UPDATED_AT", 2022-04-22 10:56:35 normalization > "EXTERNAL_ID", 2022-04-22 10:56:35 normalization > "USER_FIELDS", 2022-04-22 10:56:35 normalization > "SHARED_AGENT", 2022-04-22 10:56:35 normalization > "LAST_LOGIN_AT", 2022-04-22 10:56:35 normalization > "CUSTOM_ROLE_ID", 2022-04-22 10:56:35 normalization > "ORGANIZATION_ID", 2022-04-22 10:56:35 normalization > "DEFAULT_GROUP_ID", 2022-04-22 10:56:35 normalization > "RESTRICTED_AGENT", 2022-04-22 10:56:35 normalization > "TICKET_RESTRICTION", 2022-04-22 10:56:35 normalization > "PERMANENTLY_DELETED", 2022-04-22 10:56:35 normalization > "SHARED_PHONE_NUMBER", 2022-04-22 10:56:35 normalization > "ONLY_PRIVATE_COMMENTS", 2022-04-22 10:56:35 normalization > "TWO_FACTOR_AUTH_ENABLED", 2022-04-22 10:56:35 normalization > "_AIRBYTE_AB_ID", 2022-04-22 10:56:35 normalization > "_AIRBYTE_EMITTED_AT", 2022-04-22 10:56:35 normalization > "_AIRBYTE_NORMALIZED_AT" from new_data 2022-04-22 10:56:35 normalization > union all 2022-04-22 10:56:35 normalization > select "_AIRBYTE_USERS_HASHID", 2022-04-22 10:56:35 normalization > "ID", 2022-04-22 10:56:35 normalization > "URL", 2022-04-22 10:56:35 normalization > "NAME", 2022-04-22 10:56:35 normalization > "ROLE", 2022-04-22 10:56:35 normalization > "TAGS", 2022-04-22 10:56:35 normalization > "ALIAS", 2022-04-22 10:56:35 normalization > "EMAIL", 2022-04-22 10:56:35 normalization > "NOTES", 2022-04-22 10:56:35 normalization > "PHONE", 2022-04-22 10:56:35 normalization > "PHOTO", 2022-04-22 10:56:35 normalization > "ACTIVE", 2022-04-22 10:56:35 normalization > "LOCALE", 2022-04-22 10:56:35 normalization > "SHARED", 2022-04-22 10:56:35 normalization > "DETAILS", 2022-04-22 10:56:35 normalization > "VERIFIED", 2022-04-22 10:56:35 normalization > "CHAT_ONLY", 2022-04-22 10:56:35 normalization > "LOCALE_ID", 2022-04-22 10:56:35 normalization > "MODERATOR", 2022-04-22 10:56:35 normalization > "ROLE_TYPE", 2022-04-22 10:56:35 normalization > "SIGNATURE", 2022-04-22 10:56:35 normalization > "SUSPENDED", 2022-04-22 10:56:35 normalization > "TIME_ZONE", 2022-04-22 10:56:35 normalization > "CREATED_AT", 2022-04-22 10:56:35 normalization > "REPORT_CSV", 2022-04-22 10:56:35 normalization > "UPDATED_AT", 2022-04-22 10:56:35 normalization > "EXTERNAL_ID", 2022-04-22 10:56:35 normalization > "USER_FIELDS", 2022-04-22 10:56:35 normalization > "SHARED_AGENT", 2022-04-22 10:56:35 normalization > "LAST_LOGIN_AT", 2022-04-22 10:56:35 normalization > "CUSTOM_ROLE_ID", 2022-04-22 10:56:35 normalization > "ORGANIZATION_ID", 2022-04-22 10:56:35 normalization > "DEFAULT_GROUP_ID", 2022-04-22 10:56:35 normalization > "RESTRICTED_AGENT", 2022-04-22 10:56:35 normalization > "TICKET_RESTRICTION", 2022-04-22 10:56:35 normalization > "PERMANENTLY_DELETED", 2022-04-22 10:56:35 normalization > "SHARED_PHONE_NUMBER", 2022-04-22 10:56:35 normalization > "ONLY_PRIVATE_COMMENTS", 2022-04-22 10:56:35 normalization > "TWO_FACTOR_AUTH_ENABLED", 2022-04-22 10:56:35 normalization > "_AIRBYTE_AB_ID", 2022-04-22 10:56:35 normalization > "_AIRBYTE_EMITTED_AT", 2022-04-22 10:56:35 normalization > "_AIRBYTE_NORMALIZED_AT" from previous_active_scd_data 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > scd_data as ( 2022-04-22 10:56:35 normalization > -- SQL model to build a Type 2 Slowly Changing Dimension (SCD) table for each record identified by their primary key 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_UNIQUE_KEY, 2022-04-22 10:56:35 normalization > ID, 2022-04-22 10:56:35 normalization > URL, 2022-04-22 10:56:35 normalization > NAME, 2022-04-22 10:56:35 normalization > ROLE, 2022-04-22 10:56:35 normalization > TAGS, 2022-04-22 10:56:35 normalization > ALIAS, 2022-04-22 10:56:35 normalization > EMAIL, 2022-04-22 10:56:35 normalization > NOTES, 2022-04-22 10:56:35 normalization > PHONE, 2022-04-22 10:56:35 normalization > PHOTO, 2022-04-22 10:56:35 normalization > ACTIVE, 2022-04-22 10:56:35 normalization > LOCALE, 2022-04-22 10:56:35 normalization > SHARED, 2022-04-22 10:56:35 normalization > DETAILS, 2022-04-22 10:56:35 normalization > VERIFIED, 2022-04-22 10:56:35 normalization > CHAT_ONLY, 2022-04-22 10:56:35 normalization > LOCALE_ID, 2022-04-22 10:56:35 normalization > MODERATOR, 2022-04-22 10:56:35 normalization > ROLE_TYPE, 2022-04-22 10:56:35 normalization > SIGNATURE, 2022-04-22 10:56:35 normalization > SUSPENDED, 2022-04-22 10:56:35 normalization > TIME_ZONE, 2022-04-22 10:56:35 normalization > CREATED_AT, 2022-04-22 10:56:35 normalization > REPORT_CSV, 2022-04-22 10:56:35 normalization > UPDATED_AT, 2022-04-22 10:56:35 normalization > EXTERNAL_ID, 2022-04-22 10:56:35 normalization > USER_FIELDS, 2022-04-22 10:56:35 normalization > SHARED_AGENT, 2022-04-22 10:56:35 normalization > LAST_LOGIN_AT, 2022-04-22 10:56:35 normalization > CUSTOM_ROLE_ID, 2022-04-22 10:56:35 normalization > ORGANIZATION_ID, 2022-04-22 10:56:35 normalization > DEFAULT_GROUP_ID, 2022-04-22 10:56:35 normalization > RESTRICTED_AGENT, 2022-04-22 10:56:35 normalization > TICKET_RESTRICTION, 2022-04-22 10:56:35 normalization > PERMANENTLY_DELETED, 2022-04-22 10:56:35 normalization > SHARED_PHONE_NUMBER, 2022-04-22 10:56:35 normalization > ONLY_PRIVATE_COMMENTS, 2022-04-22 10:56:35 normalization > TWO_FACTOR_AUTH_ENABLED, 2022-04-22 10:56:35 normalization > UPDATED_AT as _AIRBYTE_START_AT, 2022-04-22 10:56:35 normalization > lag(UPDATED_AT) over ( 2022-04-22 10:56:35 normalization > partition by ID 2022-04-22 10:56:35 normalization > order by 2022-04-22 10:56:35 normalization > UPDATED_AT is null asc, 2022-04-22 10:56:35 normalization > UPDATED_AT desc, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT desc 2022-04-22 10:56:35 normalization > ) as _AIRBYTE_END_AT, 2022-04-22 10:56:35 normalization > case when row_number() over ( 2022-04-22 10:56:35 normalization > partition by ID 2022-04-22 10:56:35 normalization > order by 2022-04-22 10:56:35 normalization > UPDATED_AT is null asc, 2022-04-22 10:56:35 normalization > UPDATED_AT desc, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT desc 2022-04-22 10:56:35 normalization > ) = 1 then 1 else 0 end as _AIRBYTE_ACTIVE_ROW, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_USERS_HASHID 2022-04-22 10:56:35 normalization > from input_data 2022-04-22 10:56:35 normalization > ), 2022-04-22 10:56:35 normalization > dedup_data as ( 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > -- we need to ensure de-duplicated rows for merge/update queries 2022-04-22 10:56:35 normalization > -- additionally, we generate a unique key for the scd table 2022-04-22 10:56:35 normalization > row_number() over ( 2022-04-22 10:56:35 normalization > partition by 2022-04-22 10:56:35 normalization > _AIRBYTE_UNIQUE_KEY, 2022-04-22 10:56:35 normalization > _AIRBYTE_START_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT 2022-04-22 10:56:35 normalization > order by _AIRBYTE_ACTIVE_ROW desc, _AIRBYTE_AB_ID 2022-04-22 10:56:35 normalization > ) as _AIRBYTE_ROW_NUM, 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(_AIRBYTE_UNIQUE_KEY as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(_AIRBYTE_START_AT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_UNIQUE_KEY_SCD, 2022-04-22 10:56:35 normalization > scd_data.* 2022-04-22 10:56:35 normalization > from scd_data 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_UNIQUE_KEY, 2022-04-22 10:56:35 normalization > _AIRBYTE_UNIQUE_KEY_SCD, 2022-04-22 10:56:35 normalization > ID, 2022-04-22 10:56:35 normalization > URL, 2022-04-22 10:56:35 normalization > NAME, 2022-04-22 10:56:35 normalization > ROLE, 2022-04-22 10:56:35 normalization > TAGS, 2022-04-22 10:56:35 normalization > ALIAS, 2022-04-22 10:56:35 normalization > EMAIL, 2022-04-22 10:56:35 normalization > NOTES, 2022-04-22 10:56:35 normalization > PHONE, 2022-04-22 10:56:35 normalization > PHOTO, 2022-04-22 10:56:35 normalization > ACTIVE, 2022-04-22 10:56:35 normalization > LOCALE, 2022-04-22 10:56:35 normalization > SHARED, 2022-04-22 10:56:35 normalization > DETAILS, 2022-04-22 10:56:35 normalization > VERIFIED, 2022-04-22 10:56:35 normalization > CHAT_ONLY, 2022-04-22 10:56:35 normalization > LOCALE_ID, 2022-04-22 10:56:35 normalization > MODERATOR, 2022-04-22 10:56:35 normalization > ROLE_TYPE, 2022-04-22 10:56:35 normalization > SIGNATURE, 2022-04-22 10:56:35 normalization > SUSPENDED, 2022-04-22 10:56:35 normalization > TIME_ZONE, 2022-04-22 10:56:35 normalization > CREATED_AT, 2022-04-22 10:56:35 normalization > REPORT_CSV, 2022-04-22 10:56:35 normalization > UPDATED_AT, 2022-04-22 10:56:35 normalization > EXTERNAL_ID, 2022-04-22 10:56:35 normalization > USER_FIELDS, 2022-04-22 10:56:35 normalization > SHARED_AGENT, 2022-04-22 10:56:35 normalization > LAST_LOGIN_AT, 2022-04-22 10:56:35 normalization > CUSTOM_ROLE_ID, 2022-04-22 10:56:35 normalization > ORGANIZATION_ID, 2022-04-22 10:56:35 normalization > DEFAULT_GROUP_ID, 2022-04-22 10:56:35 normalization > RESTRICTED_AGENT, 2022-04-22 10:56:35 normalization > TICKET_RESTRICTION, 2022-04-22 10:56:35 normalization > PERMANENTLY_DELETED, 2022-04-22 10:56:35 normalization > SHARED_PHONE_NUMBER, 2022-04-22 10:56:35 normalization > ONLY_PRIVATE_COMMENTS, 2022-04-22 10:56:35 normalization > TWO_FACTOR_AUTH_ENABLED, 2022-04-22 10:56:35 normalization > _AIRBYTE_START_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_END_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_ACTIVE_ROW, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_USERS_HASHID 2022-04-22 10:56:35 normalization > from dedup_data where _AIRBYTE_ROW_NUM = 1 2022-04-22 10:56:35 normalization > ) order by (_AIRBYTE_ACTIVE_ROW, _AIRBYTE_UNIQUE_KEY_SCD, _AIRBYTE_EMITTED_AT) 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:55:39.074991 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 0.08 seconds 2022-04-22 10:56:35 normalization > 10:55:39.077214 [debug] [Thread-2 ]: Writing injected SQL for node "model.airbyte_utils.GROUP_MEMBERSHIPS" 2022-04-22 10:56:35 normalization > 10:55:39.077590 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:39.077749 [debug] [Thread-2 ]: Began executing node model.airbyte_utils.GROUP_MEMBERSHIPS 2022-04-22 10:56:35 normalization > 10:55:39.083004 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.GROUP_MEMBERSHIPS" 2022-04-22 10:56:35 normalization > 10:55:39.083168 [debug] [Thread-2 ]: On model.airbyte_utils.GROUP_MEMBERSHIPS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.GROUP_MEMBERSHIPS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."GROUP_MEMBERSHIPS" 2022-04-22 10:56:35 normalization > 10:55:39.129822 [debug] [Thread-2 ]: SQL status: SUCCESS 12 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:55:39.138959 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.GROUP_MEMBERSHIPS" 2022-04-22 10:56:35 normalization > 10:55:39.139205 [debug] [Thread-2 ]: On model.airbyte_utils.GROUP_MEMBERSHIPS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.GROUP_MEMBERSHIPS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace temporary table "AIRBYTE_DB".ZENDESK_SUPPORT."GROUP_MEMBERSHIPS__dbt_tmp" as 2022-04-22 10:56:35 normalization > (select * from( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- Final base SQL model 2022-04-22 10:56:35 normalization > -- depends_on: "AIRBYTE_DB".ZENDESK_SUPPORT."GROUP_MEMBERSHIPS_SCD" 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_UNIQUE_KEY, 2022-04-22 10:56:35 normalization > ID, 2022-04-22 10:56:35 normalization > URL, 2022-04-22 10:56:35 normalization > "default", 2022-04-22 10:56:35 normalization > USER_ID, 2022-04-22 10:56:35 normalization > GROUP_ID, 2022-04-22 10:56:35 normalization > CREATED_AT, 2022-04-22 10:56:35 normalization > UPDATED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_GROUP_MEMBERSHIPS_HASHID 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."GROUP_MEMBERSHIPS_SCD" 2022-04-22 10:56:35 normalization > -- GROUP_MEMBERSHIPS from "AIRBYTE_DB".ZENDESK_SUPPORT._AIRBYTE_RAW_GROUP_MEMBERSHIPS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > and _AIRBYTE_ACTIVE_ROW = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > and cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) >= 2022-04-22 10:56:35 normalization > cast('2022-04-21 22:53:24.139000-07:00' as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ) order by (_AIRBYTE_UNIQUE_KEY, _AIRBYTE_EMITTED_AT) 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:55:39.973977 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 0.98 seconds 2022-04-22 10:56:35 normalization > 10:55:39.980421 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.GROUPS" 2022-04-22 10:56:35 normalization > 10:55:39.980659 [debug] [Thread-3 ]: On model.airbyte_utils.GROUPS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.GROUPS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."GROUPS__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:55:40.113420 [debug] [Thread-3 ]: SQL status: SUCCESS 11 in 0.13 seconds 2022-04-22 10:56:35 normalization > 10:55:40.118828 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.GROUPS" 2022-04-22 10:56:35 normalization > 10:55:40.119141 [debug] [Thread-3 ]: On model.airbyte_utils.GROUPS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.GROUPS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."GROUPS" 2022-04-22 10:56:35 normalization > 10:55:40.141206 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 1.0 seconds 2022-04-22 10:56:35 normalization > 10:55:40.147020 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.GROUP_MEMBERSHIPS" 2022-04-22 10:56:35 normalization > 10:55:40.147242 [debug] [Thread-2 ]: On model.airbyte_utils.GROUP_MEMBERSHIPS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.GROUP_MEMBERSHIPS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."GROUP_MEMBERSHIPS__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:55:40.234508 [debug] [Thread-2 ]: SQL status: SUCCESS 12 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:55:40.239811 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.GROUP_MEMBERSHIPS" 2022-04-22 10:56:35 normalization > 10:55:40.240091 [debug] [Thread-2 ]: On model.airbyte_utils.GROUP_MEMBERSHIPS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.GROUP_MEMBERSHIPS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."GROUP_MEMBERSHIPS" 2022-04-22 10:56:35 normalization > 10:55:40.268408 [debug] [Thread-3 ]: SQL status: SUCCESS 11 in 0.15 seconds 2022-04-22 10:56:35 normalization > 10:55:40.274921 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.GROUPS" 2022-04-22 10:56:35 normalization > 10:55:40.275141 [debug] [Thread-3 ]: On model.airbyte_utils.GROUPS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.GROUPS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."GROUPS__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:55:40.327748 [debug] [Thread-2 ]: SQL status: SUCCESS 12 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:55:40.334252 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.GROUP_MEMBERSHIPS" 2022-04-22 10:56:35 normalization > 10:55:40.334813 [debug] [Thread-2 ]: On model.airbyte_utils.GROUP_MEMBERSHIPS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.GROUP_MEMBERSHIPS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."GROUP_MEMBERSHIPS__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:55:40.350035 [debug] [Thread-3 ]: SQL status: SUCCESS 11 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:55:40.358410 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.GROUPS" 2022-04-22 10:56:35 normalization > 10:55:40.358627 [debug] [Thread-3 ]: On model.airbyte_utils.GROUPS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.GROUPS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"."ZENDESK_SUPPORT"."GROUPS" 2022-04-22 10:56:35 normalization > 10:55:40.388830 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 3.33 seconds 2022-04-22 10:56:35 normalization > 10:55:40.393919 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_METRICS_SCD" 2022-04-22 10:56:35 normalization > 10:55:40.394119 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_METRICS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_METRICS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_METRICS_SCD__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:55:40.404685 [debug] [Thread-4 ]: SQL status: SUCCESS 1 in 1.66 seconds 2022-04-22 10:56:35 normalization > 10:55:40.408743 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_METRIC_EVENTS_SCD" 2022-04-22 10:56:35 normalization > 10:55:40.408929 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_METRIC_EVENTS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_METRIC_EVENTS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_METRIC_EVENTS_SCD__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:55:40.411793 [debug] [Thread-3 ]: SQL status: SUCCESS 11 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:55:40.415678 [debug] [Thread-3 ]: 2022-04-22 10:56:35 normalization > In "AIRBYTE_DB"."ZENDESK_SUPPORT"."GROUPS": 2022-04-22 10:56:35 normalization > Schema changed: False 2022-04-22 10:56:35 normalization > Source columns not in target: [] 2022-04-22 10:56:35 normalization > Target columns not in source: [] 2022-04-22 10:56:35 normalization > New column types: [] 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 10:55:40.417628 [debug] [Thread-3 ]: Writing runtime SQL for node "model.airbyte_utils.GROUPS" 2022-04-22 10:56:35 normalization > 10:55:40.419021 [debug] [Thread-2 ]: SQL status: SUCCESS 12 in 0.08 seconds 2022-04-22 10:56:35 normalization > 10:55:40.425425 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.GROUP_MEMBERSHIPS" 2022-04-22 10:56:35 normalization > 10:55:40.425757 [debug] [Thread-2 ]: On model.airbyte_utils.GROUP_MEMBERSHIPS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.GROUP_MEMBERSHIPS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"."ZENDESK_SUPPORT"."GROUP_MEMBERSHIPS" 2022-04-22 10:56:35 normalization > 10:55:40.428645 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.GROUPS" 2022-04-22 10:56:35 normalization > 10:55:40.428863 [debug] [Thread-3 ]: On model.airbyte_utils.GROUPS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.GROUPS"} */ 2022-04-22 10:56:35 normalization > begin; 2022-04-22 10:56:35 normalization > 10:55:40.502115 [debug] [Thread-4 ]: SQL status: SUCCESS 15 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:55:40.507680 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_METRIC_EVENTS_SCD" 2022-04-22 10:56:35 normalization > 10:55:40.507894 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_METRIC_EVENTS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_METRIC_EVENTS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_METRIC_EVENTS_SCD" 2022-04-22 10:56:35 normalization > 10:55:40.512802 [debug] [Thread-2 ]: SQL status: SUCCESS 12 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:55:40.516254 [debug] [Thread-2 ]: 2022-04-22 10:56:35 normalization > In "AIRBYTE_DB"."ZENDESK_SUPPORT"."GROUP_MEMBERSHIPS": 2022-04-22 10:56:35 normalization > Schema changed: False 2022-04-22 10:56:35 normalization > Source columns not in target: [] 2022-04-22 10:56:35 normalization > Target columns not in source: [] 2022-04-22 10:56:35 normalization > New column types: [] 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 10:55:40.518234 [debug] [Thread-2 ]: Writing runtime SQL for node "model.airbyte_utils.GROUP_MEMBERSHIPS" 2022-04-22 10:56:35 normalization > 10:55:40.519917 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.GROUP_MEMBERSHIPS" 2022-04-22 10:56:35 normalization > 10:55:40.520059 [debug] [Thread-2 ]: On model.airbyte_utils.GROUP_MEMBERSHIPS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.GROUP_MEMBERSHIPS"} */ 2022-04-22 10:56:35 normalization > begin; 2022-04-22 10:56:35 normalization > 10:55:40.522200 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:55:40.522466 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.GROUPS" 2022-04-22 10:56:35 normalization > 10:55:40.522621 [debug] [Thread-3 ]: On model.airbyte_utils.GROUPS: merge into "AIRBYTE_DB".ZENDESK_SUPPORT."GROUPS" as DBT_INTERNAL_DEST 2022-04-22 10:56:35 normalization > using "AIRBYTE_DB".ZENDESK_SUPPORT."GROUPS__dbt_tmp" as DBT_INTERNAL_SOURCE 2022-04-22 10:56:35 normalization > on 2022-04-22 10:56:35 normalization > DBT_INTERNAL_SOURCE._AIRBYTE_UNIQUE_KEY = DBT_INTERNAL_DEST._AIRBYTE_UNIQUE_KEY 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > when matched then update set 2022-04-22 10:56:35 normalization > "_AIRBYTE_UNIQUE_KEY" = DBT_INTERNAL_SOURCE."_AIRBYTE_UNIQUE_KEY","ID" = DBT_INTERNAL_SOURCE."ID","URL" = DBT_INTERNAL_SOURCE."URL","NAME" = DBT_INTERNAL_SOURCE."NAME","DELETED" = DBT_INTERNAL_SOURCE."DELETED","CREATED_AT" = DBT_INTERNAL_SOURCE."CREATED_AT","UPDATED_AT" = DBT_INTERNAL_SOURCE."UPDATED_AT","_AIRBYTE_AB_ID" = DBT_INTERNAL_SOURCE."_AIRBYTE_AB_ID","_AIRBYTE_EMITTED_AT" = DBT_INTERNAL_SOURCE."_AIRBYTE_EMITTED_AT","_AIRBYTE_NORMALIZED_AT" = DBT_INTERNAL_SOURCE."_AIRBYTE_NORMALIZED_AT","_AIRBYTE_GROUPS_HASHID" = DBT_INTERNAL_SOURCE."_AIRBYTE_GROUPS_HASHID" 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > when not matched then insert 2022-04-22 10:56:35 normalization > ("_AIRBYTE_UNIQUE_KEY", "ID", "URL", "NAME", "DELETED", "CREATED_AT", "UPDATED_AT", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_GROUPS_HASHID") 2022-04-22 10:56:35 normalization > values 2022-04-22 10:56:35 normalization > ("_AIRBYTE_UNIQUE_KEY", "ID", "URL", "NAME", "DELETED", "CREATED_AT", "UPDATED_AT", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_GROUPS_HASHID") 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ; 2022-04-22 10:56:35 normalization > 10:55:40.525930 [debug] [Thread-1 ]: SQL status: SUCCESS 36 in 0.13 seconds 2022-04-22 10:56:35 normalization > 10:55:40.534576 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_METRICS_SCD" 2022-04-22 10:56:35 normalization > 10:55:40.534793 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_METRICS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_METRICS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_METRICS_SCD" 2022-04-22 10:56:35 normalization > 10:55:40.596633 [debug] [Thread-4 ]: SQL status: SUCCESS 15 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:55:40.606370 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_METRIC_EVENTS_SCD" 2022-04-22 10:56:35 normalization > 10:55:40.606640 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_METRIC_EVENTS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_METRIC_EVENTS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_METRIC_EVENTS_SCD__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:55:40.608366 [debug] [Thread-1 ]: SQL status: SUCCESS 36 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:55:40.621976 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_METRICS_SCD" 2022-04-22 10:56:35 normalization > 10:55:40.623497 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_METRICS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_METRICS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_METRICS_SCD__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:55:40.624764 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 0.1 seconds 2022-04-22 10:56:35 normalization > 10:55:40.627355 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.GROUP_MEMBERSHIPS" 2022-04-22 10:56:35 normalization > 10:55:40.627691 [debug] [Thread-2 ]: On model.airbyte_utils.GROUP_MEMBERSHIPS: merge into "AIRBYTE_DB".ZENDESK_SUPPORT."GROUP_MEMBERSHIPS" as DBT_INTERNAL_DEST 2022-04-22 10:56:35 normalization > using "AIRBYTE_DB".ZENDESK_SUPPORT."GROUP_MEMBERSHIPS__dbt_tmp" as DBT_INTERNAL_SOURCE 2022-04-22 10:56:35 normalization > on 2022-04-22 10:56:35 normalization > DBT_INTERNAL_SOURCE._AIRBYTE_UNIQUE_KEY = DBT_INTERNAL_DEST._AIRBYTE_UNIQUE_KEY 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > when matched then update set 2022-04-22 10:56:35 normalization > "_AIRBYTE_UNIQUE_KEY" = DBT_INTERNAL_SOURCE."_AIRBYTE_UNIQUE_KEY","ID" = DBT_INTERNAL_SOURCE."ID","URL" = DBT_INTERNAL_SOURCE."URL","default" = DBT_INTERNAL_SOURCE."default","USER_ID" = DBT_INTERNAL_SOURCE."USER_ID","GROUP_ID" = DBT_INTERNAL_SOURCE."GROUP_ID","CREATED_AT" = DBT_INTERNAL_SOURCE."CREATED_AT","UPDATED_AT" = DBT_INTERNAL_SOURCE."UPDATED_AT","_AIRBYTE_AB_ID" = DBT_INTERNAL_SOURCE."_AIRBYTE_AB_ID","_AIRBYTE_EMITTED_AT" = DBT_INTERNAL_SOURCE."_AIRBYTE_EMITTED_AT","_AIRBYTE_NORMALIZED_AT" = DBT_INTERNAL_SOURCE."_AIRBYTE_NORMALIZED_AT","_AIRBYTE_GROUP_MEMBERSHIPS_HASHID" = DBT_INTERNAL_SOURCE."_AIRBYTE_GROUP_MEMBERSHIPS_HASHID" 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > when not matched then insert 2022-04-22 10:56:35 normalization > ("_AIRBYTE_UNIQUE_KEY", "ID", "URL", "default", "USER_ID", "GROUP_ID", "CREATED_AT", "UPDATED_AT", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_GROUP_MEMBERSHIPS_HASHID") 2022-04-22 10:56:35 normalization > values 2022-04-22 10:56:35 normalization > ("_AIRBYTE_UNIQUE_KEY", "ID", "URL", "default", "USER_ID", "GROUP_ID", "CREATED_AT", "UPDATED_AT", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_GROUP_MEMBERSHIPS_HASHID") 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ; 2022-04-22 10:56:35 normalization > 10:55:40.704641 [debug] [Thread-1 ]: SQL status: SUCCESS 36 in 0.08 seconds 2022-04-22 10:56:35 normalization > 10:55:40.712577 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_METRICS_SCD" 2022-04-22 10:56:35 normalization > 10:55:40.712806 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_METRICS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_METRICS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_METRICS_SCD" 2022-04-22 10:56:35 normalization > 10:55:40.736171 [debug] [Thread-4 ]: SQL status: SUCCESS 15 in 0.13 seconds 2022-04-22 10:56:35 normalization > 10:55:40.742532 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_METRIC_EVENTS_SCD" 2022-04-22 10:56:35 normalization > 10:55:40.742890 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_METRIC_EVENTS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_METRIC_EVENTS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_METRIC_EVENTS_SCD" 2022-04-22 10:56:35 normalization > 10:55:40.806154 [debug] [Thread-4 ]: SQL status: SUCCESS 15 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:55:40.810039 [debug] [Thread-4 ]: 2022-04-22 10:56:35 normalization > In "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_METRIC_EVENTS_SCD": 2022-04-22 10:56:35 normalization > Schema changed: False 2022-04-22 10:56:35 normalization > Source columns not in target: [] 2022-04-22 10:56:35 normalization > Target columns not in source: [] 2022-04-22 10:56:35 normalization > New column types: [] 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 10:55:40.812508 [debug] [Thread-4 ]: Writing runtime SQL for node "model.airbyte_utils.TICKET_METRIC_EVENTS_SCD" 2022-04-22 10:56:35 normalization > 10:55:40.814439 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_METRIC_EVENTS_SCD" 2022-04-22 10:56:35 normalization > 10:55:40.814596 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_METRIC_EVENTS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_METRIC_EVENTS_SCD"} */ 2022-04-22 10:56:35 normalization > begin; 2022-04-22 10:56:35 normalization > 10:55:41.105024 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 0.58 seconds 2022-04-22 10:56:35 normalization > 10:55:41.105328 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.GROUPS" 2022-04-22 10:56:35 normalization > 10:55:41.105442 [debug] [Thread-3 ]: On model.airbyte_utils.GROUPS: commit; 2022-04-22 10:56:35 normalization > 10:55:41.257101 [debug] [Thread-1 ]: SQL status: SUCCESS 36 in 0.54 seconds 2022-04-22 10:56:35 normalization > 10:55:41.266583 [debug] [Thread-1 ]: 2022-04-22 10:56:35 normalization > In "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_METRICS_SCD": 2022-04-22 10:56:35 normalization > Schema changed: True 2022-04-22 10:56:35 normalization > Source columns not in target: [] 2022-04-22 10:56:35 normalization > Target columns not in source: [] 2022-04-22 10:56:35 normalization > New column types: [{'column_name': 'INITIALLY_ASSIGNED_AT', 'new_type': 'TIMESTAMP_TZ'}] 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 10:55:41.279372 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_METRICS_SCD" 2022-04-22 10:56:35 normalization > 10:55:41.279644 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_METRICS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_METRICS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > alter table "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_METRICS_SCD" alter "INITIALLY_ASSIGNED_AT" set data type TIMESTAMP_TZ; 2022-04-22 10:56:35 normalization > 10:55:41.319167 [debug] [Thread-4 ]: SQL status: SUCCESS 1 in 0.5 seconds 2022-04-22 10:56:35 normalization > 10:55:41.319747 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 0.69 seconds 2022-04-22 10:56:35 normalization > 10:55:41.320118 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_METRIC_EVENTS_SCD" 2022-04-22 10:56:35 normalization > 10:55:41.320344 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.GROUP_MEMBERSHIPS" 2022-04-22 10:56:35 normalization > 10:55:41.320523 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_METRIC_EVENTS_SCD: merge into "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_METRIC_EVENTS_SCD" as DBT_INTERNAL_DEST 2022-04-22 10:56:35 normalization > using "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_METRIC_EVENTS_SCD__dbt_tmp" as DBT_INTERNAL_SOURCE 2022-04-22 10:56:35 normalization > on 2022-04-22 10:56:35 normalization > DBT_INTERNAL_SOURCE._AIRBYTE_UNIQUE_KEY_SCD = DBT_INTERNAL_DEST._AIRBYTE_UNIQUE_KEY_SCD 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > when matched then update set 2022-04-22 10:56:35 normalization > "_AIRBYTE_UNIQUE_KEY" = DBT_INTERNAL_SOURCE."_AIRBYTE_UNIQUE_KEY","_AIRBYTE_UNIQUE_KEY_SCD" = DBT_INTERNAL_SOURCE."_AIRBYTE_UNIQUE_KEY_SCD","ID" = DBT_INTERNAL_SOURCE."ID","TIME" = DBT_INTERNAL_SOURCE."TIME","TYPE" = DBT_INTERNAL_SOURCE."TYPE","METRIC" = DBT_INTERNAL_SOURCE."METRIC","TICKET_ID" = DBT_INTERNAL_SOURCE."TICKET_ID","INSTANCE_ID" = DBT_INTERNAL_SOURCE."INSTANCE_ID","_AIRBYTE_START_AT" = DBT_INTERNAL_SOURCE."_AIRBYTE_START_AT","_AIRBYTE_END_AT" = DBT_INTERNAL_SOURCE."_AIRBYTE_END_AT","_AIRBYTE_ACTIVE_ROW" = DBT_INTERNAL_SOURCE."_AIRBYTE_ACTIVE_ROW","_AIRBYTE_AB_ID" = DBT_INTERNAL_SOURCE."_AIRBYTE_AB_ID","_AIRBYTE_EMITTED_AT" = DBT_INTERNAL_SOURCE."_AIRBYTE_EMITTED_AT","_AIRBYTE_NORMALIZED_AT" = DBT_INTERNAL_SOURCE."_AIRBYTE_NORMALIZED_AT","_AIRBYTE_TICKET_METRIC_EVENTS_HASHID" = DBT_INTERNAL_SOURCE."_AIRBYTE_TICKET_METRIC_EVENTS_HASHID" 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > when not matched then insert 2022-04-22 10:56:35 normalization > ("_AIRBYTE_UNIQUE_KEY", "_AIRBYTE_UNIQUE_KEY_SCD", "ID", "TIME", "TYPE", "METRIC", "TICKET_ID", "INSTANCE_ID", "_AIRBYTE_START_AT", "_AIRBYTE_END_AT", "_AIRBYTE_ACTIVE_ROW", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_TICKET_METRIC_EVENTS_HASHID") 2022-04-22 10:56:35 normalization > values 2022-04-22 10:56:35 normalization > ("_AIRBYTE_UNIQUE_KEY", "_AIRBYTE_UNIQUE_KEY_SCD", "ID", "TIME", "TYPE", "METRIC", "TICKET_ID", "INSTANCE_ID", "_AIRBYTE_START_AT", "_AIRBYTE_END_AT", "_AIRBYTE_ACTIVE_ROW", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_TICKET_METRIC_EVENTS_HASHID") 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ; 2022-04-22 10:56:35 normalization > 10:55:41.320691 [debug] [Thread-2 ]: On model.airbyte_utils.GROUP_MEMBERSHIPS: commit; 2022-04-22 10:56:35 normalization > 10:55:41.434754 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 0.33 seconds 2022-04-22 10:56:35 normalization > 10:55:41.439077 [debug] [Thread-3 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:41.439341 [debug] [Thread-3 ]: On model.airbyte_utils.GROUPS: Close 2022-04-22 10:56:35 normalization > 10:55:41.453255 [debug] [Thread-1 ]: Snowflake adapter: Snowflake query id: 01a3c68f-0501-ef3f-0059-9f030285d0e6 2022-04-22 10:56:35 normalization > 10:55:41.453446 [debug] [Thread-1 ]: Snowflake adapter: Snowflake error: 002108 (22000): SQL compilation error: cannot change column INITIALLY_ASSIGNED_AT from type DATE to TIMESTAMP_TZ(9) 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 10:55:41.453674 [debug] [Thread-1 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:41.453812 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_METRICS_SCD: Close 2022-04-22 10:56:35 normalization > 10:55:41.571457 [info ] [Thread-3 ]: 30 of 95 OK created incremental model ZENDESK_SUPPORT.GROUPS............................................................ [SUCCESS 1 in 4.01s] 2022-04-22 10:56:35 normalization > 10:55:41.571982 [debug] [Thread-3 ]: Finished running node model.airbyte_utils.GROUPS 2022-04-22 10:56:35 normalization > 10:55:41.572253 [debug] [Thread-3 ]: Began running node model.airbyte_utils.SATISFACTION_RATINGS 2022-04-22 10:56:35 normalization > 10:55:41.573209 [info ] [Thread-3 ]: 32 of 95 START incremental model ZENDESK_SUPPORT.SATISFACTION_RATINGS................................................... [RUN] 2022-04-22 10:56:35 normalization > 10:55:41.573828 [debug] [Thread-3 ]: Acquiring new snowflake connection "model.airbyte_utils.SATISFACTION_RATINGS" 2022-04-22 10:56:35 normalization > 10:55:41.574000 [debug] [Thread-3 ]: Began compiling node model.airbyte_utils.SATISFACTION_RATINGS 2022-04-22 10:56:35 normalization > 10:55:41.574191 [debug] [Thread-3 ]: Compiling model.airbyte_utils.SATISFACTION_RATINGS 2022-04-22 10:56:35 normalization > 10:55:41.591267 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.SATISFACTION_RATINGS" 2022-04-22 10:56:35 normalization > 10:55:41.591494 [debug] [Thread-3 ]: On model.airbyte_utils.SATISFACTION_RATINGS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.SATISFACTION_RATINGS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."SATISFACTION_RATINGS" 2022-04-22 10:56:35 normalization > 10:55:41.591721 [debug] [Thread-3 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:55:41.736174 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 0.41 seconds 2022-04-22 10:56:35 normalization > 10:55:41.739907 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:41.740301 [debug] [Thread-2 ]: On model.airbyte_utils.GROUP_MEMBERSHIPS: Close 2022-04-22 10:56:35 normalization > 10:55:41.865882 [debug] [Thread-1 ]: Database Error in model TICKET_METRICS_SCD (models/generated/airbyte_incremental/scd/ZENDESK_SUPPORT/TICKET_METRICS_SCD.sql) 2022-04-22 10:56:35 normalization > 002108 (22000): SQL compilation error: cannot change column INITIALLY_ASSIGNED_AT from type DATE to TIMESTAMP_TZ(9) 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 10:55:41.866477 [error] [Thread-1 ]: 27 of 95 ERROR creating incremental model ZENDESK_SUPPORT.TICKET_METRICS_SCD............................................ [ERROR in 6.74s] 2022-04-22 10:56:35 normalization > 10:55:41.866925 [debug] [Thread-1 ]: Finished running node model.airbyte_utils.TICKET_METRICS_SCD 2022-04-22 10:56:35 normalization > 10:55:41.867157 [debug] [Thread-1 ]: Began running node model.airbyte_utils.MACROS 2022-04-22 10:56:35 normalization > 10:55:41.868209 [info ] [Thread-1 ]: 33 of 95 START incremental model ZENDESK_SUPPORT.MACROS................................................................. [RUN] 2022-04-22 10:56:35 normalization > 10:55:41.869631 [debug] [Thread-1 ]: Acquiring new snowflake connection "model.airbyte_utils.MACROS" 2022-04-22 10:56:35 normalization > 10:55:41.869833 [debug] [Thread-1 ]: Began compiling node model.airbyte_utils.MACROS 2022-04-22 10:56:35 normalization > 10:55:41.870088 [debug] [Thread-1 ]: Compiling model.airbyte_utils.MACROS 2022-04-22 10:56:35 normalization > 10:55:41.887265 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.MACROS" 2022-04-22 10:56:35 normalization > 10:55:41.887509 [debug] [Thread-1 ]: On model.airbyte_utils.MACROS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.MACROS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."MACROS" 2022-04-22 10:56:35 normalization > 10:55:41.887652 [debug] [Thread-1 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:55:41.961079 [info ] [Thread-2 ]: 31 of 95 OK created incremental model ZENDESK_SUPPORT.GROUP_MEMBERSHIPS................................................. [SUCCESS 1 in 3.95s] 2022-04-22 10:56:35 normalization > 10:55:41.977292 [debug] [Thread-2 ]: Finished running node model.airbyte_utils.GROUP_MEMBERSHIPS 2022-04-22 10:56:35 normalization > 10:55:41.993105 [debug] [Thread-2 ]: Began running node model.airbyte_utils.MACROS_ACTIONS_AB1 2022-04-22 10:56:35 normalization > 10:55:42.014301 [debug] [Thread-2 ]: Acquiring new snowflake connection "model.airbyte_utils.MACROS_ACTIONS_AB1" 2022-04-22 10:56:35 normalization > 10:55:42.019752 [debug] [Thread-2 ]: Began compiling node model.airbyte_utils.MACROS_ACTIONS_AB1 2022-04-22 10:56:35 normalization > 10:55:42.030958 [debug] [Thread-2 ]: Compiling model.airbyte_utils.MACROS_ACTIONS_AB1 2022-04-22 10:56:35 normalization > 10:55:42.056173 [debug] [Thread-2 ]: Writing injected SQL for node "model.airbyte_utils.MACROS_ACTIONS_AB1" 2022-04-22 10:56:35 normalization > 10:55:42.074676 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:42.084704 [debug] [Thread-2 ]: Finished running node model.airbyte_utils.MACROS_ACTIONS_AB1 2022-04-22 10:56:35 normalization > 10:55:42.088979 [debug] [Thread-2 ]: Began running node model.airbyte_utils.MACROS_RESTRICTION_AB1 2022-04-22 10:56:35 normalization > 10:55:42.090586 [debug] [Thread-2 ]: Acquiring new snowflake connection "model.airbyte_utils.MACROS_RESTRICTION_AB1" 2022-04-22 10:56:35 normalization > 10:55:42.090756 [debug] [Thread-2 ]: Began compiling node model.airbyte_utils.MACROS_RESTRICTION_AB1 2022-04-22 10:56:35 normalization > 10:55:42.090895 [debug] [Thread-2 ]: Compiling model.airbyte_utils.MACROS_RESTRICTION_AB1 2022-04-22 10:56:35 normalization > 10:55:42.099161 [debug] [Thread-2 ]: Writing injected SQL for node "model.airbyte_utils.MACROS_RESTRICTION_AB1" 2022-04-22 10:56:35 normalization > 10:55:42.099525 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:42.099886 [debug] [Thread-2 ]: Finished running node model.airbyte_utils.MACROS_RESTRICTION_AB1 2022-04-22 10:56:35 normalization > 10:55:42.100074 [debug] [Thread-2 ]: Began running node model.airbyte_utils.ORGANIZATIONS 2022-04-22 10:56:35 normalization > 10:55:42.100431 [info ] [Thread-2 ]: 34 of 95 START incremental model ZENDESK_SUPPORT.ORGANIZATIONS.......................................................... [RUN] 2022-04-22 10:56:35 normalization > 10:55:42.102162 [debug] [Thread-2 ]: Acquiring new snowflake connection "model.airbyte_utils.ORGANIZATIONS" 2022-04-22 10:56:35 normalization > 10:55:42.102563 [debug] [Thread-2 ]: Began compiling node model.airbyte_utils.ORGANIZATIONS 2022-04-22 10:56:35 normalization > 10:55:42.102777 [debug] [Thread-2 ]: Compiling model.airbyte_utils.ORGANIZATIONS 2022-04-22 10:56:35 normalization > 10:55:42.116948 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.ORGANIZATIONS" 2022-04-22 10:56:35 normalization > 10:55:42.117233 [debug] [Thread-2 ]: On model.airbyte_utils.ORGANIZATIONS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.ORGANIZATIONS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."ORGANIZATIONS" 2022-04-22 10:56:35 normalization > 10:55:42.117413 [debug] [Thread-2 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:55:42.127471 [debug] [Thread-3 ]: SQL status: SUCCESS 17 in 0.54 seconds 2022-04-22 10:56:35 normalization > 10:55:42.138689 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.SATISFACTION_RATINGS" 2022-04-22 10:56:35 normalization > 10:55:42.139191 [debug] [Thread-3 ]: On model.airbyte_utils.SATISFACTION_RATINGS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.SATISFACTION_RATINGS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."SATISFACTION_RATINGS" 2022-04-22 10:56:35 normalization > 10:55:42.226937 [debug] [Thread-3 ]: SQL status: SUCCESS 17 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:55:42.251026 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.SATISFACTION_RATINGS" 2022-04-22 10:56:35 normalization > 10:55:42.251387 [debug] [Thread-3 ]: On model.airbyte_utils.SATISFACTION_RATINGS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.SATISFACTION_RATINGS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."SATISFACTION_RATINGS" 2022-04-22 10:56:35 normalization > 10:55:42.574318 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 0.32 seconds 2022-04-22 10:56:35 normalization > 10:55:42.585197 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.SATISFACTION_RATINGS" 2022-04-22 10:56:35 normalization > 10:55:42.586316 [debug] [Thread-3 ]: On model.airbyte_utils.SATISFACTION_RATINGS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.SATISFACTION_RATINGS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."SATISFACTION_RATINGS" 2022-04-22 10:56:35 normalization > 10:55:42.590873 [debug] [Thread-1 ]: SQL status: SUCCESS 15 in 0.7 seconds 2022-04-22 10:56:35 normalization > 10:55:42.602484 [debug] [Thread-4 ]: SQL status: SUCCESS 982 in 1.28 seconds 2022-04-22 10:56:35 normalization > 10:55:42.603706 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.MACROS" 2022-04-22 10:56:35 normalization > 10:55:42.604168 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_METRIC_EVENTS_SCD" 2022-04-22 10:56:35 normalization > 10:55:42.604366 [debug] [Thread-1 ]: On model.airbyte_utils.MACROS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.MACROS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."MACROS" 2022-04-22 10:56:35 normalization > 10:55:42.604530 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_METRIC_EVENTS_SCD: commit; 2022-04-22 10:56:35 normalization > 10:55:42.645711 [debug] [Thread-2 ]: SQL status: SUCCESS 20 in 0.53 seconds 2022-04-22 10:56:35 normalization > 10:55:42.657990 [debug] [Thread-5 ]: SQL status: SUCCESS 1 in 3.61 seconds 2022-04-22 10:56:35 normalization > 10:55:42.658884 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.ORGANIZATIONS" 2022-04-22 10:56:35 normalization > 10:55:42.659565 [debug] [Thread-3 ]: SQL status: SUCCESS 17 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:55:42.663643 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.USERS_SCD" 2022-04-22 10:56:35 normalization > 10:55:42.664841 [debug] [Thread-1 ]: SQL status: SUCCESS 15 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:55:42.665019 [debug] [Thread-2 ]: On model.airbyte_utils.ORGANIZATIONS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.ORGANIZATIONS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."ORGANIZATIONS" 2022-04-22 10:56:35 normalization > 10:55:42.667948 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.SATISFACTION_RATINGS" 2022-04-22 10:56:35 normalization > 10:55:42.668152 [debug] [Thread-5 ]: On model.airbyte_utils.USERS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.USERS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."USERS_SCD__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:55:42.670961 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.MACROS" 2022-04-22 10:56:35 normalization > 10:55:42.672728 [debug] [Thread-3 ]: On model.airbyte_utils.SATISFACTION_RATINGS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.SATISFACTION_RATINGS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."SATISFACTION_RATINGS" 2022-04-22 10:56:35 normalization > 10:55:42.674178 [debug] [Thread-1 ]: On model.airbyte_utils.MACROS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.MACROS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."MACROS" 2022-04-22 10:56:35 normalization > 10:55:42.730216 [debug] [Thread-2 ]: SQL status: SUCCESS 20 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:55:42.733776 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.ORGANIZATIONS" 2022-04-22 10:56:35 normalization > 10:55:42.733971 [debug] [Thread-2 ]: On model.airbyte_utils.ORGANIZATIONS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.ORGANIZATIONS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."ORGANIZATIONS" 2022-04-22 10:56:35 normalization > 10:55:42.737288 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:55:42.739738 [debug] [Thread-3 ]: Writing injected SQL for node "model.airbyte_utils.SATISFACTION_RATINGS" 2022-04-22 10:56:35 normalization > 10:55:42.740273 [debug] [Thread-3 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:42.740436 [debug] [Thread-3 ]: Began executing node model.airbyte_utils.SATISFACTION_RATINGS 2022-04-22 10:56:35 normalization > 10:55:42.747916 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.SATISFACTION_RATINGS" 2022-04-22 10:56:35 normalization > 10:55:42.748073 [debug] [Thread-3 ]: On model.airbyte_utils.SATISFACTION_RATINGS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.SATISFACTION_RATINGS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."SATISFACTION_RATINGS" 2022-04-22 10:56:35 normalization > 10:55:42.790119 [debug] [Thread-5 ]: SQL status: SUCCESS 47 in 0.12 seconds 2022-04-22 10:56:35 normalization > 10:55:42.796876 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.USERS_SCD" 2022-04-22 10:56:35 normalization > 10:55:42.797101 [debug] [Thread-5 ]: On model.airbyte_utils.USERS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.USERS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."USERS_SCD" 2022-04-22 10:56:35 normalization > 10:55:42.810323 [debug] [Thread-3 ]: SQL status: SUCCESS 17 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:55:42.819421 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.SATISFACTION_RATINGS" 2022-04-22 10:56:35 normalization > 10:55:42.819639 [debug] [Thread-3 ]: On model.airbyte_utils.SATISFACTION_RATINGS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.SATISFACTION_RATINGS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace temporary table "AIRBYTE_DB".ZENDESK_SUPPORT."SATISFACTION_RATINGS__dbt_tmp" as 2022-04-22 10:56:35 normalization > (select * from( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- Final base SQL model 2022-04-22 10:56:35 normalization > -- depends_on: "AIRBYTE_DB".ZENDESK_SUPPORT."SATISFACTION_RATINGS_SCD" 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_UNIQUE_KEY, 2022-04-22 10:56:35 normalization > ID, 2022-04-22 10:56:35 normalization > URL, 2022-04-22 10:56:35 normalization > SCORE, 2022-04-22 10:56:35 normalization > REASON, 2022-04-22 10:56:35 normalization > COMMENT, 2022-04-22 10:56:35 normalization > GROUP_ID, 2022-04-22 10:56:35 normalization > REASON_ID, 2022-04-22 10:56:35 normalization > TICKET_ID, 2022-04-22 10:56:35 normalization > CREATED_AT, 2022-04-22 10:56:35 normalization > UPDATED_AT, 2022-04-22 10:56:35 normalization > ASSIGNEE_ID, 2022-04-22 10:56:35 normalization > REQUESTER_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_SATISFACTION_RATINGS_HASHID 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."SATISFACTION_RATINGS_SCD" 2022-04-22 10:56:35 normalization > -- SATISFACTION_RATINGS from "AIRBYTE_DB".ZENDESK_SUPPORT._AIRBYTE_RAW_SATISFACTION_RATINGS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > and _AIRBYTE_ACTIVE_ROW = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > and cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) >= 2022-04-22 10:56:35 normalization > cast('2022-04-22 10:47:42.353000-07:00' as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ) order by (_AIRBYTE_UNIQUE_KEY, _AIRBYTE_EMITTED_AT) 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:55:42.890978 [debug] [Thread-5 ]: SQL status: SUCCESS 47 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:55:42.900614 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.USERS_SCD" 2022-04-22 10:56:35 normalization > 10:55:42.900980 [debug] [Thread-5 ]: On model.airbyte_utils.USERS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.USERS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."USERS_SCD__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:55:42.910948 [debug] [Thread-4 ]: SQL status: SUCCESS 1 in 0.3 seconds 2022-04-22 10:56:35 normalization > 10:55:42.913024 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_METRIC_EVENTS_SCD" 2022-04-22 10:56:35 normalization > 10:55:42.913186 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_METRIC_EVENTS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_METRIC_EVENTS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > drop view _AIRBYTE_ZENDESK_SUPPORT.TICKET_METRIC_EVENTS_STG 2022-04-22 10:56:35 normalization > 10:55:42.960517 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 0.28 seconds 2022-04-22 10:56:35 normalization > 10:55:42.973362 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.MACROS" 2022-04-22 10:56:35 normalization > 10:55:42.974699 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 0.24 seconds 2022-04-22 10:56:35 normalization > 10:55:42.974893 [debug] [Thread-1 ]: On model.airbyte_utils.MACROS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.MACROS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."MACROS" 2022-04-22 10:56:35 normalization > 10:55:42.984618 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.ORGANIZATIONS" 2022-04-22 10:56:35 normalization > 10:55:42.986470 [debug] [Thread-2 ]: On model.airbyte_utils.ORGANIZATIONS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.ORGANIZATIONS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."ORGANIZATIONS" 2022-04-22 10:56:35 normalization > 10:55:42.992630 [debug] [Thread-5 ]: SQL status: SUCCESS 47 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:55:43.000389 [debug] [Thread-4 ]: SQL status: SUCCESS 1 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:55:43.002664 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.USERS_SCD" 2022-04-22 10:56:35 normalization > 10:55:43.113331 [debug] [Thread-1 ]: SQL status: SUCCESS 15 in 0.13 seconds 2022-04-22 10:56:35 normalization > 10:55:43.115034 [debug] [Thread-4 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:43.115340 [debug] [Thread-5 ]: On model.airbyte_utils.USERS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.USERS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"."ZENDESK_SUPPORT"."USERS_SCD" 2022-04-22 10:56:35 normalization > 10:55:43.119176 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.MACROS" 2022-04-22 10:56:35 normalization > 10:55:43.119849 [debug] [Thread-2 ]: SQL status: SUCCESS 20 in 0.13 seconds 2022-04-22 10:56:35 normalization > 10:55:43.120174 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_METRIC_EVENTS_SCD: Close 2022-04-22 10:56:35 normalization > 10:55:43.120890 [debug] [Thread-1 ]: On model.airbyte_utils.MACROS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.MACROS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."MACROS" 2022-04-22 10:56:35 normalization > 10:55:43.125350 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.ORGANIZATIONS" 2022-04-22 10:56:35 normalization > 10:55:43.128875 [debug] [Thread-2 ]: On model.airbyte_utils.ORGANIZATIONS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.ORGANIZATIONS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."ORGANIZATIONS" 2022-04-22 10:56:35 normalization > 10:55:43.192169 [debug] [Thread-5 ]: SQL status: SUCCESS 47 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:55:43.205244 [debug] [Thread-5 ]: 2022-04-22 10:56:35 normalization > In "AIRBYTE_DB"."ZENDESK_SUPPORT"."USERS_SCD": 2022-04-22 10:56:35 normalization > Schema changed: False 2022-04-22 10:56:35 normalization > Source columns not in target: [] 2022-04-22 10:56:35 normalization > Target columns not in source: [] 2022-04-22 10:56:35 normalization > New column types: [] 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 10:55:43.209488 [debug] [Thread-5 ]: Writing runtime SQL for node "model.airbyte_utils.USERS_SCD" 2022-04-22 10:56:35 normalization > 10:55:43.210201 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 0.08 seconds 2022-04-22 10:56:35 normalization > 10:55:43.212456 [debug] [Thread-1 ]: Writing injected SQL for node "model.airbyte_utils.MACROS" 2022-04-22 10:56:35 normalization > 10:55:43.213785 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 0.08 seconds 2022-04-22 10:56:35 normalization > 10:55:43.215787 [debug] [Thread-2 ]: Writing injected SQL for node "model.airbyte_utils.ORGANIZATIONS" 2022-04-22 10:56:35 normalization > 10:55:43.219081 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.USERS_SCD" 2022-04-22 10:56:35 normalization > 10:55:43.219312 [debug] [Thread-5 ]: On model.airbyte_utils.USERS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.USERS_SCD"} */ 2022-04-22 10:56:35 normalization > begin; 2022-04-22 10:56:35 normalization > 10:55:43.220021 [debug] [Thread-1 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:43.220256 [debug] [Thread-1 ]: Began executing node model.airbyte_utils.MACROS 2022-04-22 10:56:35 normalization > 10:55:43.232692 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.MACROS" 2022-04-22 10:56:35 normalization > 10:55:43.233140 [debug] [Thread-1 ]: On model.airbyte_utils.MACROS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.MACROS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."MACROS" 2022-04-22 10:56:35 normalization > 10:55:43.235050 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:43.235673 [debug] [Thread-2 ]: Began executing node model.airbyte_utils.ORGANIZATIONS 2022-04-22 10:56:35 normalization > 10:55:43.241073 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.ORGANIZATIONS" 2022-04-22 10:56:35 normalization > 10:55:43.241333 [debug] [Thread-2 ]: On model.airbyte_utils.ORGANIZATIONS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.ORGANIZATIONS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."ORGANIZATIONS" 2022-04-22 10:56:35 normalization > 10:55:43.258535 [info ] [Thread-4 ]: 28 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_METRIC_EVENTS_SCD.......................................... [SUCCESS 1 in 6.81s] 2022-04-22 10:56:35 normalization > 10:55:43.258981 [debug] [Thread-4 ]: Finished running node model.airbyte_utils.TICKET_METRIC_EVENTS_SCD 2022-04-22 10:56:35 normalization > 10:55:43.259229 [debug] [Thread-4 ]: Began running node model.airbyte_utils.TICKET_AUDITS 2022-04-22 10:56:35 normalization > 10:55:43.259553 [info ] [Thread-4 ]: 35 of 95 START incremental model ZENDESK_SUPPORT.TICKET_AUDITS.......................................................... [RUN] 2022-04-22 10:56:35 normalization > 10:55:43.260505 [debug] [Thread-4 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS" 2022-04-22 10:56:35 normalization > 10:55:43.260944 [debug] [Thread-4 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS 2022-04-22 10:56:35 normalization > 10:55:43.261188 [debug] [Thread-4 ]: Compiling model.airbyte_utils.TICKET_AUDITS 2022-04-22 10:56:35 normalization > 10:55:43.277381 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS" 2022-04-22 10:56:35 normalization > 10:55:43.277634 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_AUDITS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS" 2022-04-22 10:56:35 normalization > 10:55:43.277743 [debug] [Thread-4 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:55:43.290016 [debug] [Thread-1 ]: SQL status: SUCCESS 15 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:55:43.299387 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.MACROS" 2022-04-22 10:56:35 normalization > 10:55:43.299879 [debug] [Thread-1 ]: On model.airbyte_utils.MACROS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.MACROS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace temporary table "AIRBYTE_DB".ZENDESK_SUPPORT."MACROS__dbt_tmp" as 2022-04-22 10:56:35 normalization > (select * from( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- Final base SQL model 2022-04-22 10:56:35 normalization > -- depends_on: "AIRBYTE_DB".ZENDESK_SUPPORT."MACROS_SCD" 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_UNIQUE_KEY, 2022-04-22 10:56:35 normalization > ID, 2022-04-22 10:56:35 normalization > URL, 2022-04-22 10:56:35 normalization > TITLE, 2022-04-22 10:56:35 normalization > ACTIVE, 2022-04-22 10:56:35 normalization > ACTIONS, 2022-04-22 10:56:35 normalization > POSITION, 2022-04-22 10:56:35 normalization > CREATED_AT, 2022-04-22 10:56:35 normalization > UPDATED_AT, 2022-04-22 10:56:35 normalization > DESCRIPTION, 2022-04-22 10:56:35 normalization > RESTRICTION, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_MACROS_HASHID 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."MACROS_SCD" 2022-04-22 10:56:35 normalization > -- MACROS from "AIRBYTE_DB".ZENDESK_SUPPORT._AIRBYTE_RAW_MACROS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > and _AIRBYTE_ACTIVE_ROW = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > and cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) >= 2022-04-22 10:56:35 normalization > cast('2022-04-09 03:01:32.277000-07:00' as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ) order by (_AIRBYTE_UNIQUE_KEY, _AIRBYTE_EMITTED_AT) 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:55:43.312101 [debug] [Thread-2 ]: SQL status: SUCCESS 20 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:55:43.340317 [debug] [Thread-5 ]: SQL status: SUCCESS 1 in 0.12 seconds 2022-04-22 10:56:35 normalization > 10:55:43.355307 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.ORGANIZATIONS" 2022-04-22 10:56:35 normalization > 10:55:43.361032 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.USERS_SCD" 2022-04-22 10:56:35 normalization > 10:55:43.381492 [debug] [Thread-2 ]: On model.airbyte_utils.ORGANIZATIONS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.ORGANIZATIONS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace temporary table "AIRBYTE_DB".ZENDESK_SUPPORT."ORGANIZATIONS__dbt_tmp" as 2022-04-22 10:56:35 normalization > (select * from( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- Final base SQL model 2022-04-22 10:56:35 normalization > -- depends_on: "AIRBYTE_DB".ZENDESK_SUPPORT."ORGANIZATIONS_SCD" 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_UNIQUE_KEY, 2022-04-22 10:56:35 normalization > ID, 2022-04-22 10:56:35 normalization > URL, 2022-04-22 10:56:35 normalization > NAME, 2022-04-22 10:56:35 normalization > TAGS, 2022-04-22 10:56:35 normalization > NOTES, 2022-04-22 10:56:35 normalization > DETAILS, 2022-04-22 10:56:35 normalization > GROUP_ID, 2022-04-22 10:56:35 normalization > CREATED_AT, 2022-04-22 10:56:35 normalization > DELETED_AT, 2022-04-22 10:56:35 normalization > UPDATED_AT, 2022-04-22 10:56:35 normalization > EXTERNAL_ID, 2022-04-22 10:56:35 normalization > DOMAIN_NAMES, 2022-04-22 10:56:35 normalization > SHARED_TICKETS, 2022-04-22 10:56:35 normalization > SHARED_COMMENTS, 2022-04-22 10:56:35 normalization > ORGANIZATION_FIELDS, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_ORGANIZATIONS_HASHID 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."ORGANIZATIONS_SCD" 2022-04-22 10:56:35 normalization > -- ORGANIZATIONS from "AIRBYTE_DB".ZENDESK_SUPPORT._AIRBYTE_RAW_ORGANIZATIONS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > and _AIRBYTE_ACTIVE_ROW = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > and cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) >= 2022-04-22 10:56:35 normalization > cast('2022-04-21 22:53:24.995000-07:00' as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ) order by (_AIRBYTE_UNIQUE_KEY, _AIRBYTE_EMITTED_AT) 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:55:43.407558 [debug] [Thread-5 ]: On model.airbyte_utils.USERS_SCD: merge into "AIRBYTE_DB".ZENDESK_SUPPORT."USERS_SCD" as DBT_INTERNAL_DEST 2022-04-22 10:56:35 normalization > using "AIRBYTE_DB".ZENDESK_SUPPORT."USERS_SCD__dbt_tmp" as DBT_INTERNAL_SOURCE 2022-04-22 10:56:35 normalization > on 2022-04-22 10:56:35 normalization > DBT_INTERNAL_SOURCE._AIRBYTE_UNIQUE_KEY_SCD = DBT_INTERNAL_DEST._AIRBYTE_UNIQUE_KEY_SCD 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > when matched then update set 2022-04-22 10:56:35 normalization > "_AIRBYTE_UNIQUE_KEY" = DBT_INTERNAL_SOURCE."_AIRBYTE_UNIQUE_KEY","_AIRBYTE_UNIQUE_KEY_SCD" = DBT_INTERNAL_SOURCE."_AIRBYTE_UNIQUE_KEY_SCD","ID" = DBT_INTERNAL_SOURCE."ID","URL" = DBT_INTERNAL_SOURCE."URL","NAME" = DBT_INTERNAL_SOURCE."NAME","ROLE" = DBT_INTERNAL_SOURCE."ROLE","TAGS" = DBT_INTERNAL_SOURCE."TAGS","ALIAS" = DBT_INTERNAL_SOURCE."ALIAS","EMAIL" = DBT_INTERNAL_SOURCE."EMAIL","NOTES" = DBT_INTERNAL_SOURCE."NOTES","PHONE" = DBT_INTERNAL_SOURCE."PHONE","PHOTO" = DBT_INTERNAL_SOURCE."PHOTO","ACTIVE" = DBT_INTERNAL_SOURCE."ACTIVE","LOCALE" = DBT_INTERNAL_SOURCE."LOCALE","SHARED" = DBT_INTERNAL_SOURCE."SHARED","DETAILS" = DBT_INTERNAL_SOURCE."DETAILS","VERIFIED" = DBT_INTERNAL_SOURCE."VERIFIED","CHAT_ONLY" = DBT_INTERNAL_SOURCE."CHAT_ONLY","LOCALE_ID" = DBT_INTERNAL_SOURCE."LOCALE_ID","MODERATOR" = DBT_INTERNAL_SOURCE."MODERATOR","ROLE_TYPE" = DBT_INTERNAL_SOURCE."ROLE_TYPE","SIGNATURE" = DBT_INTERNAL_SOURCE."SIGNATURE","SUSPENDED" = DBT_INTERNAL_SOURCE."SUSPENDED","TIME_ZONE" = DBT_INTERNAL_SOURCE."TIME_ZONE","CREATED_AT" = DBT_INTERNAL_SOURCE."CREATED_AT","REPORT_CSV" = DBT_INTERNAL_SOURCE."REPORT_CSV","UPDATED_AT" = DBT_INTERNAL_SOURCE."UPDATED_AT","EXTERNAL_ID" = DBT_INTERNAL_SOURCE."EXTERNAL_ID","USER_FIELDS" = DBT_INTERNAL_SOURCE."USER_FIELDS","SHARED_AGENT" = DBT_INTERNAL_SOURCE."SHARED_AGENT","LAST_LOGIN_AT" = DBT_INTERNAL_SOURCE."LAST_LOGIN_AT","CUSTOM_ROLE_ID" = DBT_INTERNAL_SOURCE."CUSTOM_ROLE_ID","ORGANIZATION_ID" = DBT_INTERNAL_SOURCE."ORGANIZATION_ID","DEFAULT_GROUP_ID" = DBT_INTERNAL_SOURCE."DEFAULT_GROUP_ID","RESTRICTED_AGENT" = DBT_INTERNAL_SOURCE."RESTRICTED_AGENT","TICKET_RESTRICTION" = DBT_INTERNAL_SOURCE."TICKET_RESTRICTION","PERMANENTLY_DELETED" = DBT_INTERNAL_SOURCE."PERMANENTLY_DELETED","SHARED_PHONE_NUMBER" = DBT_INTERNAL_SOURCE."SHARED_PHONE_NUMBER","ONLY_PRIVATE_COMMENTS" = DBT_INTERNAL_SOURCE."ONLY_PRIVATE_COMMENTS","TWO_FACTOR_AUTH_ENABLED" = DBT_INTERNAL_SOURCE."TWO_FACTOR_AUTH_ENABLED","_AIRBYTE_START_AT" = DBT_INTERNAL_SOURCE."_AIRBYTE_START_AT","_AIRBYTE_END_AT" = DBT_INTERNAL_SOURCE."_AIRBYTE_END_AT","_AIRBYTE_ACTIVE_ROW" = DBT_INTERNAL_SOURCE."_AIRBYTE_ACTIVE_ROW","_AIRBYTE_AB_ID" = DBT_INTERNAL_SOURCE."_AIRBYTE_AB_ID","_AIRBYTE_EMITTED_AT" = DBT_INTERNAL_SOURCE."_AIRBYTE_EMITTED_AT","_AIRBYTE_NORMALIZED_AT" = DBT_INTERNAL_SOURCE."_AIRBYTE_NORMALIZED_AT","_AIRBYTE_USERS_HASHID" = DBT_INTERNAL_SOURCE."_AIRBYTE_USERS_HASHID" 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > when not matched then insert 2022-04-22 10:56:35 normalization > ("_AIRBYTE_UNIQUE_KEY", "_AIRBYTE_UNIQUE_KEY_SCD", "ID", "URL", "NAME", "ROLE", "TAGS", "ALIAS", "EMAIL", "NOTES", "PHONE", "PHOTO", "ACTIVE", "LOCALE", "SHARED", "DETAILS", "VERIFIED", "CHAT_ONLY", "LOCALE_ID", "MODERATOR", "ROLE_TYPE", "SIGNATURE", "SUSPENDED", "TIME_ZONE", "CREATED_AT", "REPORT_CSV", "UPDATED_AT", "EXTERNAL_ID", "USER_FIELDS", "SHARED_AGENT", "LAST_LOGIN_AT", "CUSTOM_ROLE_ID", "ORGANIZATION_ID", "DEFAULT_GROUP_ID", "RESTRICTED_AGENT", "TICKET_RESTRICTION", "PERMANENTLY_DELETED", "SHARED_PHONE_NUMBER", "ONLY_PRIVATE_COMMENTS", "TWO_FACTOR_AUTH_ENABLED", "_AIRBYTE_START_AT", "_AIRBYTE_END_AT", "_AIRBYTE_ACTIVE_ROW", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_USERS_HASHID") 2022-04-22 10:56:35 normalization > values 2022-04-22 10:56:35 normalization > ("_AIRBYTE_UNIQUE_KEY", "_AIRBYTE_UNIQUE_KEY_SCD", "ID", "URL", "NAME", "ROLE", "TAGS", "ALIAS", "EMAIL", "NOTES", "PHONE", "PHOTO", "ACTIVE", "LOCALE", "SHARED", "DETAILS", "VERIFIED", "CHAT_ONLY", "LOCALE_ID", "MODERATOR", "ROLE_TYPE", "SIGNATURE", "SUSPENDED", "TIME_ZONE", "CREATED_AT", "REPORT_CSV", "UPDATED_AT", "EXTERNAL_ID", "USER_FIELDS", "SHARED_AGENT", "LAST_LOGIN_AT", "CUSTOM_ROLE_ID", "ORGANIZATION_ID", "DEFAULT_GROUP_ID", "RESTRICTED_AGENT", "TICKET_RESTRICTION", "PERMANENTLY_DELETED", "SHARED_PHONE_NUMBER", "ONLY_PRIVATE_COMMENTS", "TWO_FACTOR_AUTH_ENABLED", "_AIRBYTE_START_AT", "_AIRBYTE_END_AT", "_AIRBYTE_ACTIVE_ROW", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_USERS_HASHID") 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ; 2022-04-22 10:56:35 normalization > 10:55:43.480244 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 0.66 seconds 2022-04-22 10:56:35 normalization > 10:55:43.484504 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.SATISFACTION_RATINGS" 2022-04-22 10:56:35 normalization > 10:55:43.484830 [debug] [Thread-3 ]: On model.airbyte_utils.SATISFACTION_RATINGS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.SATISFACTION_RATINGS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."SATISFACTION_RATINGS__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:55:43.572810 [debug] [Thread-3 ]: SQL status: SUCCESS 17 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:55:43.578267 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.SATISFACTION_RATINGS" 2022-04-22 10:56:35 normalization > 10:55:43.578488 [debug] [Thread-3 ]: On model.airbyte_utils.SATISFACTION_RATINGS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.SATISFACTION_RATINGS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."SATISFACTION_RATINGS" 2022-04-22 10:56:35 normalization > 10:55:43.638332 [debug] [Thread-3 ]: SQL status: SUCCESS 17 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:55:43.644012 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.SATISFACTION_RATINGS" 2022-04-22 10:56:35 normalization > 10:55:43.644232 [debug] [Thread-3 ]: On model.airbyte_utils.SATISFACTION_RATINGS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.SATISFACTION_RATINGS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."SATISFACTION_RATINGS__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:55:43.701560 [debug] [Thread-3 ]: SQL status: SUCCESS 17 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:55:43.712454 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.SATISFACTION_RATINGS" 2022-04-22 10:56:35 normalization > 10:55:43.712749 [debug] [Thread-3 ]: On model.airbyte_utils.SATISFACTION_RATINGS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.SATISFACTION_RATINGS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"."ZENDESK_SUPPORT"."SATISFACTION_RATINGS" 2022-04-22 10:56:35 normalization > 10:55:43.758820 [debug] [Thread-4 ]: SQL status: SUCCESS 12 in 0.48 seconds 2022-04-22 10:56:35 normalization > 10:55:43.768860 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS" 2022-04-22 10:56:35 normalization > 10:55:43.769153 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_AUDITS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS" 2022-04-22 10:56:35 normalization > 10:55:43.781429 [debug] [Thread-3 ]: SQL status: SUCCESS 17 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:55:43.785818 [debug] [Thread-3 ]: 2022-04-22 10:56:35 normalization > In "AIRBYTE_DB"."ZENDESK_SUPPORT"."SATISFACTION_RATINGS": 2022-04-22 10:56:35 normalization > Schema changed: False 2022-04-22 10:56:35 normalization > Source columns not in target: [] 2022-04-22 10:56:35 normalization > Target columns not in source: [] 2022-04-22 10:56:35 normalization > New column types: [] 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 10:55:43.787741 [debug] [Thread-3 ]: Writing runtime SQL for node "model.airbyte_utils.SATISFACTION_RATINGS" 2022-04-22 10:56:35 normalization > 10:55:43.789388 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.SATISFACTION_RATINGS" 2022-04-22 10:56:35 normalization > 10:55:43.789531 [debug] [Thread-3 ]: On model.airbyte_utils.SATISFACTION_RATINGS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.SATISFACTION_RATINGS"} */ 2022-04-22 10:56:35 normalization > begin; 2022-04-22 10:56:35 normalization > 10:55:43.832221 [debug] [Thread-4 ]: SQL status: SUCCESS 12 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:55:43.835199 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS" 2022-04-22 10:56:35 normalization > 10:55:43.835382 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_AUDITS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS" 2022-04-22 10:56:35 normalization > 10:55:43.862731 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:55:43.863096 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.SATISFACTION_RATINGS" 2022-04-22 10:56:35 normalization > 10:55:43.863211 [debug] [Thread-3 ]: On model.airbyte_utils.SATISFACTION_RATINGS: merge into "AIRBYTE_DB".ZENDESK_SUPPORT."SATISFACTION_RATINGS" as DBT_INTERNAL_DEST 2022-04-22 10:56:35 normalization > using "AIRBYTE_DB".ZENDESK_SUPPORT."SATISFACTION_RATINGS__dbt_tmp" as DBT_INTERNAL_SOURCE 2022-04-22 10:56:35 normalization > on 2022-04-22 10:56:35 normalization > DBT_INTERNAL_SOURCE._AIRBYTE_UNIQUE_KEY = DBT_INTERNAL_DEST._AIRBYTE_UNIQUE_KEY 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > when matched then update set 2022-04-22 10:56:35 normalization > "_AIRBYTE_UNIQUE_KEY" = DBT_INTERNAL_SOURCE."_AIRBYTE_UNIQUE_KEY","ID" = DBT_INTERNAL_SOURCE."ID","URL" = DBT_INTERNAL_SOURCE."URL","SCORE" = DBT_INTERNAL_SOURCE."SCORE","REASON" = DBT_INTERNAL_SOURCE."REASON","COMMENT" = DBT_INTERNAL_SOURCE."COMMENT","GROUP_ID" = DBT_INTERNAL_SOURCE."GROUP_ID","REASON_ID" = DBT_INTERNAL_SOURCE."REASON_ID","TICKET_ID" = DBT_INTERNAL_SOURCE."TICKET_ID","CREATED_AT" = DBT_INTERNAL_SOURCE."CREATED_AT","UPDATED_AT" = DBT_INTERNAL_SOURCE."UPDATED_AT","ASSIGNEE_ID" = DBT_INTERNAL_SOURCE."ASSIGNEE_ID","REQUESTER_ID" = DBT_INTERNAL_SOURCE."REQUESTER_ID","_AIRBYTE_AB_ID" = DBT_INTERNAL_SOURCE."_AIRBYTE_AB_ID","_AIRBYTE_EMITTED_AT" = DBT_INTERNAL_SOURCE."_AIRBYTE_EMITTED_AT","_AIRBYTE_NORMALIZED_AT" = DBT_INTERNAL_SOURCE."_AIRBYTE_NORMALIZED_AT","_AIRBYTE_SATISFACTION_RATINGS_HASHID" = DBT_INTERNAL_SOURCE."_AIRBYTE_SATISFACTION_RATINGS_HASHID" 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > when not matched then insert 2022-04-22 10:56:35 normalization > ("_AIRBYTE_UNIQUE_KEY", "ID", "URL", "SCORE", "REASON", "COMMENT", "GROUP_ID", "REASON_ID", "TICKET_ID", "CREATED_AT", "UPDATED_AT", "ASSIGNEE_ID", "REQUESTER_ID", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_SATISFACTION_RATINGS_HASHID") 2022-04-22 10:56:35 normalization > values 2022-04-22 10:56:35 normalization > ("_AIRBYTE_UNIQUE_KEY", "ID", "URL", "SCORE", "REASON", "COMMENT", "GROUP_ID", "REASON_ID", "TICKET_ID", "CREATED_AT", "UPDATED_AT", "ASSIGNEE_ID", "REQUESTER_ID", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_SATISFACTION_RATINGS_HASHID") 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ; 2022-04-22 10:56:35 normalization > 10:55:44.055834 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 0.76 seconds 2022-04-22 10:56:35 normalization > 10:55:44.060446 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.MACROS" 2022-04-22 10:56:35 normalization > 10:55:44.060669 [debug] [Thread-1 ]: On model.airbyte_utils.MACROS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.MACROS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."MACROS__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:55:44.145359 [debug] [Thread-1 ]: SQL status: SUCCESS 15 in 0.08 seconds 2022-04-22 10:56:35 normalization > 10:55:44.150767 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.MACROS" 2022-04-22 10:56:35 normalization > 10:55:44.151185 [debug] [Thread-1 ]: On model.airbyte_utils.MACROS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.MACROS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."MACROS" 2022-04-22 10:56:35 normalization > 10:55:44.221928 [debug] [Thread-4 ]: SQL status: SUCCESS 1 in 0.39 seconds 2022-04-22 10:56:35 normalization > 10:55:44.232390 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS" 2022-04-22 10:56:35 normalization > 10:55:44.232636 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_AUDITS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS" 2022-04-22 10:56:35 normalization > 10:55:44.235897 [debug] [Thread-1 ]: SQL status: SUCCESS 15 in 0.08 seconds 2022-04-22 10:56:35 normalization > 10:55:44.241005 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.MACROS" 2022-04-22 10:56:35 normalization > 10:55:44.241249 [debug] [Thread-1 ]: On model.airbyte_utils.MACROS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.MACROS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."MACROS__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:55:44.243540 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 0.81 seconds 2022-04-22 10:56:35 normalization > 10:55:44.250871 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.ORGANIZATIONS" 2022-04-22 10:56:35 normalization > 10:55:44.251110 [debug] [Thread-2 ]: On model.airbyte_utils.ORGANIZATIONS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.ORGANIZATIONS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."ORGANIZATIONS__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:55:44.282618 [debug] [Thread-4 ]: SQL status: SUCCESS 12 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:55:44.285779 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS" 2022-04-22 10:56:35 normalization > 10:55:44.286017 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_AUDITS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS" 2022-04-22 10:56:35 normalization > 10:55:44.315205 [debug] [Thread-1 ]: SQL status: SUCCESS 15 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:55:44.321290 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.MACROS" 2022-04-22 10:56:35 normalization > 10:55:44.321511 [debug] [Thread-1 ]: On model.airbyte_utils.MACROS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.MACROS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"."ZENDESK_SUPPORT"."MACROS" 2022-04-22 10:56:35 normalization > 10:55:44.324687 [debug] [Thread-2 ]: SQL status: SUCCESS 20 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:55:44.329817 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.ORGANIZATIONS" 2022-04-22 10:56:35 normalization > 10:55:44.330123 [debug] [Thread-2 ]: On model.airbyte_utils.ORGANIZATIONS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.ORGANIZATIONS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."ORGANIZATIONS" 2022-04-22 10:56:35 normalization > 10:55:44.354994 [debug] [Thread-4 ]: SQL status: SUCCESS 1 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:55:44.357325 [debug] [Thread-4 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS" 2022-04-22 10:56:35 normalization > 10:55:44.357667 [debug] [Thread-4 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:44.357815 [debug] [Thread-4 ]: Began executing node model.airbyte_utils.TICKET_AUDITS 2022-04-22 10:56:35 normalization > 10:55:44.363598 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS" 2022-04-22 10:56:35 normalization > 10:55:44.363771 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_AUDITS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS" 2022-04-22 10:56:35 normalization > 10:55:44.379283 [debug] [Thread-1 ]: SQL status: SUCCESS 15 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:55:44.384303 [debug] [Thread-1 ]: 2022-04-22 10:56:35 normalization > In "AIRBYTE_DB"."ZENDESK_SUPPORT"."MACROS": 2022-04-22 10:56:35 normalization > Schema changed: False 2022-04-22 10:56:35 normalization > Source columns not in target: [] 2022-04-22 10:56:35 normalization > Target columns not in source: [] 2022-04-22 10:56:35 normalization > New column types: [] 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 10:55:44.386505 [debug] [Thread-1 ]: Writing runtime SQL for node "model.airbyte_utils.MACROS" 2022-04-22 10:56:35 normalization > 10:55:44.388460 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.MACROS" 2022-04-22 10:56:35 normalization > 10:55:44.389888 [debug] [Thread-2 ]: SQL status: SUCCESS 20 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:55:44.390075 [debug] [Thread-1 ]: On model.airbyte_utils.MACROS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.MACROS"} */ 2022-04-22 10:56:35 normalization > begin; 2022-04-22 10:56:35 normalization > 10:55:44.398659 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.ORGANIZATIONS" 2022-04-22 10:56:35 normalization > 10:55:44.400070 [debug] [Thread-2 ]: On model.airbyte_utils.ORGANIZATIONS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.ORGANIZATIONS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."ORGANIZATIONS__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:55:44.417441 [debug] [Thread-4 ]: SQL status: SUCCESS 12 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:55:44.428048 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS" 2022-04-22 10:56:35 normalization > 10:55:44.428317 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_AUDITS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace temporary table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS__dbt_tmp" as 2022-04-22 10:56:35 normalization > (select * from( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- Final base SQL model 2022-04-22 10:56:35 normalization > -- depends_on: "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_SCD" 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_UNIQUE_KEY, 2022-04-22 10:56:35 normalization > ID, 2022-04-22 10:56:35 normalization > VIA, 2022-04-22 10:56:35 normalization > EVENTS, 2022-04-22 10:56:35 normalization > METADATA, 2022-04-22 10:56:35 normalization > AUTHOR_ID, 2022-04-22 10:56:35 normalization > TICKET_ID, 2022-04-22 10:56:35 normalization > CREATED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_TICKET_AUDITS_HASHID 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_SCD" 2022-04-22 10:56:35 normalization > -- TICKET_AUDITS from "AIRBYTE_DB".ZENDESK_SUPPORT._AIRBYTE_RAW_TICKET_AUDITS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > and _AIRBYTE_ACTIVE_ROW = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > and cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) >= 2022-04-22 10:56:35 normalization > cast('2022-04-22 10:47:49.699000-07:00' as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ) order by (_AIRBYTE_UNIQUE_KEY, _AIRBYTE_EMITTED_AT) 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:55:44.453009 [debug] [Thread-2 ]: SQL status: SUCCESS 20 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:55:44.464406 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.ORGANIZATIONS" 2022-04-22 10:56:35 normalization > 10:55:44.464663 [debug] [Thread-2 ]: On model.airbyte_utils.ORGANIZATIONS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.ORGANIZATIONS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"."ZENDESK_SUPPORT"."ORGANIZATIONS" 2022-04-22 10:56:35 normalization > 10:55:44.506932 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 0.11 seconds 2022-04-22 10:56:35 normalization > 10:55:44.507314 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.MACROS" 2022-04-22 10:56:35 normalization > 10:55:44.507427 [debug] [Thread-1 ]: On model.airbyte_utils.MACROS: merge into "AIRBYTE_DB".ZENDESK_SUPPORT."MACROS" as DBT_INTERNAL_DEST 2022-04-22 10:56:35 normalization > using "AIRBYTE_DB".ZENDESK_SUPPORT."MACROS__dbt_tmp" as DBT_INTERNAL_SOURCE 2022-04-22 10:56:35 normalization > on 2022-04-22 10:56:35 normalization > DBT_INTERNAL_SOURCE._AIRBYTE_UNIQUE_KEY = DBT_INTERNAL_DEST._AIRBYTE_UNIQUE_KEY 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > when matched then update set 2022-04-22 10:56:35 normalization > "_AIRBYTE_UNIQUE_KEY" = DBT_INTERNAL_SOURCE."_AIRBYTE_UNIQUE_KEY","ID" = DBT_INTERNAL_SOURCE."ID","URL" = DBT_INTERNAL_SOURCE."URL","TITLE" = DBT_INTERNAL_SOURCE."TITLE","ACTIVE" = DBT_INTERNAL_SOURCE."ACTIVE","ACTIONS" = DBT_INTERNAL_SOURCE."ACTIONS","POSITION" = DBT_INTERNAL_SOURCE."POSITION","CREATED_AT" = DBT_INTERNAL_SOURCE."CREATED_AT","UPDATED_AT" = DBT_INTERNAL_SOURCE."UPDATED_AT","DESCRIPTION" = DBT_INTERNAL_SOURCE."DESCRIPTION","RESTRICTION" = DBT_INTERNAL_SOURCE."RESTRICTION","_AIRBYTE_AB_ID" = DBT_INTERNAL_SOURCE."_AIRBYTE_AB_ID","_AIRBYTE_EMITTED_AT" = DBT_INTERNAL_SOURCE."_AIRBYTE_EMITTED_AT","_AIRBYTE_NORMALIZED_AT" = DBT_INTERNAL_SOURCE."_AIRBYTE_NORMALIZED_AT","_AIRBYTE_MACROS_HASHID" = DBT_INTERNAL_SOURCE."_AIRBYTE_MACROS_HASHID" 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > when not matched then insert 2022-04-22 10:56:35 normalization > ("_AIRBYTE_UNIQUE_KEY", "ID", "URL", "TITLE", "ACTIVE", "ACTIONS", "POSITION", "CREATED_AT", "UPDATED_AT", "DESCRIPTION", "RESTRICTION", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_MACROS_HASHID") 2022-04-22 10:56:35 normalization > values 2022-04-22 10:56:35 normalization > ("_AIRBYTE_UNIQUE_KEY", "ID", "URL", "TITLE", "ACTIVE", "ACTIONS", "POSITION", "CREATED_AT", "UPDATED_AT", "DESCRIPTION", "RESTRICTION", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_MACROS_HASHID") 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ; 2022-04-22 10:56:35 normalization > 10:55:44.534161 [debug] [Thread-2 ]: SQL status: SUCCESS 20 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:55:44.539718 [debug] [Thread-2 ]: 2022-04-22 10:56:35 normalization > In "AIRBYTE_DB"."ZENDESK_SUPPORT"."ORGANIZATIONS": 2022-04-22 10:56:35 normalization > Schema changed: False 2022-04-22 10:56:35 normalization > Source columns not in target: [] 2022-04-22 10:56:35 normalization > Target columns not in source: [] 2022-04-22 10:56:35 normalization > New column types: [] 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 10:55:44.541793 [debug] [Thread-2 ]: Writing runtime SQL for node "model.airbyte_utils.ORGANIZATIONS" 2022-04-22 10:56:35 normalization > 10:55:44.543726 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.ORGANIZATIONS" 2022-04-22 10:56:35 normalization > 10:55:44.543875 [debug] [Thread-2 ]: On model.airbyte_utils.ORGANIZATIONS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.ORGANIZATIONS"} */ 2022-04-22 10:56:35 normalization > begin; 2022-04-22 10:56:35 normalization > 10:55:44.589184 [debug] [Thread-5 ]: SQL status: SUCCESS 498 in 1.13 seconds 2022-04-22 10:56:35 normalization > 10:55:44.589488 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.USERS_SCD" 2022-04-22 10:56:35 normalization > 10:55:44.589600 [debug] [Thread-5 ]: On model.airbyte_utils.USERS_SCD: commit; 2022-04-22 10:56:35 normalization > 10:55:44.626680 [debug] [Thread-3 ]: SQL status: SUCCESS 5 in 0.76 seconds 2022-04-22 10:56:35 normalization > 10:55:44.627809 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 0.08 seconds 2022-04-22 10:56:35 normalization > 10:55:44.628154 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.SATISFACTION_RATINGS" 2022-04-22 10:56:35 normalization > 10:55:44.628479 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.ORGANIZATIONS" 2022-04-22 10:56:35 normalization > 10:55:44.628671 [debug] [Thread-3 ]: On model.airbyte_utils.SATISFACTION_RATINGS: commit; 2022-04-22 10:56:35 normalization > 10:55:44.628832 [debug] [Thread-2 ]: On model.airbyte_utils.ORGANIZATIONS: merge into "AIRBYTE_DB".ZENDESK_SUPPORT."ORGANIZATIONS" as DBT_INTERNAL_DEST 2022-04-22 10:56:35 normalization > using "AIRBYTE_DB".ZENDESK_SUPPORT."ORGANIZATIONS__dbt_tmp" as DBT_INTERNAL_SOURCE 2022-04-22 10:56:35 normalization > on 2022-04-22 10:56:35 normalization > DBT_INTERNAL_SOURCE._AIRBYTE_UNIQUE_KEY = DBT_INTERNAL_DEST._AIRBYTE_UNIQUE_KEY 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > when matched then update set 2022-04-22 10:56:35 normalization > "_AIRBYTE_UNIQUE_KEY" = DBT_INTERNAL_SOURCE."_AIRBYTE_UNIQUE_KEY","ID" = DBT_INTERNAL_SOURCE."ID","URL" = DBT_INTERNAL_SOURCE."URL","NAME" = DBT_INTERNAL_SOURCE."NAME","TAGS" = DBT_INTERNAL_SOURCE."TAGS","NOTES" = DBT_INTERNAL_SOURCE."NOTES","DETAILS" = DBT_INTERNAL_SOURCE."DETAILS","GROUP_ID" = DBT_INTERNAL_SOURCE."GROUP_ID","CREATED_AT" = DBT_INTERNAL_SOURCE."CREATED_AT","DELETED_AT" = DBT_INTERNAL_SOURCE."DELETED_AT","UPDATED_AT" = DBT_INTERNAL_SOURCE."UPDATED_AT","EXTERNAL_ID" = DBT_INTERNAL_SOURCE."EXTERNAL_ID","DOMAIN_NAMES" = DBT_INTERNAL_SOURCE."DOMAIN_NAMES","SHARED_TICKETS" = DBT_INTERNAL_SOURCE."SHARED_TICKETS","SHARED_COMMENTS" = DBT_INTERNAL_SOURCE."SHARED_COMMENTS","ORGANIZATION_FIELDS" = DBT_INTERNAL_SOURCE."ORGANIZATION_FIELDS","_AIRBYTE_AB_ID" = DBT_INTERNAL_SOURCE."_AIRBYTE_AB_ID","_AIRBYTE_EMITTED_AT" = DBT_INTERNAL_SOURCE."_AIRBYTE_EMITTED_AT","_AIRBYTE_NORMALIZED_AT" = DBT_INTERNAL_SOURCE."_AIRBYTE_NORMALIZED_AT","_AIRBYTE_ORGANIZATIONS_HASHID" = DBT_INTERNAL_SOURCE."_AIRBYTE_ORGANIZATIONS_HASHID" 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > when not matched then insert 2022-04-22 10:56:35 normalization > ("_AIRBYTE_UNIQUE_KEY", "ID", "URL", "NAME", "TAGS", "NOTES", "DETAILS", "GROUP_ID", "CREATED_AT", "DELETED_AT", "UPDATED_AT", "EXTERNAL_ID", "DOMAIN_NAMES", "SHARED_TICKETS", "SHARED_COMMENTS", "ORGANIZATION_FIELDS", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_ORGANIZATIONS_HASHID") 2022-04-22 10:56:35 normalization > values 2022-04-22 10:56:35 normalization > ("_AIRBYTE_UNIQUE_KEY", "ID", "URL", "NAME", "TAGS", "NOTES", "DETAILS", "GROUP_ID", "CREATED_AT", "DELETED_AT", "UPDATED_AT", "EXTERNAL_ID", "DOMAIN_NAMES", "SHARED_TICKETS", "SHARED_COMMENTS", "ORGANIZATION_FIELDS", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_ORGANIZATIONS_HASHID") 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ; 2022-04-22 10:56:35 normalization > 10:55:44.841308 [debug] [Thread-5 ]: SQL status: SUCCESS 1 in 0.25 seconds 2022-04-22 10:56:35 normalization > 10:55:44.843285 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.USERS_SCD" 2022-04-22 10:56:35 normalization > 10:55:44.843463 [debug] [Thread-5 ]: On model.airbyte_utils.USERS_SCD: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.USERS_SCD"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > drop view _AIRBYTE_ZENDESK_SUPPORT.USERS_STG 2022-04-22 10:56:35 normalization > 10:55:44.884949 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 0.26 seconds 2022-04-22 10:56:35 normalization > 10:55:44.888348 [debug] [Thread-3 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:44.888580 [debug] [Thread-3 ]: On model.airbyte_utils.SATISFACTION_RATINGS: Close 2022-04-22 10:56:35 normalization > 10:55:44.925212 [debug] [Thread-5 ]: SQL status: SUCCESS 1 in 0.08 seconds 2022-04-22 10:56:35 normalization > 10:55:44.931577 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:44.932060 [debug] [Thread-5 ]: On model.airbyte_utils.USERS_SCD: Close 2022-04-22 10:56:35 normalization > 10:55:45.015343 [info ] [Thread-3 ]: 32 of 95 OK created incremental model ZENDESK_SUPPORT.SATISFACTION_RATINGS.............................................. [SUCCESS 1 in 3.44s] 2022-04-22 10:56:35 normalization > 10:55:45.015868 [debug] [Thread-3 ]: Finished running node model.airbyte_utils.SATISFACTION_RATINGS 2022-04-22 10:56:35 normalization > 10:55:45.016179 [debug] [Thread-3 ]: Began running node model.airbyte_utils.TICKET_AUDITS_EVENTS_AB1 2022-04-22 10:56:35 normalization > 10:55:45.017140 [debug] [Thread-3 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_AB1" 2022-04-22 10:56:35 normalization > 10:55:45.017313 [debug] [Thread-3 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS_EVENTS_AB1 2022-04-22 10:56:35 normalization > 10:55:45.017439 [debug] [Thread-3 ]: Compiling model.airbyte_utils.TICKET_AUDITS_EVENTS_AB1 2022-04-22 10:56:35 normalization > 10:55:45.051260 [debug] [Thread-3 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS_EVENTS_AB1" 2022-04-22 10:56:35 normalization > 10:55:45.051709 [debug] [Thread-3 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:45.052151 [debug] [Thread-3 ]: Finished running node model.airbyte_utils.TICKET_AUDITS_EVENTS_AB1 2022-04-22 10:56:35 normalization > 10:55:45.052356 [debug] [Thread-3 ]: Began running node model.airbyte_utils.TICKET_AUDITS_METADATA_AB1 2022-04-22 10:56:35 normalization > 10:55:45.052666 [debug] [Thread-3 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_AB1" 2022-04-22 10:56:35 normalization > 10:55:45.053310 [debug] [Thread-3 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS_METADATA_AB1 2022-04-22 10:56:35 normalization > 10:55:45.053465 [debug] [Thread-3 ]: Compiling model.airbyte_utils.TICKET_AUDITS_METADATA_AB1 2022-04-22 10:56:35 normalization > 10:55:45.064710 [debug] [Thread-3 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS_METADATA_AB1" 2022-04-22 10:56:35 normalization > 10:55:45.065158 [debug] [Thread-3 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:45.065663 [debug] [Thread-3 ]: Finished running node model.airbyte_utils.TICKET_AUDITS_METADATA_AB1 2022-04-22 10:56:35 normalization > 10:55:45.065863 [debug] [Thread-3 ]: Began running node model.airbyte_utils.TICKET_AUDITS_VIA_AB1 2022-04-22 10:56:35 normalization > 10:55:45.066171 [debug] [Thread-3 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS_VIA_AB1" 2022-04-22 10:56:35 normalization > 10:55:45.066334 [debug] [Thread-3 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS_VIA_AB1 2022-04-22 10:56:35 normalization > 10:55:45.066465 [debug] [Thread-3 ]: Compiling model.airbyte_utils.TICKET_AUDITS_VIA_AB1 2022-04-22 10:56:35 normalization > 10:55:45.077894 [debug] [Thread-3 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS_VIA_AB1" 2022-04-22 10:56:35 normalization > 10:55:45.078364 [debug] [Thread-3 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:45.078758 [debug] [Thread-3 ]: Finished running node model.airbyte_utils.TICKET_AUDITS_VIA_AB1 2022-04-22 10:56:35 normalization > 10:55:45.079090 [debug] [Thread-3 ]: Began running node model.airbyte_utils.TICKET_FORMS 2022-04-22 10:56:35 normalization > 10:55:45.079471 [info ] [Thread-3 ]: 36 of 95 START incremental model ZENDESK_SUPPORT.TICKET_FORMS........................................................... [RUN] 2022-04-22 10:56:35 normalization > 10:55:45.080456 [debug] [Thread-3 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_FORMS" 2022-04-22 10:56:35 normalization > 10:55:45.080713 [debug] [Thread-3 ]: Began compiling node model.airbyte_utils.TICKET_FORMS 2022-04-22 10:56:35 normalization > 10:55:45.082138 [info ] [Thread-5 ]: 29 of 95 OK created incremental model ZENDESK_SUPPORT.USERS_SCD......................................................... [SUCCESS 1 in 7.95s] 2022-04-22 10:56:35 normalization > 10:55:45.082375 [debug] [Thread-3 ]: Compiling model.airbyte_utils.TICKET_FORMS 2022-04-22 10:56:35 normalization > 10:55:45.093683 [debug] [Thread-5 ]: Finished running node model.airbyte_utils.USERS_SCD 2022-04-22 10:56:35 normalization > 10:55:45.097971 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_FORMS" 2022-04-22 10:56:35 normalization > 10:55:45.098359 [debug] [Thread-5 ]: Began running node model.airbyte_utils.TICKET_COMMENTS 2022-04-22 10:56:35 normalization > 10:55:45.098851 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_FORMS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_FORMS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_FORMS" 2022-04-22 10:56:35 normalization > 10:55:45.099339 [info ] [Thread-5 ]: 37 of 95 START incremental model ZENDESK_SUPPORT.TICKET_COMMENTS........................................................ [RUN] 2022-04-22 10:56:35 normalization > 10:55:45.099545 [debug] [Thread-3 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:55:45.101586 [debug] [Thread-5 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_COMMENTS" 2022-04-22 10:56:35 normalization > 10:55:45.102970 [debug] [Thread-5 ]: Began compiling node model.airbyte_utils.TICKET_COMMENTS 2022-04-22 10:56:35 normalization > 10:55:45.103605 [debug] [Thread-5 ]: Compiling model.airbyte_utils.TICKET_COMMENTS 2022-04-22 10:56:35 normalization > 10:55:45.120481 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 0.61 seconds 2022-04-22 10:56:35 normalization > 10:55:45.121153 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS" 2022-04-22 10:56:35 normalization > 10:55:45.121462 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.MACROS" 2022-04-22 10:56:35 normalization > 10:55:45.121660 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_COMMENTS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS" 2022-04-22 10:56:35 normalization > 10:55:45.121831 [debug] [Thread-1 ]: On model.airbyte_utils.MACROS: commit; 2022-04-22 10:56:35 normalization > 10:55:45.122188 [debug] [Thread-5 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:55:45.373420 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 0.74 seconds 2022-04-22 10:56:35 normalization > 10:55:45.388638 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.ORGANIZATIONS" 2022-04-22 10:56:35 normalization > 10:55:45.415991 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 0.29 seconds 2022-04-22 10:56:35 normalization > 10:55:45.420820 [debug] [Thread-2 ]: On model.airbyte_utils.ORGANIZATIONS: commit; 2022-04-22 10:56:35 normalization > 10:55:45.431082 [debug] [Thread-1 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:45.441481 [debug] [Thread-4 ]: SQL status: SUCCESS 1 in 1.01 seconds 2022-04-22 10:56:35 normalization > 10:55:45.447818 [debug] [Thread-1 ]: On model.airbyte_utils.MACROS: Close 2022-04-22 10:56:35 normalization > 10:55:45.457750 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS" 2022-04-22 10:56:35 normalization > 10:55:45.466279 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_AUDITS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:55:45.556883 [debug] [Thread-4 ]: SQL status: SUCCESS 12 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:55:45.558633 [info ] [Thread-1 ]: 33 of 95 OK created incremental model ZENDESK_SUPPORT.MACROS............................................................ [SUCCESS 1 in 3.69s] 2022-04-22 10:56:35 normalization > 10:55:45.568015 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS" 2022-04-22 10:56:35 normalization > 10:55:45.570550 [debug] [Thread-1 ]: Finished running node model.airbyte_utils.MACROS 2022-04-22 10:56:35 normalization > 10:55:45.574074 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_AUDITS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS" 2022-04-22 10:56:35 normalization > 10:55:45.574560 [debug] [Thread-1 ]: Began running node model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_AB1 2022-04-22 10:56:35 normalization > 10:55:45.578567 [debug] [Thread-1 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_AB1" 2022-04-22 10:56:35 normalization > 10:55:45.578872 [debug] [Thread-1 ]: Began compiling node model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_AB1 2022-04-22 10:56:35 normalization > 10:55:45.580428 [debug] [Thread-1 ]: Compiling model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_AB1 2022-04-22 10:56:35 normalization > 10:55:45.603113 [debug] [Thread-1 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_AB1" 2022-04-22 10:56:35 normalization > 10:55:45.603902 [debug] [Thread-1 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:45.604406 [debug] [Thread-1 ]: Finished running node model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_AB1 2022-04-22 10:56:35 normalization > 10:55:45.604696 [debug] [Thread-1 ]: Began running node model.airbyte_utils.TICKET_COMMENTS_METADATA_AB1 2022-04-22 10:56:35 normalization > 10:55:45.605491 [debug] [Thread-1 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_AB1" 2022-04-22 10:56:35 normalization > 10:55:45.605706 [debug] [Thread-1 ]: Began compiling node model.airbyte_utils.TICKET_COMMENTS_METADATA_AB1 2022-04-22 10:56:35 normalization > 10:55:45.606066 [debug] [Thread-1 ]: Compiling model.airbyte_utils.TICKET_COMMENTS_METADATA_AB1 2022-04-22 10:56:35 normalization > 10:55:45.621093 [debug] [Thread-1 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_COMMENTS_METADATA_AB1" 2022-04-22 10:56:35 normalization > 10:55:45.621739 [debug] [Thread-1 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:45.622248 [debug] [Thread-1 ]: Finished running node model.airbyte_utils.TICKET_COMMENTS_METADATA_AB1 2022-04-22 10:56:35 normalization > 10:55:45.622490 [debug] [Thread-1 ]: Began running node model.airbyte_utils.TICKET_COMMENTS_VIA_AB1 2022-04-22 10:56:35 normalization > 10:55:45.623480 [debug] [Thread-1 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_COMMENTS_VIA_AB1" 2022-04-22 10:56:35 normalization > 10:55:45.623899 [debug] [Thread-1 ]: Began compiling node model.airbyte_utils.TICKET_COMMENTS_VIA_AB1 2022-04-22 10:56:35 normalization > 10:55:45.624049 [debug] [Thread-1 ]: Compiling model.airbyte_utils.TICKET_COMMENTS_VIA_AB1 2022-04-22 10:56:35 normalization > 10:55:45.632140 [debug] [Thread-1 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_COMMENTS_VIA_AB1" 2022-04-22 10:56:35 normalization > 10:55:45.633122 [debug] [Thread-1 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:45.633594 [debug] [Thread-1 ]: Finished running node model.airbyte_utils.TICKET_COMMENTS_VIA_AB1 2022-04-22 10:56:35 normalization > 10:55:45.633826 [debug] [Thread-1 ]: Began running node model.airbyte_utils.TICKET_FIELDS 2022-04-22 10:56:35 normalization > 10:55:45.634363 [info ] [Thread-1 ]: 38 of 95 START incremental model ZENDESK_SUPPORT.TICKET_FIELDS.......................................................... [RUN] 2022-04-22 10:56:35 normalization > 10:55:45.635114 [debug] [Thread-1 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_FIELDS" 2022-04-22 10:56:35 normalization > 10:55:45.635401 [debug] [Thread-1 ]: Began compiling node model.airbyte_utils.TICKET_FIELDS 2022-04-22 10:56:35 normalization > 10:55:45.635605 [debug] [Thread-1 ]: Compiling model.airbyte_utils.TICKET_FIELDS 2022-04-22 10:56:35 normalization > 10:55:45.651392 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_FIELDS" 2022-04-22 10:56:35 normalization > 10:55:45.651779 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_FIELDS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_FIELDS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_FIELDS" 2022-04-22 10:56:35 normalization > 10:55:45.652009 [debug] [Thread-1 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:55:45.726006 [debug] [Thread-4 ]: SQL status: SUCCESS 12 in 0.15 seconds 2022-04-22 10:56:35 normalization > 10:55:45.747373 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS" 2022-04-22 10:56:35 normalization > 10:55:45.753086 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_AUDITS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:55:45.872386 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 0.43 seconds 2022-04-22 10:56:35 normalization > 10:55:45.876712 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:45.878143 [debug] [Thread-2 ]: On model.airbyte_utils.ORGANIZATIONS: Close 2022-04-22 10:56:35 normalization > 10:55:45.902470 [debug] [Thread-4 ]: SQL status: SUCCESS 12 in 0.12 seconds 2022-04-22 10:56:35 normalization > 10:55:45.909695 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS" 2022-04-22 10:56:35 normalization > 10:55:45.911917 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_AUDITS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_AUDITS" 2022-04-22 10:56:35 normalization > 10:55:45.941460 [debug] [Thread-5 ]: SQL status: SUCCESS 18 in 0.82 seconds 2022-04-22 10:56:35 normalization > 10:55:45.965672 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS" 2022-04-22 10:56:35 normalization > 10:55:45.967593 [debug] [Thread-4 ]: SQL status: SUCCESS 12 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:55:45.967799 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_COMMENTS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS" 2022-04-22 10:56:35 normalization > 10:55:45.971794 [debug] [Thread-4 ]: 2022-04-22 10:56:35 normalization > In "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_AUDITS": 2022-04-22 10:56:35 normalization > Schema changed: False 2022-04-22 10:56:35 normalization > Source columns not in target: [] 2022-04-22 10:56:35 normalization > Target columns not in source: [] 2022-04-22 10:56:35 normalization > New column types: [] 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 10:55:45.976332 [debug] [Thread-4 ]: Writing runtime SQL for node "model.airbyte_utils.TICKET_AUDITS" 2022-04-22 10:56:35 normalization > 10:55:45.981101 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS" 2022-04-22 10:56:35 normalization > 10:55:45.981533 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_AUDITS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS"} */ 2022-04-22 10:56:35 normalization > begin; 2022-04-22 10:56:35 normalization > 10:55:45.982400 [info ] [Thread-2 ]: 34 of 95 OK created incremental model ZENDESK_SUPPORT.ORGANIZATIONS..................................................... [SUCCESS 1 in 3.88s] 2022-04-22 10:56:35 normalization > 10:55:45.984335 [debug] [Thread-2 ]: Finished running node model.airbyte_utils.ORGANIZATIONS 2022-04-22 10:56:35 normalization > 10:55:45.987216 [debug] [Thread-2 ]: Began running node model.airbyte_utils.TICKET_FIELDS_CUSTOM_FIELD_OPTIONS_AB1 2022-04-22 10:56:35 normalization > 10:55:45.987663 [debug] [Thread-2 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_FIELDS_CUSTOM_FIELD_OPTIONS_AB1" 2022-04-22 10:56:35 normalization > 10:55:45.988933 [debug] [Thread-2 ]: Began compiling node model.airbyte_utils.TICKET_FIELDS_CUSTOM_FIELD_OPTIONS_AB1 2022-04-22 10:56:35 normalization > 10:55:45.989455 [debug] [Thread-2 ]: Compiling model.airbyte_utils.TICKET_FIELDS_CUSTOM_FIELD_OPTIONS_AB1 2022-04-22 10:56:35 normalization > 10:55:46.005389 [debug] [Thread-2 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_FIELDS_CUSTOM_FIELD_OPTIONS_AB1" 2022-04-22 10:56:35 normalization > 10:55:46.007365 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:46.007979 [debug] [Thread-2 ]: Finished running node model.airbyte_utils.TICKET_FIELDS_CUSTOM_FIELD_OPTIONS_AB1 2022-04-22 10:56:35 normalization > 10:55:46.008190 [debug] [Thread-2 ]: Began running node model.airbyte_utils.SCHEDULES_INTERVALS_AB2 2022-04-22 10:56:35 normalization > 10:55:46.008930 [debug] [Thread-2 ]: Acquiring new snowflake connection "model.airbyte_utils.SCHEDULES_INTERVALS_AB2" 2022-04-22 10:56:35 normalization > 10:55:46.009265 [debug] [Thread-2 ]: Began compiling node model.airbyte_utils.SCHEDULES_INTERVALS_AB2 2022-04-22 10:56:35 normalization > 10:55:46.009410 [debug] [Thread-2 ]: Compiling model.airbyte_utils.SCHEDULES_INTERVALS_AB2 2022-04-22 10:56:35 normalization > 10:55:46.020649 [debug] [Thread-2 ]: Writing injected SQL for node "model.airbyte_utils.SCHEDULES_INTERVALS_AB2" 2022-04-22 10:56:35 normalization > 10:55:46.022021 [debug] [Thread-3 ]: SQL status: SUCCESS 20 in 0.92 seconds 2022-04-22 10:56:35 normalization > 10:55:46.033428 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_FORMS" 2022-04-22 10:56:35 normalization > 10:55:46.034723 [debug] [Thread-5 ]: SQL status: SUCCESS 18 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:55:46.034941 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:46.035105 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_FORMS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_FORMS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_FORMS" 2022-04-22 10:56:35 normalization > 10:55:46.038221 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS" 2022-04-22 10:56:35 normalization > 10:55:46.038835 [debug] [Thread-2 ]: Finished running node model.airbyte_utils.SCHEDULES_INTERVALS_AB2 2022-04-22 10:56:35 normalization > 10:55:46.041126 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_COMMENTS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS" 2022-04-22 10:56:35 normalization > 10:55:46.041552 [debug] [Thread-2 ]: Began running node model.airbyte_utils.SLA_POLICIES_FILTER_AB2 2022-04-22 10:56:35 normalization > 10:55:46.042996 [debug] [Thread-2 ]: Acquiring new snowflake connection "model.airbyte_utils.SLA_POLICIES_FILTER_AB2" 2022-04-22 10:56:35 normalization > 10:55:46.044857 [debug] [Thread-2 ]: Began compiling node model.airbyte_utils.SLA_POLICIES_FILTER_AB2 2022-04-22 10:56:35 normalization > 10:55:46.045279 [debug] [Thread-2 ]: Compiling model.airbyte_utils.SLA_POLICIES_FILTER_AB2 2022-04-22 10:56:35 normalization > 10:55:46.057344 [debug] [Thread-2 ]: Writing injected SQL for node "model.airbyte_utils.SLA_POLICIES_FILTER_AB2" 2022-04-22 10:56:35 normalization > 10:55:46.057710 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:46.058118 [debug] [Thread-2 ]: Finished running node model.airbyte_utils.SLA_POLICIES_FILTER_AB2 2022-04-22 10:56:35 normalization > 10:55:46.058300 [debug] [Thread-2 ]: Began running node model.airbyte_utils.SLA_POLICIES_POLICY_METRICS_AB2 2022-04-22 10:56:35 normalization > 10:55:46.058597 [debug] [Thread-2 ]: Acquiring new snowflake connection "model.airbyte_utils.SLA_POLICIES_POLICY_METRICS_AB2" 2022-04-22 10:56:35 normalization > 10:55:46.058743 [debug] [Thread-2 ]: Began compiling node model.airbyte_utils.SLA_POLICIES_POLICY_METRICS_AB2 2022-04-22 10:56:35 normalization > 10:55:46.058869 [debug] [Thread-2 ]: Compiling model.airbyte_utils.SLA_POLICIES_POLICY_METRICS_AB2 2022-04-22 10:56:35 normalization > 10:55:46.071399 [debug] [Thread-2 ]: Writing injected SQL for node "model.airbyte_utils.SLA_POLICIES_POLICY_METRICS_AB2" 2022-04-22 10:56:35 normalization > 10:55:46.073153 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:46.074533 [debug] [Thread-2 ]: Finished running node model.airbyte_utils.SLA_POLICIES_POLICY_METRICS_AB2 2022-04-22 10:56:35 normalization > 10:55:46.075202 [debug] [Thread-2 ]: Began running node model.airbyte_utils.TICKETS 2022-04-22 10:56:35 normalization > 10:55:46.075505 [info ] [Thread-2 ]: 39 of 95 START incremental model ZENDESK_SUPPORT.TICKETS................................................................ [RUN] 2022-04-22 10:56:35 normalization > 10:55:46.076864 [debug] [Thread-2 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKETS" 2022-04-22 10:56:35 normalization > 10:55:46.077095 [debug] [Thread-2 ]: Began compiling node model.airbyte_utils.TICKETS 2022-04-22 10:56:35 normalization > 10:55:46.077334 [debug] [Thread-2 ]: Compiling model.airbyte_utils.TICKETS 2022-04-22 10:56:35 normalization > 10:55:46.078491 [debug] [Thread-4 ]: SQL status: SUCCESS 1 in 0.1 seconds 2022-04-22 10:56:35 normalization > 10:55:46.092116 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKETS" 2022-04-22 10:56:35 normalization > 10:55:46.092373 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS" 2022-04-22 10:56:35 normalization > 10:55:46.092575 [debug] [Thread-2 ]: On model.airbyte_utils.TICKETS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS" 2022-04-22 10:56:35 normalization > 10:55:46.092824 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_AUDITS: merge into "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS" as DBT_INTERNAL_DEST 2022-04-22 10:56:35 normalization > using "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS__dbt_tmp" as DBT_INTERNAL_SOURCE 2022-04-22 10:56:35 normalization > on 2022-04-22 10:56:35 normalization > DBT_INTERNAL_SOURCE._AIRBYTE_UNIQUE_KEY = DBT_INTERNAL_DEST._AIRBYTE_UNIQUE_KEY 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > when matched then update set 2022-04-22 10:56:35 normalization > "_AIRBYTE_UNIQUE_KEY" = DBT_INTERNAL_SOURCE."_AIRBYTE_UNIQUE_KEY","ID" = DBT_INTERNAL_SOURCE."ID","VIA" = DBT_INTERNAL_SOURCE."VIA","EVENTS" = DBT_INTERNAL_SOURCE."EVENTS","METADATA" = DBT_INTERNAL_SOURCE."METADATA","AUTHOR_ID" = DBT_INTERNAL_SOURCE."AUTHOR_ID","TICKET_ID" = DBT_INTERNAL_SOURCE."TICKET_ID","CREATED_AT" = DBT_INTERNAL_SOURCE."CREATED_AT","_AIRBYTE_AB_ID" = DBT_INTERNAL_SOURCE."_AIRBYTE_AB_ID","_AIRBYTE_EMITTED_AT" = DBT_INTERNAL_SOURCE."_AIRBYTE_EMITTED_AT","_AIRBYTE_NORMALIZED_AT" = DBT_INTERNAL_SOURCE."_AIRBYTE_NORMALIZED_AT","_AIRBYTE_TICKET_AUDITS_HASHID" = DBT_INTERNAL_SOURCE."_AIRBYTE_TICKET_AUDITS_HASHID" 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > when not matched then insert 2022-04-22 10:56:35 normalization > ("_AIRBYTE_UNIQUE_KEY", "ID", "VIA", "EVENTS", "METADATA", "AUTHOR_ID", "TICKET_ID", "CREATED_AT", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_TICKET_AUDITS_HASHID") 2022-04-22 10:56:35 normalization > values 2022-04-22 10:56:35 normalization > ("_AIRBYTE_UNIQUE_KEY", "ID", "VIA", "EVENTS", "METADATA", "AUTHOR_ID", "TICKET_ID", "CREATED_AT", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_TICKET_AUDITS_HASHID") 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ; 2022-04-22 10:56:35 normalization > 10:55:46.094019 [debug] [Thread-3 ]: SQL status: SUCCESS 20 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:55:46.094214 [debug] [Thread-2 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:55:46.097898 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_FORMS" 2022-04-22 10:56:35 normalization > 10:55:46.101488 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_FORMS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_FORMS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_FORMS" 2022-04-22 10:56:35 normalization > 10:55:46.257502 [debug] [Thread-1 ]: SQL status: SUCCESS 30 in 0.61 seconds 2022-04-22 10:56:35 normalization > 10:55:46.268836 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_FIELDS" 2022-04-22 10:56:35 normalization > 10:55:46.269204 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_FIELDS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_FIELDS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_FIELDS" 2022-04-22 10:56:35 normalization > 10:55:46.279380 [debug] [Thread-5 ]: SQL status: SUCCESS 1 in 0.24 seconds 2022-04-22 10:56:35 normalization > 10:55:46.291455 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS" 2022-04-22 10:56:35 normalization > 10:55:46.291772 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_COMMENTS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS" 2022-04-22 10:56:35 normalization > 10:55:46.327692 [debug] [Thread-1 ]: SQL status: SUCCESS 30 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:55:46.332083 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_FIELDS" 2022-04-22 10:56:35 normalization > 10:55:46.332600 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_FIELDS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_FIELDS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_FIELDS" 2022-04-22 10:56:35 normalization > 10:55:46.344240 [debug] [Thread-5 ]: SQL status: SUCCESS 18 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:55:46.347439 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS" 2022-04-22 10:56:35 normalization > 10:55:46.347607 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_COMMENTS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS" 2022-04-22 10:56:35 normalization > 10:55:46.412565 [debug] [Thread-5 ]: SQL status: SUCCESS 1 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:55:46.414854 [debug] [Thread-5 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_COMMENTS" 2022-04-22 10:56:35 normalization > 10:55:46.415227 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:46.415377 [debug] [Thread-5 ]: Began executing node model.airbyte_utils.TICKET_COMMENTS 2022-04-22 10:56:35 normalization > 10:55:46.421068 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS" 2022-04-22 10:56:35 normalization > 10:55:46.421252 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_COMMENTS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS" 2022-04-22 10:56:35 normalization > 10:55:46.458641 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 0.36 seconds 2022-04-22 10:56:35 normalization > 10:55:46.468606 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_FORMS" 2022-04-22 10:56:35 normalization > 10:55:46.468871 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_FORMS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_FORMS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_FORMS" 2022-04-22 10:56:35 normalization > 10:55:46.475606 [debug] [Thread-5 ]: SQL status: SUCCESS 18 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:55:46.485470 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS" 2022-04-22 10:56:35 normalization > 10:55:46.485737 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_COMMENTS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace temporary table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS__dbt_tmp" as 2022-04-22 10:56:35 normalization > (select * from( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- Final base SQL model 2022-04-22 10:56:35 normalization > -- depends_on: "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_SCD" 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_UNIQUE_KEY, 2022-04-22 10:56:35 normalization > ID, 2022-04-22 10:56:35 normalization > VIA, 2022-04-22 10:56:35 normalization > BODY, 2022-04-22 10:56:35 normalization > TYPE, 2022-04-22 10:56:35 normalization > PUBLIC, 2022-04-22 10:56:35 normalization > AUDIT_ID, 2022-04-22 10:56:35 normalization > METADATA, 2022-04-22 10:56:35 normalization > AUTHOR_ID, 2022-04-22 10:56:35 normalization > HTML_BODY, 2022-04-22 10:56:35 normalization > TICKET_ID, 2022-04-22 10:56:35 normalization > CREATED_AT, 2022-04-22 10:56:35 normalization > PLAIN_BODY, 2022-04-22 10:56:35 normalization > ATTACHMENTS, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_TICKET_COMMENTS_HASHID 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_SCD" 2022-04-22 10:56:35 normalization > -- TICKET_COMMENTS from "AIRBYTE_DB".ZENDESK_SUPPORT._AIRBYTE_RAW_TICKET_COMMENTS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > and _AIRBYTE_ACTIVE_ROW = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > and cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) >= 2022-04-22 10:56:35 normalization > cast('2022-04-22 10:49:13.404000-07:00' as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ) order by (_AIRBYTE_UNIQUE_KEY, _AIRBYTE_EMITTED_AT) 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:55:46.525022 [debug] [Thread-3 ]: SQL status: SUCCESS 20 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:55:46.528399 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_FORMS" 2022-04-22 10:56:35 normalization > 10:55:46.528591 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_FORMS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_FORMS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_FORMS" 2022-04-22 10:56:35 normalization > 10:55:46.548506 [debug] [Thread-2 ]: SQL status: SUCCESS 41 in 0.45 seconds 2022-04-22 10:56:35 normalization > 10:55:46.560397 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKETS" 2022-04-22 10:56:35 normalization > 10:55:46.560629 [debug] [Thread-2 ]: On model.airbyte_utils.TICKETS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS" 2022-04-22 10:56:35 normalization > 10:55:46.598360 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:55:46.600750 [debug] [Thread-3 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_FORMS" 2022-04-22 10:56:35 normalization > 10:55:46.601177 [debug] [Thread-3 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:46.601335 [debug] [Thread-3 ]: Began executing node model.airbyte_utils.TICKET_FORMS 2022-04-22 10:56:35 normalization > 10:55:46.712412 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_FORMS" 2022-04-22 10:56:35 normalization > 10:55:46.713263 [debug] [Thread-2 ]: SQL status: SUCCESS 41 in 0.15 seconds 2022-04-22 10:56:35 normalization > 10:55:46.713547 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_FORMS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_FORMS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_FORMS" 2022-04-22 10:56:35 normalization > 10:55:46.717852 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKETS" 2022-04-22 10:56:35 normalization > 10:55:46.718561 [debug] [Thread-2 ]: On model.airbyte_utils.TICKETS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS" 2022-04-22 10:56:35 normalization > 10:55:46.745282 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 0.41 seconds 2022-04-22 10:56:35 normalization > 10:55:46.755168 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_FIELDS" 2022-04-22 10:56:35 normalization > 10:55:46.755416 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_FIELDS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_FIELDS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_FIELDS" 2022-04-22 10:56:35 normalization > 10:55:46.768288 [debug] [Thread-3 ]: SQL status: SUCCESS 20 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:55:46.777800 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_FORMS" 2022-04-22 10:56:35 normalization > 10:55:46.778048 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_FORMS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_FORMS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace temporary table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_FORMS__dbt_tmp" as 2022-04-22 10:56:35 normalization > (select * from( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- Final base SQL model 2022-04-22 10:56:35 normalization > -- depends_on: "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_FORMS_SCD" 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_UNIQUE_KEY, 2022-04-22 10:56:35 normalization > ID, 2022-04-22 10:56:35 normalization > URL, 2022-04-22 10:56:35 normalization > NAME, 2022-04-22 10:56:35 normalization > ACTIVE, 2022-04-22 10:56:35 normalization > "default", 2022-04-22 10:56:35 normalization > POSITION, 2022-04-22 10:56:35 normalization > RAW_NAME, 2022-04-22 10:56:35 normalization > CREATED_AT, 2022-04-22 10:56:35 normalization > UPDATED_AT, 2022-04-22 10:56:35 normalization > DISPLAY_NAME, 2022-04-22 10:56:35 normalization > IN_ALL_BRANDS, 2022-04-22 10:56:35 normalization > END_USER_VISIBLE, 2022-04-22 10:56:35 normalization > RAW_DISPLAY_NAME, 2022-04-22 10:56:35 normalization > TICKET_FIELD_IDS, 2022-04-22 10:56:35 normalization > RESTRICTED_BRAND_IDS, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_TICKET_FORMS_HASHID 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_FORMS_SCD" 2022-04-22 10:56:35 normalization > -- TICKET_FORMS from "AIRBYTE_DB".ZENDESK_SUPPORT._AIRBYTE_RAW_TICKET_FORMS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > and _AIRBYTE_ACTIVE_ROW = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > and cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) >= 2022-04-22 10:56:35 normalization > cast('2022-04-09 05:10:36.529000-07:00' as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ) order by (_AIRBYTE_UNIQUE_KEY, _AIRBYTE_EMITTED_AT) 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:55:46.805147 [debug] [Thread-1 ]: SQL status: SUCCESS 30 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:55:46.809116 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_FIELDS" 2022-04-22 10:56:35 normalization > 10:55:46.809305 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_FIELDS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_FIELDS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_FIELDS" 2022-04-22 10:56:35 normalization > 10:55:46.859473 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:55:46.861708 [debug] [Thread-1 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_FIELDS" 2022-04-22 10:56:35 normalization > 10:55:46.862072 [debug] [Thread-1 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:46.862218 [debug] [Thread-1 ]: Began executing node model.airbyte_utils.TICKET_FIELDS 2022-04-22 10:56:35 normalization > 10:55:46.867545 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_FIELDS" 2022-04-22 10:56:35 normalization > 10:55:46.867725 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_FIELDS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_FIELDS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_FIELDS" 2022-04-22 10:56:35 normalization > 10:55:46.926162 [debug] [Thread-1 ]: SQL status: SUCCESS 30 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:55:46.936442 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_FIELDS" 2022-04-22 10:56:35 normalization > 10:55:46.936703 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_FIELDS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_FIELDS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace temporary table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_FIELDS__dbt_tmp" as 2022-04-22 10:56:35 normalization > (select * from( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- Final base SQL model 2022-04-22 10:56:35 normalization > -- depends_on: "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_FIELDS_SCD" 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_UNIQUE_KEY, 2022-04-22 10:56:35 normalization > ID, 2022-04-22 10:56:35 normalization > TAG, 2022-04-22 10:56:35 normalization > URL, 2022-04-22 10:56:35 normalization > TYPE, 2022-04-22 10:56:35 normalization > TITLE, 2022-04-22 10:56:35 normalization > ACTIVE, 2022-04-22 10:56:35 normalization > POSITION, 2022-04-22 10:56:35 normalization > REQUIRED, 2022-04-22 10:56:35 normalization > RAW_TITLE, 2022-04-22 10:56:35 normalization > REMOVABLE, 2022-04-22 10:56:35 normalization > CREATED_AT, 2022-04-22 10:56:35 normalization > UPDATED_AT, 2022-04-22 10:56:35 normalization > DESCRIPTION, 2022-04-22 10:56:35 normalization > SUB_TYPE_ID, 2022-04-22 10:56:35 normalization > RAW_DESCRIPTION, 2022-04-22 10:56:35 normalization > TITLE_IN_PORTAL, 2022-04-22 10:56:35 normalization > AGENT_DESCRIPTION, 2022-04-22 10:56:35 normalization > VISIBLE_IN_PORTAL, 2022-04-22 10:56:35 normalization > EDITABLE_IN_PORTAL, 2022-04-22 10:56:35 normalization > REQUIRED_IN_PORTAL, 2022-04-22 10:56:35 normalization > RAW_TITLE_IN_PORTAL, 2022-04-22 10:56:35 normalization > COLLAPSED_FOR_AGENTS, 2022-04-22 10:56:35 normalization > CUSTOM_FIELD_OPTIONS, 2022-04-22 10:56:35 normalization > SYSTEM_FIELD_OPTIONS, 2022-04-22 10:56:35 normalization > REGEXP_FOR_VALIDATION, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_TICKET_FIELDS_HASHID 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_FIELDS_SCD" 2022-04-22 10:56:35 normalization > -- TICKET_FIELDS from "AIRBYTE_DB".ZENDESK_SUPPORT._AIRBYTE_RAW_TICKET_FIELDS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > and _AIRBYTE_ACTIVE_ROW = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > and cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) >= 2022-04-22 10:56:35 normalization > cast('2022-04-12 22:54:36.644000-07:00' as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ) order by (_AIRBYTE_UNIQUE_KEY, _AIRBYTE_EMITTED_AT) 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:55:47.054367 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 0.34 seconds 2022-04-22 10:56:35 normalization > 10:55:47.064347 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKETS" 2022-04-22 10:56:35 normalization > 10:55:47.064596 [debug] [Thread-2 ]: On model.airbyte_utils.TICKETS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS" 2022-04-22 10:56:35 normalization > 10:55:47.087455 [debug] [Thread-4 ]: SQL status: SUCCESS 131 in 0.99 seconds 2022-04-22 10:56:35 normalization > 10:55:47.087758 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS" 2022-04-22 10:56:35 normalization > 10:55:47.087872 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_AUDITS: commit; 2022-04-22 10:56:35 normalization > 10:55:47.117907 [debug] [Thread-2 ]: SQL status: SUCCESS 41 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:55:47.125582 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKETS" 2022-04-22 10:56:35 normalization > 10:55:47.125818 [debug] [Thread-2 ]: On model.airbyte_utils.TICKETS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS" 2022-04-22 10:56:35 normalization > 10:55:47.188593 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:55:47.191373 [debug] [Thread-2 ]: Writing injected SQL for node "model.airbyte_utils.TICKETS" 2022-04-22 10:56:35 normalization > 10:55:47.191740 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:47.191886 [debug] [Thread-2 ]: Began executing node model.airbyte_utils.TICKETS 2022-04-22 10:56:35 normalization > 10:55:47.198811 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKETS" 2022-04-22 10:56:35 normalization > 10:55:47.198981 [debug] [Thread-2 ]: On model.airbyte_utils.TICKETS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS" 2022-04-22 10:56:35 normalization > 10:55:47.252228 [debug] [Thread-2 ]: SQL status: SUCCESS 41 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:55:47.263286 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKETS" 2022-04-22 10:56:35 normalization > 10:55:47.263540 [debug] [Thread-2 ]: On model.airbyte_utils.TICKETS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace temporary table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS__dbt_tmp" as 2022-04-22 10:56:35 normalization > (select * from( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- Final base SQL model 2022-04-22 10:56:35 normalization > -- depends_on: "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_SCD" 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_UNIQUE_KEY, 2022-04-22 10:56:35 normalization > ID, 2022-04-22 10:56:35 normalization > URL, 2022-04-22 10:56:35 normalization > VIA, 2022-04-22 10:56:35 normalization > TAGS, 2022-04-22 10:56:35 normalization > TYPE, 2022-04-22 10:56:35 normalization > DUE_AT, 2022-04-22 10:56:35 normalization > STATUS, 2022-04-22 10:56:35 normalization > SUBJECT, 2022-04-22 10:56:35 normalization > BRAND_ID, 2022-04-22 10:56:35 normalization > GROUP_ID, 2022-04-22 10:56:35 normalization > PRIORITY, 2022-04-22 10:56:35 normalization > IS_PUBLIC, 2022-04-22 10:56:35 normalization > RECIPIENT, 2022-04-22 10:56:35 normalization > CREATED_AT, 2022-04-22 10:56:35 normalization > PROBLEM_ID, 2022-04-22 10:56:35 normalization > UPDATED_AT, 2022-04-22 10:56:35 normalization > ASSIGNEE_ID, 2022-04-22 10:56:35 normalization > DESCRIPTION, 2022-04-22 10:56:35 normalization > EXTERNAL_ID, 2022-04-22 10:56:35 normalization > RAW_SUBJECT, 2022-04-22 10:56:35 normalization > EMAIL_CC_IDS, 2022-04-22 10:56:35 normalization > FOLLOWER_IDS, 2022-04-22 10:56:35 normalization > FOLLOWUP_IDS, 2022-04-22 10:56:35 normalization > REQUESTER_ID, 2022-04-22 10:56:35 normalization > SUBMITTER_ID, 2022-04-22 10:56:35 normalization > CUSTOM_FIELDS, 2022-04-22 10:56:35 normalization > HAS_INCIDENTS, 2022-04-22 10:56:35 normalization > FORUM_TOPIC_ID, 2022-04-22 10:56:35 normalization > TICKET_FORM_ID, 2022-04-22 10:56:35 normalization > ORGANIZATION_ID, 2022-04-22 10:56:35 normalization > COLLABORATOR_IDS, 2022-04-22 10:56:35 normalization > ALLOW_ATTACHMENTS, 2022-04-22 10:56:35 normalization > ALLOW_CHANNELBACK, 2022-04-22 10:56:35 normalization > GENERATED_TIMESTAMP, 2022-04-22 10:56:35 normalization > SATISFACTION_RATING, 2022-04-22 10:56:35 normalization > SHARING_AGREEMENT_IDS, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_TICKETS_HASHID 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_SCD" 2022-04-22 10:56:35 normalization > -- TICKETS from "AIRBYTE_DB".ZENDESK_SUPPORT._AIRBYTE_RAW_TICKETS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > and _AIRBYTE_ACTIVE_ROW = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > and cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) >= 2022-04-22 10:56:35 normalization > cast('2022-04-22 10:49:17.699000-07:00' as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ) order by (_AIRBYTE_UNIQUE_KEY, _AIRBYTE_EMITTED_AT) 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:55:47.284389 [debug] [Thread-5 ]: SQL status: SUCCESS 1 in 0.8 seconds 2022-04-22 10:56:35 normalization > 10:55:47.288959 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS" 2022-04-22 10:56:35 normalization > 10:55:47.289191 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_COMMENTS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:55:47.329562 [debug] [Thread-4 ]: SQL status: SUCCESS 1 in 0.24 seconds 2022-04-22 10:56:35 normalization > 10:55:47.333378 [debug] [Thread-4 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:47.333662 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_AUDITS: Close 2022-04-22 10:56:35 normalization > 10:55:47.356481 [debug] [Thread-5 ]: SQL status: SUCCESS 18 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:55:47.362847 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS" 2022-04-22 10:56:35 normalization > 10:55:47.365894 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_COMMENTS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS" 2022-04-22 10:56:35 normalization > 10:55:47.412430 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 0.63 seconds 2022-04-22 10:56:35 normalization > 10:55:47.413875 [debug] [Thread-5 ]: SQL status: SUCCESS 18 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:55:47.418713 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_FORMS" 2022-04-22 10:56:35 normalization > 10:55:47.423897 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS" 2022-04-22 10:56:35 normalization > 10:55:47.424264 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_FORMS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_FORMS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_FORMS__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:55:47.424472 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_COMMENTS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:55:47.438618 [info ] [Thread-4 ]: 35 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_AUDITS..................................................... [SUCCESS 1 in 4.18s] 2022-04-22 10:56:35 normalization > 10:55:47.439221 [debug] [Thread-4 ]: Finished running node model.airbyte_utils.TICKET_AUDITS 2022-04-22 10:56:35 normalization > 10:55:47.439485 [debug] [Thread-4 ]: Began running node model.airbyte_utils.TICKETS_CUSTOM_FIELDS_AB1 2022-04-22 10:56:35 normalization > 10:55:47.440283 [debug] [Thread-4 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKETS_CUSTOM_FIELDS_AB1" 2022-04-22 10:56:35 normalization > 10:55:47.440431 [debug] [Thread-4 ]: Began compiling node model.airbyte_utils.TICKETS_CUSTOM_FIELDS_AB1 2022-04-22 10:56:35 normalization > 10:55:47.440551 [debug] [Thread-4 ]: Compiling model.airbyte_utils.TICKETS_CUSTOM_FIELDS_AB1 2022-04-22 10:56:35 normalization > 10:55:47.454414 [debug] [Thread-4 ]: Writing injected SQL for node "model.airbyte_utils.TICKETS_CUSTOM_FIELDS_AB1" 2022-04-22 10:56:35 normalization > 10:55:47.454863 [debug] [Thread-4 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:47.455391 [debug] [Thread-4 ]: Finished running node model.airbyte_utils.TICKETS_CUSTOM_FIELDS_AB1 2022-04-22 10:56:35 normalization > 10:55:47.455643 [debug] [Thread-4 ]: Began running node model.airbyte_utils.TICKETS_SATISFACTION_RATING_AB1 2022-04-22 10:56:35 normalization > 10:55:47.456494 [debug] [Thread-4 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKETS_SATISFACTION_RATING_AB1" 2022-04-22 10:56:35 normalization > 10:55:47.456855 [debug] [Thread-4 ]: Began compiling node model.airbyte_utils.TICKETS_SATISFACTION_RATING_AB1 2022-04-22 10:56:35 normalization > 10:55:47.457144 [debug] [Thread-4 ]: Compiling model.airbyte_utils.TICKETS_SATISFACTION_RATING_AB1 2022-04-22 10:56:35 normalization > 10:55:47.487409 [debug] [Thread-4 ]: Writing injected SQL for node "model.airbyte_utils.TICKETS_SATISFACTION_RATING_AB1" 2022-04-22 10:56:35 normalization > 10:55:47.487865 [debug] [Thread-4 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:47.488545 [debug] [Thread-4 ]: Finished running node model.airbyte_utils.TICKETS_SATISFACTION_RATING_AB1 2022-04-22 10:56:35 normalization > 10:55:47.488816 [debug] [Thread-4 ]: Began running node model.airbyte_utils.TICKETS_VIA_AB1 2022-04-22 10:56:35 normalization > 10:55:47.489529 [debug] [Thread-4 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKETS_VIA_AB1" 2022-04-22 10:56:35 normalization > 10:55:47.489886 [debug] [Thread-4 ]: Began compiling node model.airbyte_utils.TICKETS_VIA_AB1 2022-04-22 10:56:35 normalization > 10:55:47.490182 [debug] [Thread-4 ]: Compiling model.airbyte_utils.TICKETS_VIA_AB1 2022-04-22 10:56:35 normalization > 10:55:47.500463 [debug] [Thread-4 ]: Writing injected SQL for node "model.airbyte_utils.TICKETS_VIA_AB1" 2022-04-22 10:56:35 normalization > 10:55:47.502539 [debug] [Thread-5 ]: SQL status: SUCCESS 18 in 0.08 seconds 2022-04-22 10:56:35 normalization > 10:55:47.508652 [debug] [Thread-3 ]: SQL status: SUCCESS 20 in 0.08 seconds 2022-04-22 10:56:35 normalization > 10:55:47.509072 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS" 2022-04-22 10:56:35 normalization > 10:55:47.509331 [debug] [Thread-4 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:47.514249 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_FORMS" 2022-04-22 10:56:35 normalization > 10:55:47.514612 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_COMMENTS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_COMMENTS" 2022-04-22 10:56:35 normalization > 10:55:47.515670 [debug] [Thread-4 ]: Finished running node model.airbyte_utils.TICKETS_VIA_AB1 2022-04-22 10:56:35 normalization > 10:55:47.515878 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_FORMS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_FORMS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_FORMS" 2022-04-22 10:56:35 normalization > 10:55:47.517690 [debug] [Thread-4 ]: Began running node model.airbyte_utils.TICKET_METRICS 2022-04-22 10:56:35 normalization > 10:55:47.520682 [info ] [Thread-4 ]: 40 of 95 SKIP relation ZENDESK_SUPPORT.TICKET_METRICS................................................................... [SKIP] 2022-04-22 10:56:35 normalization > 10:55:47.521995 [debug] [Thread-4 ]: Finished running node model.airbyte_utils.TICKET_METRICS 2022-04-22 10:56:35 normalization > 10:55:47.522265 [debug] [Thread-4 ]: Began running node model.airbyte_utils.TICKET_METRICS_AGENT_WAIT_TIME_IN_MINUTES_AB1 2022-04-22 10:56:35 normalization > 10:55:47.522524 [debug] [Thread-4 ]: Finished running node model.airbyte_utils.TICKET_METRICS_AGENT_WAIT_TIME_IN_MINUTES_AB1 2022-04-22 10:56:35 normalization > 10:55:47.523071 [debug] [Thread-4 ]: Began running node model.airbyte_utils.TICKET_METRICS_FIRST_RESOLUTION_TIME_IN_MINUTES_AB1 2022-04-22 10:56:35 normalization > 10:55:47.523498 [debug] [Thread-4 ]: Finished running node model.airbyte_utils.TICKET_METRICS_FIRST_RESOLUTION_TIME_IN_MINUTES_AB1 2022-04-22 10:56:35 normalization > 10:55:47.523814 [debug] [Thread-4 ]: Began running node model.airbyte_utils.TICKET_METRICS_FULL_RESOLUTION_TIME_IN_MINUTES_AB1 2022-04-22 10:56:35 normalization > 10:55:47.524285 [debug] [Thread-4 ]: Finished running node model.airbyte_utils.TICKET_METRICS_FULL_RESOLUTION_TIME_IN_MINUTES_AB1 2022-04-22 10:56:35 normalization > 10:55:47.524567 [debug] [Thread-4 ]: Began running node model.airbyte_utils.TICKET_METRICS_ON_HOLD_TIME_IN_MINUTES_AB1 2022-04-22 10:56:35 normalization > 10:55:47.524742 [debug] [Thread-4 ]: Finished running node model.airbyte_utils.TICKET_METRICS_ON_HOLD_TIME_IN_MINUTES_AB1 2022-04-22 10:56:35 normalization > 10:55:47.525299 [debug] [Thread-4 ]: Began running node model.airbyte_utils.TICKET_METRICS_REPLY_TIME_IN_MINUTES_AB1 2022-04-22 10:56:35 normalization > 10:55:47.525586 [debug] [Thread-4 ]: Finished running node model.airbyte_utils.TICKET_METRICS_REPLY_TIME_IN_MINUTES_AB1 2022-04-22 10:56:35 normalization > 10:55:47.526082 [debug] [Thread-4 ]: Began running node model.airbyte_utils.TICKET_METRICS_REQUESTER_WAIT_TIME_IN_MINUTES_AB1 2022-04-22 10:56:35 normalization > 10:55:47.526294 [debug] [Thread-4 ]: Finished running node model.airbyte_utils.TICKET_METRICS_REQUESTER_WAIT_TIME_IN_MINUTES_AB1 2022-04-22 10:56:35 normalization > 10:55:47.526676 [debug] [Thread-4 ]: Began running node model.airbyte_utils.TICKET_METRICS_STATUS_AB1 2022-04-22 10:56:35 normalization > 10:55:47.526897 [debug] [Thread-4 ]: Finished running node model.airbyte_utils.TICKET_METRICS_STATUS_AB1 2022-04-22 10:56:35 normalization > 10:55:47.527409 [debug] [Thread-4 ]: Began running node model.airbyte_utils.MACROS_ACTIONS_AB2 2022-04-22 10:56:35 normalization > 10:55:47.528077 [debug] [Thread-4 ]: Acquiring new snowflake connection "model.airbyte_utils.MACROS_ACTIONS_AB2" 2022-04-22 10:56:35 normalization > 10:55:47.528412 [debug] [Thread-4 ]: Began compiling node model.airbyte_utils.MACROS_ACTIONS_AB2 2022-04-22 10:56:35 normalization > 10:55:47.528590 [debug] [Thread-4 ]: Compiling model.airbyte_utils.MACROS_ACTIONS_AB2 2022-04-22 10:56:35 normalization > 10:55:47.544264 [debug] [Thread-4 ]: Writing injected SQL for node "model.airbyte_utils.MACROS_ACTIONS_AB2" 2022-04-22 10:56:35 normalization > 10:55:47.544679 [debug] [Thread-4 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:47.545327 [debug] [Thread-4 ]: Finished running node model.airbyte_utils.MACROS_ACTIONS_AB2 2022-04-22 10:56:35 normalization > 10:55:47.545542 [debug] [Thread-4 ]: Began running node model.airbyte_utils.MACROS_RESTRICTION_AB2 2022-04-22 10:56:35 normalization > 10:55:47.545859 [debug] [Thread-4 ]: Acquiring new snowflake connection "model.airbyte_utils.MACROS_RESTRICTION_AB2" 2022-04-22 10:56:35 normalization > 10:55:47.546368 [debug] [Thread-4 ]: Began compiling node model.airbyte_utils.MACROS_RESTRICTION_AB2 2022-04-22 10:56:35 normalization > 10:55:47.546908 [debug] [Thread-4 ]: Compiling model.airbyte_utils.MACROS_RESTRICTION_AB2 2022-04-22 10:56:35 normalization > 10:55:47.560688 [debug] [Thread-4 ]: Writing injected SQL for node "model.airbyte_utils.MACROS_RESTRICTION_AB2" 2022-04-22 10:56:35 normalization > 10:55:47.561142 [debug] [Thread-4 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:47.561534 [debug] [Thread-4 ]: Finished running node model.airbyte_utils.MACROS_RESTRICTION_AB2 2022-04-22 10:56:35 normalization > 10:55:47.561713 [debug] [Thread-4 ]: Began running node model.airbyte_utils.TICKET_METRIC_EVENTS 2022-04-22 10:56:35 normalization > 10:55:47.561938 [info ] [Thread-4 ]: 41 of 95 START incremental model ZENDESK_SUPPORT.TICKET_METRIC_EVENTS................................................... [RUN] 2022-04-22 10:56:35 normalization > 10:55:47.563491 [debug] [Thread-4 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_METRIC_EVENTS" 2022-04-22 10:56:35 normalization > 10:55:47.563674 [debug] [Thread-4 ]: Began compiling node model.airbyte_utils.TICKET_METRIC_EVENTS 2022-04-22 10:56:35 normalization > 10:55:47.564152 [debug] [Thread-4 ]: Compiling model.airbyte_utils.TICKET_METRIC_EVENTS 2022-04-22 10:56:35 normalization > 10:55:47.581249 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_METRIC_EVENTS" 2022-04-22 10:56:35 normalization > 10:55:47.582080 [debug] [Thread-5 ]: SQL status: SUCCESS 18 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:55:47.582269 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_METRIC_EVENTS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_METRIC_EVENTS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_METRIC_EVENTS" 2022-04-22 10:56:35 normalization > 10:55:47.586529 [debug] [Thread-5 ]: 2022-04-22 10:56:35 normalization > In "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_COMMENTS": 2022-04-22 10:56:35 normalization > Schema changed: False 2022-04-22 10:56:35 normalization > Source columns not in target: [] 2022-04-22 10:56:35 normalization > Target columns not in source: [] 2022-04-22 10:56:35 normalization > New column types: [] 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 10:55:47.587471 [debug] [Thread-4 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:55:47.589706 [debug] [Thread-5 ]: Writing runtime SQL for node "model.airbyte_utils.TICKET_COMMENTS" 2022-04-22 10:56:35 normalization > 10:55:47.590460 [debug] [Thread-3 ]: SQL status: SUCCESS 20 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:55:47.598613 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_FORMS" 2022-04-22 10:56:35 normalization > 10:55:47.600690 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_FORMS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_FORMS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_FORMS__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:55:47.602485 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS" 2022-04-22 10:56:35 normalization > 10:55:47.603382 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_COMMENTS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS"} */ 2022-04-22 10:56:35 normalization > begin; 2022-04-22 10:56:35 normalization > 10:55:47.698706 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 0.76 seconds 2022-04-22 10:56:35 normalization > 10:55:47.704581 [debug] [Thread-5 ]: SQL status: SUCCESS 1 in 0.1 seconds 2022-04-22 10:56:35 normalization > 10:55:47.714902 [debug] [Thread-3 ]: SQL status: SUCCESS 20 in 0.11 seconds 2022-04-22 10:56:35 normalization > 10:55:47.735690 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_FIELDS" 2022-04-22 10:56:35 normalization > 10:55:47.755754 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS" 2022-04-22 10:56:35 normalization > 10:55:47.770765 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_FORMS" 2022-04-22 10:56:35 normalization > 10:55:47.771062 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_FIELDS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_FIELDS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_FIELDS__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:55:47.772588 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_COMMENTS: merge into "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS" as DBT_INTERNAL_DEST 2022-04-22 10:56:35 normalization > using "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS__dbt_tmp" as DBT_INTERNAL_SOURCE 2022-04-22 10:56:35 normalization > on 2022-04-22 10:56:35 normalization > DBT_INTERNAL_SOURCE._AIRBYTE_UNIQUE_KEY = DBT_INTERNAL_DEST._AIRBYTE_UNIQUE_KEY 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > when matched then update set 2022-04-22 10:56:35 normalization > "_AIRBYTE_UNIQUE_KEY" = DBT_INTERNAL_SOURCE."_AIRBYTE_UNIQUE_KEY","ID" = DBT_INTERNAL_SOURCE."ID","VIA" = DBT_INTERNAL_SOURCE."VIA","BODY" = DBT_INTERNAL_SOURCE."BODY","TYPE" = DBT_INTERNAL_SOURCE."TYPE","PUBLIC" = DBT_INTERNAL_SOURCE."PUBLIC","AUDIT_ID" = DBT_INTERNAL_SOURCE."AUDIT_ID","METADATA" = DBT_INTERNAL_SOURCE."METADATA","AUTHOR_ID" = DBT_INTERNAL_SOURCE."AUTHOR_ID","HTML_BODY" = DBT_INTERNAL_SOURCE."HTML_BODY","TICKET_ID" = DBT_INTERNAL_SOURCE."TICKET_ID","CREATED_AT" = DBT_INTERNAL_SOURCE."CREATED_AT","PLAIN_BODY" = DBT_INTERNAL_SOURCE."PLAIN_BODY","ATTACHMENTS" = DBT_INTERNAL_SOURCE."ATTACHMENTS","_AIRBYTE_AB_ID" = DBT_INTERNAL_SOURCE."_AIRBYTE_AB_ID","_AIRBYTE_EMITTED_AT" = DBT_INTERNAL_SOURCE."_AIRBYTE_EMITTED_AT","_AIRBYTE_NORMALIZED_AT" = DBT_INTERNAL_SOURCE."_AIRBYTE_NORMALIZED_AT","_AIRBYTE_TICKET_COMMENTS_HASHID" = DBT_INTERNAL_SOURCE."_AIRBYTE_TICKET_COMMENTS_HASHID" 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > when not matched then insert 2022-04-22 10:56:35 normalization > ("_AIRBYTE_UNIQUE_KEY", "ID", "VIA", "BODY", "TYPE", "PUBLIC", "AUDIT_ID", "METADATA", "AUTHOR_ID", "HTML_BODY", "TICKET_ID", "CREATED_AT", "PLAIN_BODY", "ATTACHMENTS", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_TICKET_COMMENTS_HASHID") 2022-04-22 10:56:35 normalization > values 2022-04-22 10:56:35 normalization > ("_AIRBYTE_UNIQUE_KEY", "ID", "VIA", "BODY", "TYPE", "PUBLIC", "AUDIT_ID", "METADATA", "AUTHOR_ID", "HTML_BODY", "TICKET_ID", "CREATED_AT", "PLAIN_BODY", "ATTACHMENTS", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_TICKET_COMMENTS_HASHID") 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ; 2022-04-22 10:56:35 normalization > 10:55:47.781151 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_FORMS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_FORMS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_FORMS" 2022-04-22 10:56:35 normalization > 10:55:47.847545 [debug] [Thread-3 ]: SQL status: SUCCESS 20 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:55:47.853616 [debug] [Thread-3 ]: 2022-04-22 10:56:35 normalization > In "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_FORMS": 2022-04-22 10:56:35 normalization > Schema changed: False 2022-04-22 10:56:35 normalization > Source columns not in target: [] 2022-04-22 10:56:35 normalization > Target columns not in source: [] 2022-04-22 10:56:35 normalization > New column types: [] 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 10:55:47.856255 [debug] [Thread-3 ]: Writing runtime SQL for node "model.airbyte_utils.TICKET_FORMS" 2022-04-22 10:56:35 normalization > 10:55:47.859866 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_FORMS" 2022-04-22 10:56:35 normalization > 10:55:47.861316 [debug] [Thread-1 ]: SQL status: SUCCESS 30 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:55:47.861569 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_FORMS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_FORMS"} */ 2022-04-22 10:56:35 normalization > begin; 2022-04-22 10:56:35 normalization > 10:55:47.868792 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_FIELDS" 2022-04-22 10:56:35 normalization > 10:55:47.870613 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_FIELDS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_FIELDS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_FIELDS" 2022-04-22 10:56:35 normalization > 10:55:47.937014 [debug] [Thread-1 ]: SQL status: SUCCESS 30 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:55:47.942979 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_FIELDS" 2022-04-22 10:56:35 normalization > 10:55:47.943215 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_FIELDS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_FIELDS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_FIELDS__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:55:47.960294 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:55:47.960641 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_FORMS" 2022-04-22 10:56:35 normalization > 10:55:47.960755 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_FORMS: merge into "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_FORMS" as DBT_INTERNAL_DEST 2022-04-22 10:56:35 normalization > using "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_FORMS__dbt_tmp" as DBT_INTERNAL_SOURCE 2022-04-22 10:56:35 normalization > on 2022-04-22 10:56:35 normalization > DBT_INTERNAL_SOURCE._AIRBYTE_UNIQUE_KEY = DBT_INTERNAL_DEST._AIRBYTE_UNIQUE_KEY 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > when matched then update set 2022-04-22 10:56:35 normalization > "_AIRBYTE_UNIQUE_KEY" = DBT_INTERNAL_SOURCE."_AIRBYTE_UNIQUE_KEY","ID" = DBT_INTERNAL_SOURCE."ID","URL" = DBT_INTERNAL_SOURCE."URL","NAME" = DBT_INTERNAL_SOURCE."NAME","ACTIVE" = DBT_INTERNAL_SOURCE."ACTIVE","default" = DBT_INTERNAL_SOURCE."default","POSITION" = DBT_INTERNAL_SOURCE."POSITION","RAW_NAME" = DBT_INTERNAL_SOURCE."RAW_NAME","CREATED_AT" = DBT_INTERNAL_SOURCE."CREATED_AT","UPDATED_AT" = DBT_INTERNAL_SOURCE."UPDATED_AT","DISPLAY_NAME" = DBT_INTERNAL_SOURCE."DISPLAY_NAME","IN_ALL_BRANDS" = DBT_INTERNAL_SOURCE."IN_ALL_BRANDS","END_USER_VISIBLE" = DBT_INTERNAL_SOURCE."END_USER_VISIBLE","RAW_DISPLAY_NAME" = DBT_INTERNAL_SOURCE."RAW_DISPLAY_NAME","TICKET_FIELD_IDS" = DBT_INTERNAL_SOURCE."TICKET_FIELD_IDS","RESTRICTED_BRAND_IDS" = DBT_INTERNAL_SOURCE."RESTRICTED_BRAND_IDS","_AIRBYTE_AB_ID" = DBT_INTERNAL_SOURCE."_AIRBYTE_AB_ID","_AIRBYTE_EMITTED_AT" = DBT_INTERNAL_SOURCE."_AIRBYTE_EMITTED_AT","_AIRBYTE_NORMALIZED_AT" = DBT_INTERNAL_SOURCE."_AIRBYTE_NORMALIZED_AT","_AIRBYTE_TICKET_FORMS_HASHID" = DBT_INTERNAL_SOURCE."_AIRBYTE_TICKET_FORMS_HASHID" 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > when not matched then insert 2022-04-22 10:56:35 normalization > ("_AIRBYTE_UNIQUE_KEY", "ID", "URL", "NAME", "ACTIVE", "default", "POSITION", "RAW_NAME", "CREATED_AT", "UPDATED_AT", "DISPLAY_NAME", "IN_ALL_BRANDS", "END_USER_VISIBLE", "RAW_DISPLAY_NAME", "TICKET_FIELD_IDS", "RESTRICTED_BRAND_IDS", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_TICKET_FORMS_HASHID") 2022-04-22 10:56:35 normalization > values 2022-04-22 10:56:35 normalization > ("_AIRBYTE_UNIQUE_KEY", "ID", "URL", "NAME", "ACTIVE", "default", "POSITION", "RAW_NAME", "CREATED_AT", "UPDATED_AT", "DISPLAY_NAME", "IN_ALL_BRANDS", "END_USER_VISIBLE", "RAW_DISPLAY_NAME", "TICKET_FIELD_IDS", "RESTRICTED_BRAND_IDS", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_TICKET_FORMS_HASHID") 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ; 2022-04-22 10:56:35 normalization > 10:55:48.005495 [debug] [Thread-1 ]: SQL status: SUCCESS 30 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:55:48.013183 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_FIELDS" 2022-04-22 10:56:35 normalization > 10:55:48.013425 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_FIELDS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_FIELDS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_FIELDS" 2022-04-22 10:56:35 normalization > 10:55:48.067606 [debug] [Thread-1 ]: SQL status: SUCCESS 30 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:55:48.074816 [debug] [Thread-1 ]: 2022-04-22 10:56:35 normalization > In "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_FIELDS": 2022-04-22 10:56:35 normalization > Schema changed: False 2022-04-22 10:56:35 normalization > Source columns not in target: [] 2022-04-22 10:56:35 normalization > Target columns not in source: [] 2022-04-22 10:56:35 normalization > New column types: [] 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 10:55:48.077048 [debug] [Thread-1 ]: Writing runtime SQL for node "model.airbyte_utils.TICKET_FIELDS" 2022-04-22 10:56:35 normalization > 10:55:48.079569 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_FIELDS" 2022-04-22 10:56:35 normalization > 10:55:48.079737 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_FIELDS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_FIELDS"} */ 2022-04-22 10:56:35 normalization > begin; 2022-04-22 10:56:35 normalization > 10:55:48.133507 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 0.87 seconds 2022-04-22 10:56:35 normalization > 10:55:48.137978 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKETS" 2022-04-22 10:56:35 normalization > 10:55:48.138213 [debug] [Thread-2 ]: On model.airbyte_utils.TICKETS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:55:48.167217 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:55:48.167642 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_FIELDS" 2022-04-22 10:56:35 normalization > 10:55:48.167762 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_FIELDS: merge into "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_FIELDS" as DBT_INTERNAL_DEST 2022-04-22 10:56:35 normalization > using "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_FIELDS__dbt_tmp" as DBT_INTERNAL_SOURCE 2022-04-22 10:56:35 normalization > on 2022-04-22 10:56:35 normalization > DBT_INTERNAL_SOURCE._AIRBYTE_UNIQUE_KEY = DBT_INTERNAL_DEST._AIRBYTE_UNIQUE_KEY 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > when matched then update set 2022-04-22 10:56:35 normalization > "_AIRBYTE_UNIQUE_KEY" = DBT_INTERNAL_SOURCE."_AIRBYTE_UNIQUE_KEY","ID" = DBT_INTERNAL_SOURCE."ID","TAG" = DBT_INTERNAL_SOURCE."TAG","URL" = DBT_INTERNAL_SOURCE."URL","TYPE" = DBT_INTERNAL_SOURCE."TYPE","TITLE" = DBT_INTERNAL_SOURCE."TITLE","ACTIVE" = DBT_INTERNAL_SOURCE."ACTIVE","POSITION" = DBT_INTERNAL_SOURCE."POSITION","REQUIRED" = DBT_INTERNAL_SOURCE."REQUIRED","RAW_TITLE" = DBT_INTERNAL_SOURCE."RAW_TITLE","REMOVABLE" = DBT_INTERNAL_SOURCE."REMOVABLE","CREATED_AT" = DBT_INTERNAL_SOURCE."CREATED_AT","UPDATED_AT" = DBT_INTERNAL_SOURCE."UPDATED_AT","DESCRIPTION" = DBT_INTERNAL_SOURCE."DESCRIPTION","SUB_TYPE_ID" = DBT_INTERNAL_SOURCE."SUB_TYPE_ID","RAW_DESCRIPTION" = DBT_INTERNAL_SOURCE."RAW_DESCRIPTION","TITLE_IN_PORTAL" = DBT_INTERNAL_SOURCE."TITLE_IN_PORTAL","AGENT_DESCRIPTION" = DBT_INTERNAL_SOURCE."AGENT_DESCRIPTION","VISIBLE_IN_PORTAL" = DBT_INTERNAL_SOURCE."VISIBLE_IN_PORTAL","EDITABLE_IN_PORTAL" = DBT_INTERNAL_SOURCE."EDITABLE_IN_PORTAL","REQUIRED_IN_PORTAL" = DBT_INTERNAL_SOURCE."REQUIRED_IN_PORTAL","RAW_TITLE_IN_PORTAL" = DBT_INTERNAL_SOURCE."RAW_TITLE_IN_PORTAL","COLLAPSED_FOR_AGENTS" = DBT_INTERNAL_SOURCE."COLLAPSED_FOR_AGENTS","CUSTOM_FIELD_OPTIONS" = DBT_INTERNAL_SOURCE."CUSTOM_FIELD_OPTIONS","SYSTEM_FIELD_OPTIONS" = DBT_INTERNAL_SOURCE."SYSTEM_FIELD_OPTIONS","REGEXP_FOR_VALIDATION" = DBT_INTERNAL_SOURCE."REGEXP_FOR_VALIDATION","_AIRBYTE_AB_ID" = DBT_INTERNAL_SOURCE."_AIRBYTE_AB_ID","_AIRBYTE_EMITTED_AT" = DBT_INTERNAL_SOURCE."_AIRBYTE_EMITTED_AT","_AIRBYTE_NORMALIZED_AT" = DBT_INTERNAL_SOURCE."_AIRBYTE_NORMALIZED_AT","_AIRBYTE_TICKET_FIELDS_HASHID" = DBT_INTERNAL_SOURCE."_AIRBYTE_TICKET_FIELDS_HASHID" 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > when not matched then insert 2022-04-22 10:56:35 normalization > ("_AIRBYTE_UNIQUE_KEY", "ID", "TAG", "URL", "TYPE", "TITLE", "ACTIVE", "POSITION", "REQUIRED", "RAW_TITLE", "REMOVABLE", "CREATED_AT", "UPDATED_AT", "DESCRIPTION", "SUB_TYPE_ID", "RAW_DESCRIPTION", "TITLE_IN_PORTAL", "AGENT_DESCRIPTION", "VISIBLE_IN_PORTAL", "EDITABLE_IN_PORTAL", "REQUIRED_IN_PORTAL", "RAW_TITLE_IN_PORTAL", "COLLAPSED_FOR_AGENTS", "CUSTOM_FIELD_OPTIONS", "SYSTEM_FIELD_OPTIONS", "REGEXP_FOR_VALIDATION", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_TICKET_FIELDS_HASHID") 2022-04-22 10:56:35 normalization > values 2022-04-22 10:56:35 normalization > ("_AIRBYTE_UNIQUE_KEY", "ID", "TAG", "URL", "TYPE", "TITLE", "ACTIVE", "POSITION", "REQUIRED", "RAW_TITLE", "REMOVABLE", "CREATED_AT", "UPDATED_AT", "DESCRIPTION", "SUB_TYPE_ID", "RAW_DESCRIPTION", "TITLE_IN_PORTAL", "AGENT_DESCRIPTION", "VISIBLE_IN_PORTAL", "EDITABLE_IN_PORTAL", "REQUIRED_IN_PORTAL", "RAW_TITLE_IN_PORTAL", "COLLAPSED_FOR_AGENTS", "CUSTOM_FIELD_OPTIONS", "SYSTEM_FIELD_OPTIONS", "REGEXP_FOR_VALIDATION", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_TICKET_FIELDS_HASHID") 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ; 2022-04-22 10:56:35 normalization > 10:55:48.234228 [debug] [Thread-2 ]: SQL status: SUCCESS 41 in 0.1 seconds 2022-04-22 10:56:35 normalization > 10:55:48.241500 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKETS" 2022-04-22 10:56:35 normalization > 10:55:48.241738 [debug] [Thread-2 ]: On model.airbyte_utils.TICKETS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS" 2022-04-22 10:56:35 normalization > 10:55:48.314868 [debug] [Thread-2 ]: SQL status: SUCCESS 41 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:55:48.321608 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKETS" 2022-04-22 10:56:35 normalization > 10:55:48.321816 [debug] [Thread-2 ]: On model.airbyte_utils.TICKETS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:55:48.337113 [debug] [Thread-4 ]: SQL status: SUCCESS 11 in 0.75 seconds 2022-04-22 10:56:35 normalization > 10:55:48.347425 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_METRIC_EVENTS" 2022-04-22 10:56:35 normalization > 10:55:48.347644 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_METRIC_EVENTS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_METRIC_EVENTS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_METRIC_EVENTS" 2022-04-22 10:56:35 normalization > 10:55:48.390449 [debug] [Thread-2 ]: SQL status: SUCCESS 41 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:55:48.396938 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKETS" 2022-04-22 10:56:35 normalization > 10:55:48.397299 [debug] [Thread-2 ]: On model.airbyte_utils.TICKETS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKETS" 2022-04-22 10:56:35 normalization > 10:55:48.402017 [debug] [Thread-4 ]: SQL status: SUCCESS 11 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:55:48.404744 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_METRIC_EVENTS" 2022-04-22 10:56:35 normalization > 10:55:48.404942 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_METRIC_EVENTS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_METRIC_EVENTS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_METRIC_EVENTS" 2022-04-22 10:56:35 normalization > 10:55:48.470639 [debug] [Thread-2 ]: SQL status: SUCCESS 41 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:55:48.481234 [debug] [Thread-2 ]: 2022-04-22 10:56:35 normalization > In "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKETS": 2022-04-22 10:56:35 normalization > Schema changed: False 2022-04-22 10:56:35 normalization > Source columns not in target: [] 2022-04-22 10:56:35 normalization > Target columns not in source: [] 2022-04-22 10:56:35 normalization > New column types: [] 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 10:55:48.483834 [debug] [Thread-2 ]: Writing runtime SQL for node "model.airbyte_utils.TICKETS" 2022-04-22 10:56:35 normalization > 10:55:48.487951 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKETS" 2022-04-22 10:56:35 normalization > 10:55:48.488157 [debug] [Thread-2 ]: On model.airbyte_utils.TICKETS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS"} */ 2022-04-22 10:56:35 normalization > begin; 2022-04-22 10:56:35 normalization > 10:55:48.547461 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 0.59 seconds 2022-04-22 10:56:35 normalization > 10:55:48.547773 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_FORMS" 2022-04-22 10:56:35 normalization > 10:55:48.547890 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_FORMS: commit; 2022-04-22 10:56:35 normalization > 10:55:48.570953 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 0.08 seconds 2022-04-22 10:56:35 normalization > 10:55:48.571410 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKETS" 2022-04-22 10:56:35 normalization > 10:55:48.571522 [debug] [Thread-2 ]: On model.airbyte_utils.TICKETS: merge into "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS" as DBT_INTERNAL_DEST 2022-04-22 10:56:35 normalization > using "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS__dbt_tmp" as DBT_INTERNAL_SOURCE 2022-04-22 10:56:35 normalization > on 2022-04-22 10:56:35 normalization > DBT_INTERNAL_SOURCE._AIRBYTE_UNIQUE_KEY = DBT_INTERNAL_DEST._AIRBYTE_UNIQUE_KEY 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > when matched then update set 2022-04-22 10:56:35 normalization > "_AIRBYTE_UNIQUE_KEY" = DBT_INTERNAL_SOURCE."_AIRBYTE_UNIQUE_KEY","ID" = DBT_INTERNAL_SOURCE."ID","URL" = DBT_INTERNAL_SOURCE."URL","VIA" = DBT_INTERNAL_SOURCE."VIA","TAGS" = DBT_INTERNAL_SOURCE."TAGS","TYPE" = DBT_INTERNAL_SOURCE."TYPE","DUE_AT" = DBT_INTERNAL_SOURCE."DUE_AT","STATUS" = DBT_INTERNAL_SOURCE."STATUS","SUBJECT" = DBT_INTERNAL_SOURCE."SUBJECT","BRAND_ID" = DBT_INTERNAL_SOURCE."BRAND_ID","GROUP_ID" = DBT_INTERNAL_SOURCE."GROUP_ID","PRIORITY" = DBT_INTERNAL_SOURCE."PRIORITY","IS_PUBLIC" = DBT_INTERNAL_SOURCE."IS_PUBLIC","RECIPIENT" = DBT_INTERNAL_SOURCE."RECIPIENT","CREATED_AT" = DBT_INTERNAL_SOURCE."CREATED_AT","PROBLEM_ID" = DBT_INTERNAL_SOURCE."PROBLEM_ID","UPDATED_AT" = DBT_INTERNAL_SOURCE."UPDATED_AT","ASSIGNEE_ID" = DBT_INTERNAL_SOURCE."ASSIGNEE_ID","DESCRIPTION" = DBT_INTERNAL_SOURCE."DESCRIPTION","EXTERNAL_ID" = DBT_INTERNAL_SOURCE."EXTERNAL_ID","RAW_SUBJECT" = DBT_INTERNAL_SOURCE."RAW_SUBJECT","EMAIL_CC_IDS" = DBT_INTERNAL_SOURCE."EMAIL_CC_IDS","FOLLOWER_IDS" = DBT_INTERNAL_SOURCE."FOLLOWER_IDS","FOLLOWUP_IDS" = DBT_INTERNAL_SOURCE."FOLLOWUP_IDS","REQUESTER_ID" = DBT_INTERNAL_SOURCE."REQUESTER_ID","SUBMITTER_ID" = DBT_INTERNAL_SOURCE."SUBMITTER_ID","CUSTOM_FIELDS" = DBT_INTERNAL_SOURCE."CUSTOM_FIELDS","HAS_INCIDENTS" = DBT_INTERNAL_SOURCE."HAS_INCIDENTS","FORUM_TOPIC_ID" = DBT_INTERNAL_SOURCE."FORUM_TOPIC_ID","TICKET_FORM_ID" = DBT_INTERNAL_SOURCE."TICKET_FORM_ID","ORGANIZATION_ID" = DBT_INTERNAL_SOURCE."ORGANIZATION_ID","COLLABORATOR_IDS" = DBT_INTERNAL_SOURCE."COLLABORATOR_IDS","ALLOW_ATTACHMENTS" = DBT_INTERNAL_SOURCE."ALLOW_ATTACHMENTS","ALLOW_CHANNELBACK" = DBT_INTERNAL_SOURCE."ALLOW_CHANNELBACK","GENERATED_TIMESTAMP" = DBT_INTERNAL_SOURCE."GENERATED_TIMESTAMP","SATISFACTION_RATING" = DBT_INTERNAL_SOURCE."SATISFACTION_RATING","SHARING_AGREEMENT_IDS" = DBT_INTERNAL_SOURCE."SHARING_AGREEMENT_IDS","_AIRBYTE_AB_ID" = DBT_INTERNAL_SOURCE."_AIRBYTE_AB_ID","_AIRBYTE_EMITTED_AT" = DBT_INTERNAL_SOURCE."_AIRBYTE_EMITTED_AT","_AIRBYTE_NORMALIZED_AT" = DBT_INTERNAL_SOURCE."_AIRBYTE_NORMALIZED_AT","_AIRBYTE_TICKETS_HASHID" = DBT_INTERNAL_SOURCE."_AIRBYTE_TICKETS_HASHID" 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > when not matched then insert 2022-04-22 10:56:35 normalization > ("_AIRBYTE_UNIQUE_KEY", "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", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_TICKETS_HASHID") 2022-04-22 10:56:35 normalization > values 2022-04-22 10:56:35 normalization > ("_AIRBYTE_UNIQUE_KEY", "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", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_TICKETS_HASHID") 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ; 2022-04-22 10:56:35 normalization > 10:55:48.674419 [debug] [Thread-5 ]: SQL status: SUCCESS 40 in 0.89 seconds 2022-04-22 10:56:35 normalization > 10:55:48.674722 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS" 2022-04-22 10:56:35 normalization > 10:55:48.674841 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_COMMENTS: commit; 2022-04-22 10:56:35 normalization > 10:55:48.741009 [debug] [Thread-4 ]: SQL status: SUCCESS 1 in 0.34 seconds 2022-04-22 10:56:35 normalization > 10:55:48.753608 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_METRIC_EVENTS" 2022-04-22 10:56:35 normalization > 10:55:48.753863 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_METRIC_EVENTS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_METRIC_EVENTS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_METRIC_EVENTS" 2022-04-22 10:56:35 normalization > 10:55:48.803285 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 0.26 seconds 2022-04-22 10:56:35 normalization > 10:55:48.808184 [debug] [Thread-3 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:48.809319 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_FORMS: Close 2022-04-22 10:56:35 normalization > 10:55:48.810005 [debug] [Thread-4 ]: SQL status: SUCCESS 11 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:55:48.815942 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_METRIC_EVENTS" 2022-04-22 10:56:35 normalization > 10:55:48.817568 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_METRIC_EVENTS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_METRIC_EVENTS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_METRIC_EVENTS" 2022-04-22 10:56:35 normalization > 10:55:48.873877 [debug] [Thread-4 ]: SQL status: SUCCESS 1 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:55:48.876966 [debug] [Thread-4 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_METRIC_EVENTS" 2022-04-22 10:56:35 normalization > 10:55:48.877346 [debug] [Thread-4 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:48.877501 [debug] [Thread-4 ]: Began executing node model.airbyte_utils.TICKET_METRIC_EVENTS 2022-04-22 10:56:35 normalization > 10:55:48.883009 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_METRIC_EVENTS" 2022-04-22 10:56:35 normalization > 10:55:48.883174 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_METRIC_EVENTS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_METRIC_EVENTS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_METRIC_EVENTS" 2022-04-22 10:56:35 normalization > 10:55:48.924454 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 0.76 seconds 2022-04-22 10:56:35 normalization > 10:55:48.924762 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_FIELDS" 2022-04-22 10:56:35 normalization > 10:55:48.924883 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_FIELDS: commit; 2022-04-22 10:56:35 normalization > 10:55:48.925816 [info ] [Thread-3 ]: 36 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_FORMS...................................................... [SUCCESS 1 in 3.85s] 2022-04-22 10:56:35 normalization > 10:55:48.928738 [debug] [Thread-3 ]: Finished running node model.airbyte_utils.TICKET_FORMS 2022-04-22 10:56:35 normalization > 10:55:48.929301 [debug] [Thread-3 ]: Began running node model.airbyte_utils.TICKET_AUDITS_EVENTS_AB2 2022-04-22 10:56:35 normalization > 10:55:48.930043 [debug] [Thread-3 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_AB2" 2022-04-22 10:56:35 normalization > 10:55:48.930188 [debug] [Thread-3 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS_EVENTS_AB2 2022-04-22 10:56:35 normalization > 10:55:48.930308 [debug] [Thread-3 ]: Compiling model.airbyte_utils.TICKET_AUDITS_EVENTS_AB2 2022-04-22 10:56:35 normalization > 10:55:48.949969 [debug] [Thread-5 ]: SQL status: SUCCESS 1 in 0.28 seconds 2022-04-22 10:56:35 normalization > 10:55:48.951037 [debug] [Thread-4 ]: SQL status: SUCCESS 11 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:55:48.964869 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:48.978692 [debug] [Thread-3 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS_EVENTS_AB2" 2022-04-22 10:56:35 normalization > 10:55:48.988190 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_METRIC_EVENTS" 2022-04-22 10:56:35 normalization > 10:55:48.988529 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_COMMENTS: Close 2022-04-22 10:56:35 normalization > 10:55:48.988880 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_METRIC_EVENTS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_METRIC_EVENTS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace temporary table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_METRIC_EVENTS__dbt_tmp" as 2022-04-22 10:56:35 normalization > (select * from( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- Final base SQL model 2022-04-22 10:56:35 normalization > -- depends_on: "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_METRIC_EVENTS_SCD" 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_UNIQUE_KEY, 2022-04-22 10:56:35 normalization > ID, 2022-04-22 10:56:35 normalization > TIME, 2022-04-22 10:56:35 normalization > TYPE, 2022-04-22 10:56:35 normalization > METRIC, 2022-04-22 10:56:35 normalization > TICKET_ID, 2022-04-22 10:56:35 normalization > INSTANCE_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_TICKET_METRIC_EVENTS_HASHID 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_METRIC_EVENTS_SCD" 2022-04-22 10:56:35 normalization > -- TICKET_METRIC_EVENTS from "AIRBYTE_DB".ZENDESK_SUPPORT._AIRBYTE_RAW_TICKET_METRIC_EVENTS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > and _AIRBYTE_ACTIVE_ROW = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > and cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) >= 2022-04-22 10:56:35 normalization > cast('2022-04-22 10:49:14.666000-07:00' as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ) order by (_AIRBYTE_UNIQUE_KEY, _AIRBYTE_EMITTED_AT) 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:55:48.989213 [debug] [Thread-3 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:48.993209 [debug] [Thread-3 ]: Finished running node model.airbyte_utils.TICKET_AUDITS_EVENTS_AB2 2022-04-22 10:56:35 normalization > 10:55:48.994471 [debug] [Thread-3 ]: Began running node model.airbyte_utils.TICKET_AUDITS_METADATA_AB2 2022-04-22 10:56:35 normalization > 10:55:48.995144 [debug] [Thread-3 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_AB2" 2022-04-22 10:56:35 normalization > 10:55:48.995574 [debug] [Thread-3 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS_METADATA_AB2 2022-04-22 10:56:35 normalization > 10:55:48.996186 [debug] [Thread-3 ]: Compiling model.airbyte_utils.TICKET_AUDITS_METADATA_AB2 2022-04-22 10:56:35 normalization > 10:55:49.018272 [debug] [Thread-3 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS_METADATA_AB2" 2022-04-22 10:56:35 normalization > 10:55:49.022354 [debug] [Thread-3 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:49.023155 [debug] [Thread-3 ]: Finished running node model.airbyte_utils.TICKET_AUDITS_METADATA_AB2 2022-04-22 10:56:35 normalization > 10:55:49.023481 [debug] [Thread-3 ]: Began running node model.airbyte_utils.TICKET_AUDITS_VIA_AB2 2022-04-22 10:56:35 normalization > 10:55:49.024321 [debug] [Thread-3 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS_VIA_AB2" 2022-04-22 10:56:35 normalization > 10:55:49.024807 [debug] [Thread-3 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS_VIA_AB2 2022-04-22 10:56:35 normalization > 10:55:49.025074 [debug] [Thread-3 ]: Compiling model.airbyte_utils.TICKET_AUDITS_VIA_AB2 2022-04-22 10:56:35 normalization > 10:55:49.040268 [debug] [Thread-3 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS_VIA_AB2" 2022-04-22 10:56:35 normalization > 10:55:49.040712 [debug] [Thread-3 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:49.041229 [debug] [Thread-3 ]: Finished running node model.airbyte_utils.TICKET_AUDITS_VIA_AB2 2022-04-22 10:56:35 normalization > 10:55:49.041467 [debug] [Thread-3 ]: Began running node model.airbyte_utils.USERS 2022-04-22 10:56:35 normalization > 10:55:49.042070 [info ] [Thread-3 ]: 42 of 95 START incremental model ZENDESK_SUPPORT.USERS.................................................................. [RUN] 2022-04-22 10:56:35 normalization > 10:55:49.042892 [debug] [Thread-3 ]: Acquiring new snowflake connection "model.airbyte_utils.USERS" 2022-04-22 10:56:35 normalization > 10:55:49.043075 [debug] [Thread-3 ]: Began compiling node model.airbyte_utils.USERS 2022-04-22 10:56:35 normalization > 10:55:49.043243 [debug] [Thread-3 ]: Compiling model.airbyte_utils.USERS 2022-04-22 10:56:35 normalization > 10:55:49.058067 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.USERS" 2022-04-22 10:56:35 normalization > 10:55:49.058307 [debug] [Thread-3 ]: On model.airbyte_utils.USERS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.USERS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."USERS" 2022-04-22 10:56:35 normalization > 10:55:49.058455 [debug] [Thread-3 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:55:49.120602 [info ] [Thread-5 ]: 37 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_COMMENTS................................................... [SUCCESS 1 in 4.02s] 2022-04-22 10:56:35 normalization > 10:55:49.152060 [debug] [Thread-5 ]: Finished running node model.airbyte_utils.TICKET_COMMENTS 2022-04-22 10:56:35 normalization > 10:55:49.172956 [debug] [Thread-5 ]: Began running node model.airbyte_utils.USERS_PHOTO_AB1 2022-04-22 10:56:35 normalization > 10:55:49.189379 [debug] [Thread-5 ]: Acquiring new snowflake connection "model.airbyte_utils.USERS_PHOTO_AB1" 2022-04-22 10:56:35 normalization > 10:55:49.196057 [debug] [Thread-5 ]: Began compiling node model.airbyte_utils.USERS_PHOTO_AB1 2022-04-22 10:56:35 normalization > 10:55:49.196745 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 0.27 seconds 2022-04-22 10:56:35 normalization > 10:55:49.210747 [debug] [Thread-5 ]: Compiling model.airbyte_utils.USERS_PHOTO_AB1 2022-04-22 10:56:35 normalization > 10:55:49.215285 [debug] [Thread-1 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:49.237710 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_FIELDS: Close 2022-04-22 10:56:35 normalization > 10:55:49.248367 [debug] [Thread-5 ]: Writing injected SQL for node "model.airbyte_utils.USERS_PHOTO_AB1" 2022-04-22 10:56:35 normalization > 10:55:49.250255 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:49.250777 [debug] [Thread-5 ]: Finished running node model.airbyte_utils.USERS_PHOTO_AB1 2022-04-22 10:56:35 normalization > 10:55:49.251016 [debug] [Thread-5 ]: Began running node model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_AB2 2022-04-22 10:56:35 normalization > 10:55:49.251624 [debug] [Thread-5 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_AB2" 2022-04-22 10:56:35 normalization > 10:55:49.251828 [debug] [Thread-5 ]: Began compiling node model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_AB2 2022-04-22 10:56:35 normalization > 10:55:49.252215 [debug] [Thread-5 ]: Compiling model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_AB2 2022-04-22 10:56:35 normalization > 10:55:49.274949 [debug] [Thread-5 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_AB2" 2022-04-22 10:56:35 normalization > 10:55:49.276750 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:49.277799 [debug] [Thread-5 ]: Finished running node model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_AB2 2022-04-22 10:56:35 normalization > 10:55:49.278042 [debug] [Thread-5 ]: Began running node model.airbyte_utils.TICKET_COMMENTS_METADATA_AB2 2022-04-22 10:56:35 normalization > 10:55:49.279308 [debug] [Thread-5 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_AB2" 2022-04-22 10:56:35 normalization > 10:55:49.279631 [debug] [Thread-5 ]: Began compiling node model.airbyte_utils.TICKET_COMMENTS_METADATA_AB2 2022-04-22 10:56:35 normalization > 10:55:49.279836 [debug] [Thread-5 ]: Compiling model.airbyte_utils.TICKET_COMMENTS_METADATA_AB2 2022-04-22 10:56:35 normalization > 10:55:49.294403 [debug] [Thread-5 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_COMMENTS_METADATA_AB2" 2022-04-22 10:56:35 normalization > 10:55:49.295135 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:49.295594 [debug] [Thread-5 ]: Finished running node model.airbyte_utils.TICKET_COMMENTS_METADATA_AB2 2022-04-22 10:56:35 normalization > 10:55:49.295818 [debug] [Thread-5 ]: Began running node model.airbyte_utils.TICKET_COMMENTS_VIA_AB2 2022-04-22 10:56:35 normalization > 10:55:49.296196 [debug] [Thread-5 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_COMMENTS_VIA_AB2" 2022-04-22 10:56:35 normalization > 10:55:49.297186 [debug] [Thread-5 ]: Began compiling node model.airbyte_utils.TICKET_COMMENTS_VIA_AB2 2022-04-22 10:56:35 normalization > 10:55:49.297362 [debug] [Thread-5 ]: Compiling model.airbyte_utils.TICKET_COMMENTS_VIA_AB2 2022-04-22 10:56:35 normalization > 10:55:49.310173 [debug] [Thread-5 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_COMMENTS_VIA_AB2" 2022-04-22 10:56:35 normalization > 10:55:49.311227 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:49.311656 [debug] [Thread-5 ]: Finished running node model.airbyte_utils.TICKET_COMMENTS_VIA_AB2 2022-04-22 10:56:35 normalization > 10:55:49.311923 [debug] [Thread-5 ]: Began running node model.airbyte_utils.TICKET_FIELDS_CUSTOM_FIELD_OPTIONS_AB2 2022-04-22 10:56:35 normalization > 10:55:49.312795 [debug] [Thread-5 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_FIELDS_CUSTOM_FIELD_OPTIONS_AB2" 2022-04-22 10:56:35 normalization > 10:55:49.313019 [debug] [Thread-5 ]: Began compiling node model.airbyte_utils.TICKET_FIELDS_CUSTOM_FIELD_OPTIONS_AB2 2022-04-22 10:56:35 normalization > 10:55:49.313239 [debug] [Thread-5 ]: Compiling model.airbyte_utils.TICKET_FIELDS_CUSTOM_FIELD_OPTIONS_AB2 2022-04-22 10:56:35 normalization > 10:55:49.329200 [debug] [Thread-5 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_FIELDS_CUSTOM_FIELD_OPTIONS_AB2" 2022-04-22 10:56:35 normalization > 10:55:49.329787 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:49.330500 [debug] [Thread-5 ]: Finished running node model.airbyte_utils.TICKET_FIELDS_CUSTOM_FIELD_OPTIONS_AB2 2022-04-22 10:56:35 normalization > 10:55:49.330789 [debug] [Thread-5 ]: Began running node model.airbyte_utils.SCHEDULES_INTERVALS_AB3 2022-04-22 10:56:35 normalization > 10:55:49.331301 [debug] [Thread-5 ]: Acquiring new snowflake connection "model.airbyte_utils.SCHEDULES_INTERVALS_AB3" 2022-04-22 10:56:35 normalization > 10:55:49.331812 [debug] [Thread-5 ]: Began compiling node model.airbyte_utils.SCHEDULES_INTERVALS_AB3 2022-04-22 10:56:35 normalization > 10:55:49.332033 [debug] [Thread-5 ]: Compiling model.airbyte_utils.SCHEDULES_INTERVALS_AB3 2022-04-22 10:56:35 normalization > 10:55:49.346162 [debug] [Thread-5 ]: Writing injected SQL for node "model.airbyte_utils.SCHEDULES_INTERVALS_AB3" 2022-04-22 10:56:35 normalization > 10:55:49.346702 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:49.347160 [debug] [Thread-5 ]: Finished running node model.airbyte_utils.SCHEDULES_INTERVALS_AB3 2022-04-22 10:56:35 normalization > 10:55:49.347387 [debug] [Thread-5 ]: Began running node model.airbyte_utils.SLA_POLICIES_FILTER_AB3 2022-04-22 10:56:35 normalization > 10:55:49.353099 [debug] [Thread-5 ]: Acquiring new snowflake connection "model.airbyte_utils.SLA_POLICIES_FILTER_AB3" 2022-04-22 10:56:35 normalization > 10:55:49.354702 [debug] [Thread-5 ]: Began compiling node model.airbyte_utils.SLA_POLICIES_FILTER_AB3 2022-04-22 10:56:35 normalization > 10:55:49.354888 [debug] [Thread-5 ]: Compiling model.airbyte_utils.SLA_POLICIES_FILTER_AB3 2022-04-22 10:56:35 normalization > 10:55:49.366461 [info ] [Thread-1 ]: 38 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_FIELDS..................................................... [SUCCESS 1 in 3.73s] 2022-04-22 10:56:35 normalization > 10:55:49.369466 [debug] [Thread-5 ]: Writing injected SQL for node "model.airbyte_utils.SLA_POLICIES_FILTER_AB3" 2022-04-22 10:56:35 normalization > 10:55:49.370688 [debug] [Thread-1 ]: Finished running node model.airbyte_utils.TICKET_FIELDS 2022-04-22 10:56:35 normalization > 10:55:49.370953 [debug] [Thread-1 ]: Began running node model.airbyte_utils.SLA_POLICIES_POLICY_METRICS_AB3 2022-04-22 10:56:35 normalization > 10:55:49.371711 [debug] [Thread-1 ]: Acquiring new snowflake connection "model.airbyte_utils.SLA_POLICIES_POLICY_METRICS_AB3" 2022-04-22 10:56:35 normalization > 10:55:49.372020 [debug] [Thread-1 ]: Began compiling node model.airbyte_utils.SLA_POLICIES_POLICY_METRICS_AB3 2022-04-22 10:56:35 normalization > 10:55:49.372649 [debug] [Thread-1 ]: Compiling model.airbyte_utils.SLA_POLICIES_POLICY_METRICS_AB3 2022-04-22 10:56:35 normalization > 10:55:49.388171 [debug] [Thread-1 ]: Writing injected SQL for node "model.airbyte_utils.SLA_POLICIES_POLICY_METRICS_AB3" 2022-04-22 10:56:35 normalization > 10:55:49.388611 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:49.389240 [debug] [Thread-5 ]: Finished running node model.airbyte_utils.SLA_POLICIES_FILTER_AB3 2022-04-22 10:56:35 normalization > 10:55:49.389949 [debug] [Thread-5 ]: Began running node model.airbyte_utils.TICKETS_CUSTOM_FIELDS_AB2 2022-04-22 10:56:35 normalization > 10:55:49.390366 [debug] [Thread-5 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKETS_CUSTOM_FIELDS_AB2" 2022-04-22 10:56:35 normalization > 10:55:49.390823 [debug] [Thread-5 ]: Began compiling node model.airbyte_utils.TICKETS_CUSTOM_FIELDS_AB2 2022-04-22 10:56:35 normalization > 10:55:49.391021 [debug] [Thread-5 ]: Compiling model.airbyte_utils.TICKETS_CUSTOM_FIELDS_AB2 2022-04-22 10:56:35 normalization > 10:55:49.396437 [debug] [Thread-1 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:49.397066 [debug] [Thread-1 ]: Finished running node model.airbyte_utils.SLA_POLICIES_POLICY_METRICS_AB3 2022-04-22 10:56:35 normalization > 10:55:49.404873 [debug] [Thread-5 ]: Writing injected SQL for node "model.airbyte_utils.TICKETS_CUSTOM_FIELDS_AB2" 2022-04-22 10:56:35 normalization > 10:55:49.405144 [debug] [Thread-1 ]: Began running node model.airbyte_utils.TICKETS_SATISFACTION_RATING_AB2 2022-04-22 10:56:35 normalization > 10:55:49.406670 [debug] [Thread-1 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKETS_SATISFACTION_RATING_AB2" 2022-04-22 10:56:35 normalization > 10:55:49.406877 [debug] [Thread-1 ]: Began compiling node model.airbyte_utils.TICKETS_SATISFACTION_RATING_AB2 2022-04-22 10:56:35 normalization > 10:55:49.407446 [debug] [Thread-1 ]: Compiling model.airbyte_utils.TICKETS_SATISFACTION_RATING_AB2 2022-04-22 10:56:35 normalization > 10:55:49.440933 [debug] [Thread-1 ]: Writing injected SQL for node "model.airbyte_utils.TICKETS_SATISFACTION_RATING_AB2" 2022-04-22 10:56:35 normalization > 10:55:49.441664 [debug] [Thread-1 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:49.441871 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:49.442465 [debug] [Thread-1 ]: Finished running node model.airbyte_utils.TICKETS_SATISFACTION_RATING_AB2 2022-04-22 10:56:35 normalization > 10:55:49.443070 [debug] [Thread-5 ]: Finished running node model.airbyte_utils.TICKETS_CUSTOM_FIELDS_AB2 2022-04-22 10:56:35 normalization > 10:55:49.443413 [debug] [Thread-1 ]: Began running node model.airbyte_utils.TICKETS_VIA_AB2 2022-04-22 10:56:35 normalization > 10:55:49.443799 [debug] [Thread-5 ]: Began running node model.airbyte_utils.TICKET_METRICS_AGENT_WAIT_TIME_IN_MINUTES_AB2 2022-04-22 10:56:35 normalization > 10:55:49.444794 [debug] [Thread-1 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKETS_VIA_AB2" 2022-04-22 10:56:35 normalization > 10:55:49.445131 [debug] [Thread-5 ]: Finished running node model.airbyte_utils.TICKET_METRICS_AGENT_WAIT_TIME_IN_MINUTES_AB2 2022-04-22 10:56:35 normalization > 10:55:49.445388 [debug] [Thread-1 ]: Began compiling node model.airbyte_utils.TICKETS_VIA_AB2 2022-04-22 10:56:35 normalization > 10:55:49.445671 [debug] [Thread-5 ]: Began running node model.airbyte_utils.TICKET_METRICS_FIRST_RESOLUTION_TIME_IN_MINUTES_AB2 2022-04-22 10:56:35 normalization > 10:55:49.446426 [debug] [Thread-1 ]: Compiling model.airbyte_utils.TICKETS_VIA_AB2 2022-04-22 10:56:35 normalization > 10:55:49.447098 [debug] [Thread-5 ]: Finished running node model.airbyte_utils.TICKET_METRICS_FIRST_RESOLUTION_TIME_IN_MINUTES_AB2 2022-04-22 10:56:35 normalization > 10:55:49.462145 [debug] [Thread-1 ]: Writing injected SQL for node "model.airbyte_utils.TICKETS_VIA_AB2" 2022-04-22 10:56:35 normalization > 10:55:49.462579 [debug] [Thread-5 ]: Began running node model.airbyte_utils.TICKET_METRICS_FULL_RESOLUTION_TIME_IN_MINUTES_AB2 2022-04-22 10:56:35 normalization > 10:55:49.463815 [debug] [Thread-5 ]: Finished running node model.airbyte_utils.TICKET_METRICS_FULL_RESOLUTION_TIME_IN_MINUTES_AB2 2022-04-22 10:56:35 normalization > 10:55:49.464130 [debug] [Thread-5 ]: Began running node model.airbyte_utils.TICKET_METRICS_ON_HOLD_TIME_IN_MINUTES_AB2 2022-04-22 10:56:35 normalization > 10:55:49.464383 [debug] [Thread-5 ]: Finished running node model.airbyte_utils.TICKET_METRICS_ON_HOLD_TIME_IN_MINUTES_AB2 2022-04-22 10:56:35 normalization > 10:55:49.464603 [debug] [Thread-5 ]: Began running node model.airbyte_utils.TICKET_METRICS_REPLY_TIME_IN_MINUTES_AB2 2022-04-22 10:56:35 normalization > 10:55:49.464811 [debug] [Thread-5 ]: Finished running node model.airbyte_utils.TICKET_METRICS_REPLY_TIME_IN_MINUTES_AB2 2022-04-22 10:56:35 normalization > 10:55:49.465070 [debug] [Thread-5 ]: Began running node model.airbyte_utils.TICKET_METRICS_REQUESTER_WAIT_TIME_IN_MINUTES_AB2 2022-04-22 10:56:35 normalization > 10:55:49.465347 [debug] [Thread-5 ]: Finished running node model.airbyte_utils.TICKET_METRICS_REQUESTER_WAIT_TIME_IN_MINUTES_AB2 2022-04-22 10:56:35 normalization > 10:55:49.466413 [debug] [Thread-5 ]: Began running node model.airbyte_utils.TICKET_METRICS_STATUS_AB2 2022-04-22 10:56:35 normalization > 10:55:49.466612 [debug] [Thread-5 ]: Finished running node model.airbyte_utils.TICKET_METRICS_STATUS_AB2 2022-04-22 10:56:35 normalization > 10:55:49.466866 [debug] [Thread-5 ]: Began running node model.airbyte_utils.MACROS_ACTIONS_AB3 2022-04-22 10:56:35 normalization > 10:55:49.467734 [debug] [Thread-5 ]: Acquiring new snowflake connection "model.airbyte_utils.MACROS_ACTIONS_AB3" 2022-04-22 10:56:35 normalization > 10:55:49.468011 [debug] [Thread-5 ]: Began compiling node model.airbyte_utils.MACROS_ACTIONS_AB3 2022-04-22 10:56:35 normalization > 10:55:49.468541 [debug] [Thread-1 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:49.468732 [debug] [Thread-5 ]: Compiling model.airbyte_utils.MACROS_ACTIONS_AB3 2022-04-22 10:56:35 normalization > 10:55:49.469351 [debug] [Thread-1 ]: Finished running node model.airbyte_utils.TICKETS_VIA_AB2 2022-04-22 10:56:35 normalization > 10:55:49.480091 [debug] [Thread-1 ]: Began running node model.airbyte_utils.MACROS_RESTRICTION_AB3 2022-04-22 10:56:35 normalization > 10:55:49.480586 [debug] [Thread-1 ]: Acquiring new snowflake connection "model.airbyte_utils.MACROS_RESTRICTION_AB3" 2022-04-22 10:56:35 normalization > 10:55:49.480812 [debug] [Thread-1 ]: Began compiling node model.airbyte_utils.MACROS_RESTRICTION_AB3 2022-04-22 10:56:35 normalization > 10:55:49.481500 [debug] [Thread-1 ]: Compiling model.airbyte_utils.MACROS_RESTRICTION_AB3 2022-04-22 10:56:35 normalization > 10:55:49.485728 [debug] [Thread-5 ]: Writing injected SQL for node "model.airbyte_utils.MACROS_ACTIONS_AB3" 2022-04-22 10:56:35 normalization > 10:55:49.501346 [debug] [Thread-1 ]: Writing injected SQL for node "model.airbyte_utils.MACROS_RESTRICTION_AB3" 2022-04-22 10:56:35 normalization > 10:55:49.502872 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:49.503461 [debug] [Thread-5 ]: Finished running node model.airbyte_utils.MACROS_ACTIONS_AB3 2022-04-22 10:56:35 normalization > 10:55:49.503696 [debug] [Thread-5 ]: Began running node model.airbyte_utils.TICKET_AUDITS_EVENTS_AB3 2022-04-22 10:56:35 normalization > 10:55:49.504221 [debug] [Thread-5 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_AB3" 2022-04-22 10:56:35 normalization > 10:55:49.504427 [debug] [Thread-5 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS_EVENTS_AB3 2022-04-22 10:56:35 normalization > 10:55:49.504565 [debug] [Thread-1 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:49.504746 [debug] [Thread-5 ]: Compiling model.airbyte_utils.TICKET_AUDITS_EVENTS_AB3 2022-04-22 10:56:35 normalization > 10:55:49.506094 [debug] [Thread-1 ]: Finished running node model.airbyte_utils.MACROS_RESTRICTION_AB3 2022-04-22 10:56:35 normalization > 10:55:49.527104 [debug] [Thread-1 ]: Began running node model.airbyte_utils.TICKET_AUDITS_METADATA_AB3 2022-04-22 10:56:35 normalization > 10:55:49.553695 [debug] [Thread-1 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_AB3" 2022-04-22 10:56:35 normalization > 10:55:49.573724 [debug] [Thread-5 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS_EVENTS_AB3" 2022-04-22 10:56:35 normalization > 10:55:49.574047 [debug] [Thread-1 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS_METADATA_AB3 2022-04-22 10:56:35 normalization > 10:55:49.574580 [debug] [Thread-1 ]: Compiling model.airbyte_utils.TICKET_AUDITS_METADATA_AB3 2022-04-22 10:56:35 normalization > 10:55:49.590380 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:49.596740 [debug] [Thread-1 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS_METADATA_AB3" 2022-04-22 10:56:35 normalization > 10:55:49.597827 [debug] [Thread-5 ]: Finished running node model.airbyte_utils.TICKET_AUDITS_EVENTS_AB3 2022-04-22 10:56:35 normalization > 10:55:49.598788 [debug] [Thread-5 ]: Began running node model.airbyte_utils.TICKET_AUDITS_VIA_AB3 2022-04-22 10:56:35 normalization > 10:55:49.599285 [debug] [Thread-5 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS_VIA_AB3" 2022-04-22 10:56:35 normalization > 10:55:49.599527 [debug] [Thread-5 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS_VIA_AB3 2022-04-22 10:56:35 normalization > 10:55:49.599731 [debug] [Thread-5 ]: Compiling model.airbyte_utils.TICKET_AUDITS_VIA_AB3 2022-04-22 10:56:35 normalization > 10:55:49.614751 [debug] [Thread-5 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS_VIA_AB3" 2022-04-22 10:56:35 normalization > 10:55:49.615405 [debug] [Thread-1 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:49.615909 [debug] [Thread-1 ]: Finished running node model.airbyte_utils.TICKET_AUDITS_METADATA_AB3 2022-04-22 10:56:35 normalization > 10:55:49.616279 [debug] [Thread-1 ]: Began running node model.airbyte_utils.USERS_PHOTO_AB2 2022-04-22 10:56:35 normalization > 10:55:49.616678 [debug] [Thread-1 ]: Acquiring new snowflake connection "model.airbyte_utils.USERS_PHOTO_AB2" 2022-04-22 10:56:35 normalization > 10:55:49.617473 [debug] [Thread-1 ]: Began compiling node model.airbyte_utils.USERS_PHOTO_AB2 2022-04-22 10:56:35 normalization > 10:55:49.617799 [debug] [Thread-1 ]: Compiling model.airbyte_utils.USERS_PHOTO_AB2 2022-04-22 10:56:35 normalization > 10:55:49.618070 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:49.624146 [debug] [Thread-5 ]: Finished running node model.airbyte_utils.TICKET_AUDITS_VIA_AB3 2022-04-22 10:56:35 normalization > 10:55:49.624405 [debug] [Thread-5 ]: Began running node model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_AB3 2022-04-22 10:56:35 normalization > 10:55:49.624841 [debug] [Thread-5 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_AB3" 2022-04-22 10:56:35 normalization > 10:55:49.625457 [debug] [Thread-5 ]: Began compiling node model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_AB3 2022-04-22 10:56:35 normalization > 10:55:49.625699 [debug] [Thread-5 ]: Compiling model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_AB3 2022-04-22 10:56:35 normalization > 10:55:49.675744 [debug] [Thread-5 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_AB3" 2022-04-22 10:56:35 normalization > 10:55:49.676550 [debug] [Thread-1 ]: Writing injected SQL for node "model.airbyte_utils.USERS_PHOTO_AB2" 2022-04-22 10:56:35 normalization > 10:55:49.677725 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:49.678288 [debug] [Thread-5 ]: Finished running node model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_AB3 2022-04-22 10:56:35 normalization > 10:55:49.678553 [debug] [Thread-5 ]: Began running node model.airbyte_utils.TICKET_COMMENTS_METADATA_AB3 2022-04-22 10:56:35 normalization > 10:55:49.678976 [debug] [Thread-5 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_AB3" 2022-04-22 10:56:35 normalization > 10:55:49.679302 [debug] [Thread-1 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:49.679527 [debug] [Thread-5 ]: Began compiling node model.airbyte_utils.TICKET_COMMENTS_METADATA_AB3 2022-04-22 10:56:35 normalization > 10:55:49.680403 [debug] [Thread-1 ]: Finished running node model.airbyte_utils.USERS_PHOTO_AB2 2022-04-22 10:56:35 normalization > 10:55:49.680680 [debug] [Thread-5 ]: Compiling model.airbyte_utils.TICKET_COMMENTS_METADATA_AB3 2022-04-22 10:56:35 normalization > 10:55:49.681042 [debug] [Thread-1 ]: Began running node model.airbyte_utils.TICKET_COMMENTS_VIA_AB3 2022-04-22 10:56:35 normalization > 10:55:49.702130 [debug] [Thread-5 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_COMMENTS_METADATA_AB3" 2022-04-22 10:56:35 normalization > 10:55:49.702794 [debug] [Thread-1 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_COMMENTS_VIA_AB3" 2022-04-22 10:56:35 normalization > 10:55:49.703282 [debug] [Thread-1 ]: Began compiling node model.airbyte_utils.TICKET_COMMENTS_VIA_AB3 2022-04-22 10:56:35 normalization > 10:55:49.703501 [debug] [Thread-1 ]: Compiling model.airbyte_utils.TICKET_COMMENTS_VIA_AB3 2022-04-22 10:56:35 normalization > 10:55:49.718421 [debug] [Thread-1 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_COMMENTS_VIA_AB3" 2022-04-22 10:56:35 normalization > 10:55:49.718829 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:49.719600 [debug] [Thread-5 ]: Finished running node model.airbyte_utils.TICKET_COMMENTS_METADATA_AB3 2022-04-22 10:56:35 normalization > 10:55:49.719918 [debug] [Thread-5 ]: Began running node model.airbyte_utils.TICKET_FIELDS_CUSTOM_FIELD_OPTIONS_AB3 2022-04-22 10:56:35 normalization > 10:55:49.720345 [debug] [Thread-5 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_FIELDS_CUSTOM_FIELD_OPTIONS_AB3" 2022-04-22 10:56:35 normalization > 10:55:49.720597 [debug] [Thread-5 ]: Began compiling node model.airbyte_utils.TICKET_FIELDS_CUSTOM_FIELD_OPTIONS_AB3 2022-04-22 10:56:35 normalization > 10:55:49.721263 [debug] [Thread-5 ]: Compiling model.airbyte_utils.TICKET_FIELDS_CUSTOM_FIELD_OPTIONS_AB3 2022-04-22 10:56:35 normalization > 10:55:49.732287 [debug] [Thread-1 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:49.737939 [debug] [Thread-1 ]: Finished running node model.airbyte_utils.TICKET_COMMENTS_VIA_AB3 2022-04-22 10:56:35 normalization > 10:55:49.741353 [debug] [Thread-5 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_FIELDS_CUSTOM_FIELD_OPTIONS_AB3" 2022-04-22 10:56:35 normalization > 10:55:49.741709 [debug] [Thread-1 ]: Began running node model.airbyte_utils.SCHEDULES_INTERVALS 2022-04-22 10:56:35 normalization > 10:55:49.742776 [info ] [Thread-1 ]: 43 of 95 START table model ZENDESK_SUPPORT.SCHEDULES_INTERVALS.......................................................... [RUN] 2022-04-22 10:56:35 normalization > 10:55:49.743560 [debug] [Thread-1 ]: Acquiring new snowflake connection "model.airbyte_utils.SCHEDULES_INTERVALS" 2022-04-22 10:56:35 normalization > 10:55:49.743870 [debug] [Thread-1 ]: Began compiling node model.airbyte_utils.SCHEDULES_INTERVALS 2022-04-22 10:56:35 normalization > 10:55:49.744284 [debug] [Thread-1 ]: Compiling model.airbyte_utils.SCHEDULES_INTERVALS 2022-04-22 10:56:35 normalization > 10:55:49.754378 [debug] [Thread-1 ]: Writing injected SQL for node "model.airbyte_utils.SCHEDULES_INTERVALS" 2022-04-22 10:56:35 normalization > 10:55:49.755845 [debug] [Thread-4 ]: SQL status: SUCCESS 1 in 0.76 seconds 2022-04-22 10:56:35 normalization > 10:55:49.762118 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:49.762795 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_METRIC_EVENTS" 2022-04-22 10:56:35 normalization > 10:55:49.763314 [debug] [Thread-5 ]: Finished running node model.airbyte_utils.TICKET_FIELDS_CUSTOM_FIELD_OPTIONS_AB3 2022-04-22 10:56:35 normalization > 10:55:49.763653 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_METRIC_EVENTS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_METRIC_EVENTS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_METRIC_EVENTS__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:55:49.763960 [debug] [Thread-5 ]: Began running node model.airbyte_utils.SLA_POLICIES_FILTER 2022-04-22 10:56:35 normalization > 10:55:49.764570 [debug] [Thread-1 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:49.767102 [info ] [Thread-5 ]: 44 of 95 START table model ZENDESK_SUPPORT.SLA_POLICIES_FILTER.......................................................... [RUN] 2022-04-22 10:56:35 normalization > 10:55:49.767516 [debug] [Thread-1 ]: Began executing node model.airbyte_utils.SCHEDULES_INTERVALS 2022-04-22 10:56:35 normalization > 10:55:49.769444 [debug] [Thread-5 ]: Acquiring new snowflake connection "model.airbyte_utils.SLA_POLICIES_FILTER" 2022-04-22 10:56:35 normalization > 10:55:49.866850 [debug] [Thread-5 ]: Began compiling node model.airbyte_utils.SLA_POLICIES_FILTER 2022-04-22 10:56:35 normalization > 10:55:49.867127 [debug] [Thread-5 ]: Compiling model.airbyte_utils.SLA_POLICIES_FILTER 2022-04-22 10:56:35 normalization > 10:55:49.896734 [debug] [Thread-1 ]: Writing runtime SQL for node "model.airbyte_utils.SCHEDULES_INTERVALS" 2022-04-22 10:56:35 normalization > 10:55:49.897036 [debug] [Thread-5 ]: Writing injected SQL for node "model.airbyte_utils.SLA_POLICIES_FILTER" 2022-04-22 10:56:35 normalization > 10:55:49.898302 [debug] [Thread-4 ]: SQL status: SUCCESS 11 in 0.13 seconds 2022-04-22 10:56:35 normalization > 10:55:49.903907 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_METRIC_EVENTS" 2022-04-22 10:56:35 normalization > 10:55:49.904341 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_METRIC_EVENTS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_METRIC_EVENTS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_METRIC_EVENTS" 2022-04-22 10:56:35 normalization > 10:55:49.910266 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.SCHEDULES_INTERVALS" 2022-04-22 10:56:35 normalization > 10:55:49.910730 [debug] [Thread-1 ]: On model.airbyte_utils.SCHEDULES_INTERVALS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.SCHEDULES_INTERVALS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace table "AIRBYTE_DB".ZENDESK_SUPPORT."SCHEDULES_INTERVALS" as 2022-04-22 10:56:35 normalization > (select * from( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > with __dbt__cte__SCHEDULES_INTERVALS_AB1 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to parse JSON blob stored in a single column and extract into separated field columns as described by the JSON Schema 2022-04-22 10:56:35 normalization > -- depends_on: "AIRBYTE_DB".ZENDESK_SUPPORT."SCHEDULES" 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_SCHEDULES_HASHID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(INTERVALS.value), '"end_time"')) as END_TIME, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(INTERVALS.value), '"start_time"')) as START_TIME, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."SCHEDULES" as table_alias 2022-04-22 10:56:35 normalization > -- INTERVALS at schedules/intervals 2022-04-22 10:56:35 normalization > cross join table(flatten(INTERVALS)) as INTERVALS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > and INTERVALS is not null 2022-04-22 10:56:35 normalization > ), __dbt__cte__SCHEDULES_INTERVALS_AB2 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to cast each column to its adequate SQL type converted from the JSON schema type 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__SCHEDULES_INTERVALS_AB1 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_SCHEDULES_HASHID, 2022-04-22 10:56:35 normalization > cast(END_TIME as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as END_TIME, 2022-04-22 10:56:35 normalization > cast(START_TIME as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as START_TIME, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from __dbt__cte__SCHEDULES_INTERVALS_AB1 2022-04-22 10:56:35 normalization > -- INTERVALS at schedules/intervals 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > ), __dbt__cte__SCHEDULES_INTERVALS_AB3 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to build a hash column based on the values of this record 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__SCHEDULES_INTERVALS_AB2 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(_AIRBYTE_SCHEDULES_HASHID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(END_TIME as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(START_TIME as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_INTERVALS_HASHID, 2022-04-22 10:56:35 normalization > tmp.* 2022-04-22 10:56:35 normalization > from __dbt__cte__SCHEDULES_INTERVALS_AB2 tmp 2022-04-22 10:56:35 normalization > -- INTERVALS at schedules/intervals 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > )-- Final base SQL model 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__SCHEDULES_INTERVALS_AB3 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_SCHEDULES_HASHID, 2022-04-22 10:56:35 normalization > END_TIME, 2022-04-22 10:56:35 normalization > START_TIME, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_INTERVALS_HASHID 2022-04-22 10:56:35 normalization > from __dbt__cte__SCHEDULES_INTERVALS_AB3 2022-04-22 10:56:35 normalization > -- INTERVALS at schedules/intervals from "AIRBYTE_DB".ZENDESK_SUPPORT."SCHEDULES" 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > ) order by (_AIRBYTE_EMITTED_AT) 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:55:49.911014 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:49.911417 [debug] [Thread-1 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:55:49.911691 [debug] [Thread-5 ]: Began executing node model.airbyte_utils.SLA_POLICIES_FILTER 2022-04-22 10:56:35 normalization > 10:55:49.923453 [debug] [Thread-5 ]: Writing runtime SQL for node "model.airbyte_utils.SLA_POLICIES_FILTER" 2022-04-22 10:56:35 normalization > 10:55:49.926530 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.SLA_POLICIES_FILTER" 2022-04-22 10:56:35 normalization > 10:55:49.927129 [debug] [Thread-5 ]: On model.airbyte_utils.SLA_POLICIES_FILTER: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.SLA_POLICIES_FILTER"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace table "AIRBYTE_DB".ZENDESK_SUPPORT."SLA_POLICIES_FILTER" as 2022-04-22 10:56:35 normalization > (select * from( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > with __dbt__cte__SLA_POLICIES_FILTER_AB1 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to parse JSON blob stored in a single column and extract into separated field columns as described by the JSON Schema 2022-04-22 10:56:35 normalization > -- depends_on: "AIRBYTE_DB".ZENDESK_SUPPORT."SLA_POLICIES" 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_SLA_POLICIES_HASHID, 2022-04-22 10:56:35 normalization > get_path(parse_json(FILTER), '"all"') as "all", 2022-04-22 10:56:35 normalization > get_path(parse_json(FILTER), '"any"') as "any", 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."SLA_POLICIES" as table_alias 2022-04-22 10:56:35 normalization > -- FILTER at sla_policies/filter 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > and FILTER is not null 2022-04-22 10:56:35 normalization > ), __dbt__cte__SLA_POLICIES_FILTER_AB2 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to cast each column to its adequate SQL type converted from the JSON schema type 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__SLA_POLICIES_FILTER_AB1 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_SLA_POLICIES_HASHID, 2022-04-22 10:56:35 normalization > "all", 2022-04-22 10:56:35 normalization > "any", 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from __dbt__cte__SLA_POLICIES_FILTER_AB1 2022-04-22 10:56:35 normalization > -- FILTER at sla_policies/filter 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > ), __dbt__cte__SLA_POLICIES_FILTER_AB3 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to build a hash column based on the values of this record 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__SLA_POLICIES_FILTER_AB2 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(_AIRBYTE_SLA_POLICIES_HASHID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast("all" as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast("any" as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_FILTER_HASHID, 2022-04-22 10:56:35 normalization > tmp.* 2022-04-22 10:56:35 normalization > from __dbt__cte__SLA_POLICIES_FILTER_AB2 tmp 2022-04-22 10:56:35 normalization > -- FILTER at sla_policies/filter 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > )-- Final base SQL model 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__SLA_POLICIES_FILTER_AB3 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_SLA_POLICIES_HASHID, 2022-04-22 10:56:35 normalization > "all", 2022-04-22 10:56:35 normalization > "any", 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_FILTER_HASHID 2022-04-22 10:56:35 normalization > from __dbt__cte__SLA_POLICIES_FILTER_AB3 2022-04-22 10:56:35 normalization > -- FILTER at sla_policies/filter from "AIRBYTE_DB".ZENDESK_SUPPORT."SLA_POLICIES" 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > ) order by (_AIRBYTE_EMITTED_AT) 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:55:49.927354 [debug] [Thread-5 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:55:49.963593 [debug] [Thread-4 ]: SQL status: SUCCESS 11 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:55:49.979203 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_METRIC_EVENTS" 2022-04-22 10:56:35 normalization > 10:55:49.979630 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_METRIC_EVENTS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_METRIC_EVENTS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_METRIC_EVENTS__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:55:50.085163 [debug] [Thread-4 ]: SQL status: SUCCESS 11 in 0.1 seconds 2022-04-22 10:56:35 normalization > 10:55:50.091942 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_METRIC_EVENTS" 2022-04-22 10:56:35 normalization > 10:55:50.093904 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_METRIC_EVENTS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_METRIC_EVENTS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_METRIC_EVENTS" 2022-04-22 10:56:35 normalization > 10:55:50.169462 [debug] [Thread-4 ]: SQL status: SUCCESS 11 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:55:50.175364 [debug] [Thread-4 ]: 2022-04-22 10:56:35 normalization > In "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_METRIC_EVENTS": 2022-04-22 10:56:35 normalization > Schema changed: False 2022-04-22 10:56:35 normalization > Source columns not in target: [] 2022-04-22 10:56:35 normalization > Target columns not in source: [] 2022-04-22 10:56:35 normalization > New column types: [] 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 10:55:50.178085 [debug] [Thread-4 ]: Writing runtime SQL for node "model.airbyte_utils.TICKET_METRIC_EVENTS" 2022-04-22 10:56:35 normalization > 10:55:50.188377 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_METRIC_EVENTS" 2022-04-22 10:56:35 normalization > 10:55:50.188581 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_METRIC_EVENTS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_METRIC_EVENTS"} */ 2022-04-22 10:56:35 normalization > begin; 2022-04-22 10:56:35 normalization > 10:55:50.281897 [debug] [Thread-4 ]: SQL status: SUCCESS 1 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:55:50.283174 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_METRIC_EVENTS" 2022-04-22 10:56:35 normalization > 10:55:50.283784 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_METRIC_EVENTS: merge into "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_METRIC_EVENTS" as DBT_INTERNAL_DEST 2022-04-22 10:56:35 normalization > using "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_METRIC_EVENTS__dbt_tmp" as DBT_INTERNAL_SOURCE 2022-04-22 10:56:35 normalization > on 2022-04-22 10:56:35 normalization > DBT_INTERNAL_SOURCE._AIRBYTE_UNIQUE_KEY = DBT_INTERNAL_DEST._AIRBYTE_UNIQUE_KEY 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > when matched then update set 2022-04-22 10:56:35 normalization > "_AIRBYTE_UNIQUE_KEY" = DBT_INTERNAL_SOURCE."_AIRBYTE_UNIQUE_KEY","ID" = DBT_INTERNAL_SOURCE."ID","TIME" = DBT_INTERNAL_SOURCE."TIME","TYPE" = DBT_INTERNAL_SOURCE."TYPE","METRIC" = DBT_INTERNAL_SOURCE."METRIC","TICKET_ID" = DBT_INTERNAL_SOURCE."TICKET_ID","INSTANCE_ID" = DBT_INTERNAL_SOURCE."INSTANCE_ID","_AIRBYTE_AB_ID" = DBT_INTERNAL_SOURCE."_AIRBYTE_AB_ID","_AIRBYTE_EMITTED_AT" = DBT_INTERNAL_SOURCE."_AIRBYTE_EMITTED_AT","_AIRBYTE_NORMALIZED_AT" = DBT_INTERNAL_SOURCE."_AIRBYTE_NORMALIZED_AT","_AIRBYTE_TICKET_METRIC_EVENTS_HASHID" = DBT_INTERNAL_SOURCE."_AIRBYTE_TICKET_METRIC_EVENTS_HASHID" 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > when not matched then insert 2022-04-22 10:56:35 normalization > ("_AIRBYTE_UNIQUE_KEY", "ID", "TIME", "TYPE", "METRIC", "TICKET_ID", "INSTANCE_ID", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_TICKET_METRIC_EVENTS_HASHID") 2022-04-22 10:56:35 normalization > values 2022-04-22 10:56:35 normalization > ("_AIRBYTE_UNIQUE_KEY", "ID", "TIME", "TYPE", "METRIC", "TICKET_ID", "INSTANCE_ID", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_TICKET_METRIC_EVENTS_HASHID") 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ; 2022-04-22 10:56:35 normalization > 10:55:50.289208 [debug] [Thread-3 ]: SQL status: SUCCESS 43 in 1.23 seconds 2022-04-22 10:56:35 normalization > 10:55:50.303424 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.USERS" 2022-04-22 10:56:35 normalization > 10:55:50.304237 [debug] [Thread-3 ]: On model.airbyte_utils.USERS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.USERS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."USERS" 2022-04-22 10:56:35 normalization > 10:55:50.353738 [debug] [Thread-2 ]: SQL status: SUCCESS 79 in 1.78 seconds 2022-04-22 10:56:35 normalization > 10:55:50.354241 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKETS" 2022-04-22 10:56:35 normalization > 10:55:50.354432 [debug] [Thread-2 ]: On model.airbyte_utils.TICKETS: commit; 2022-04-22 10:56:35 normalization > 10:55:50.449578 [debug] [Thread-3 ]: SQL status: SUCCESS 43 in 0.15 seconds 2022-04-22 10:56:35 normalization > 10:55:50.457188 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.USERS" 2022-04-22 10:56:35 normalization > 10:55:50.458714 [debug] [Thread-3 ]: On model.airbyte_utils.USERS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.USERS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."USERS" 2022-04-22 10:56:35 normalization > 10:55:50.673348 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 0.32 seconds 2022-04-22 10:56:35 normalization > 10:55:50.676866 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:50.677135 [debug] [Thread-2 ]: On model.airbyte_utils.TICKETS: Close 2022-04-22 10:56:35 normalization > 10:55:50.763959 [info ] [Thread-2 ]: 39 of 95 OK created incremental model ZENDESK_SUPPORT.TICKETS........................................................... [SUCCESS 1 in 4.69s] 2022-04-22 10:56:35 normalization > 10:55:50.764452 [debug] [Thread-2 ]: Finished running node model.airbyte_utils.TICKETS 2022-04-22 10:56:35 normalization > 10:55:50.764738 [debug] [Thread-2 ]: Began running node model.airbyte_utils.SLA_POLICIES_POLICY_METRICS 2022-04-22 10:56:35 normalization > 10:55:50.765116 [info ] [Thread-2 ]: 45 of 95 START table model ZENDESK_SUPPORT.SLA_POLICIES_POLICY_METRICS.................................................. [RUN] 2022-04-22 10:56:35 normalization > 10:55:50.765932 [debug] [Thread-2 ]: Acquiring new snowflake connection "model.airbyte_utils.SLA_POLICIES_POLICY_METRICS" 2022-04-22 10:56:35 normalization > 10:55:50.766146 [debug] [Thread-2 ]: Began compiling node model.airbyte_utils.SLA_POLICIES_POLICY_METRICS 2022-04-22 10:56:35 normalization > 10:55:50.766312 [debug] [Thread-2 ]: Compiling model.airbyte_utils.SLA_POLICIES_POLICY_METRICS 2022-04-22 10:56:35 normalization > 10:55:50.776386 [debug] [Thread-2 ]: Writing injected SQL for node "model.airbyte_utils.SLA_POLICIES_POLICY_METRICS" 2022-04-22 10:56:35 normalization > 10:55:50.776712 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:50.776843 [debug] [Thread-2 ]: Began executing node model.airbyte_utils.SLA_POLICIES_POLICY_METRICS 2022-04-22 10:56:35 normalization > 10:55:50.784190 [debug] [Thread-2 ]: Writing runtime SQL for node "model.airbyte_utils.SLA_POLICIES_POLICY_METRICS" 2022-04-22 10:56:35 normalization > 10:55:50.789594 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.SLA_POLICIES_POLICY_METRICS" 2022-04-22 10:56:35 normalization > 10:55:50.790228 [debug] [Thread-2 ]: On model.airbyte_utils.SLA_POLICIES_POLICY_METRICS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.SLA_POLICIES_POLICY_METRICS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace table "AIRBYTE_DB".ZENDESK_SUPPORT."SLA_POLICIES_POLICY_METRICS" as 2022-04-22 10:56:35 normalization > (select * from( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > with __dbt__cte__SLA_POLICIES_POLICY_METRICS_AB1 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to parse JSON blob stored in a single column and extract into separated field columns as described by the JSON Schema 2022-04-22 10:56:35 normalization > -- depends_on: "AIRBYTE_DB".ZENDESK_SUPPORT."SLA_POLICIES" 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_SLA_POLICIES_HASHID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(POLICY_METRICS.value), '"metric"')) as METRIC, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(POLICY_METRICS.value), '"target"')) as TARGET, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(POLICY_METRICS.value), '"priority"')) as PRIORITY, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(POLICY_METRICS.value), '"business_hours"')) as BUSINESS_HOURS, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."SLA_POLICIES" as table_alias 2022-04-22 10:56:35 normalization > -- POLICY_METRICS at sla_policies/policy_metrics 2022-04-22 10:56:35 normalization > cross join table(flatten(POLICY_METRICS)) as POLICY_METRICS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > and POLICY_METRICS is not null 2022-04-22 10:56:35 normalization > ), __dbt__cte__SLA_POLICIES_POLICY_METRICS_AB2 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to cast each column to its adequate SQL type converted from the JSON schema type 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__SLA_POLICIES_POLICY_METRICS_AB1 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_SLA_POLICIES_HASHID, 2022-04-22 10:56:35 normalization > cast(METRIC as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as METRIC, 2022-04-22 10:56:35 normalization > cast(TARGET as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as TARGET, 2022-04-22 10:56:35 normalization > cast(PRIORITY as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as PRIORITY, 2022-04-22 10:56:35 normalization > cast(BUSINESS_HOURS as boolean) as BUSINESS_HOURS, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from __dbt__cte__SLA_POLICIES_POLICY_METRICS_AB1 2022-04-22 10:56:35 normalization > -- POLICY_METRICS at sla_policies/policy_metrics 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > ), __dbt__cte__SLA_POLICIES_POLICY_METRICS_AB3 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to build a hash column based on the values of this record 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__SLA_POLICIES_POLICY_METRICS_AB2 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(_AIRBYTE_SLA_POLICIES_HASHID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(METRIC as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(TARGET as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(PRIORITY as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(BUSINESS_HOURS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_POLICY_METRICS_HASHID, 2022-04-22 10:56:35 normalization > tmp.* 2022-04-22 10:56:35 normalization > from __dbt__cte__SLA_POLICIES_POLICY_METRICS_AB2 tmp 2022-04-22 10:56:35 normalization > -- POLICY_METRICS at sla_policies/policy_metrics 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > )-- Final base SQL model 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__SLA_POLICIES_POLICY_METRICS_AB3 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_SLA_POLICIES_HASHID, 2022-04-22 10:56:35 normalization > METRIC, 2022-04-22 10:56:35 normalization > TARGET, 2022-04-22 10:56:35 normalization > PRIORITY, 2022-04-22 10:56:35 normalization > BUSINESS_HOURS, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_POLICY_METRICS_HASHID 2022-04-22 10:56:35 normalization > from __dbt__cte__SLA_POLICIES_POLICY_METRICS_AB3 2022-04-22 10:56:35 normalization > -- POLICY_METRICS at sla_policies/policy_metrics from "AIRBYTE_DB".ZENDESK_SUPPORT."SLA_POLICIES" 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > ) order by (_AIRBYTE_EMITTED_AT) 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:55:50.790604 [debug] [Thread-2 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:55:50.896712 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 0.44 seconds 2022-04-22 10:56:35 normalization > 10:55:50.927273 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.USERS" 2022-04-22 10:56:35 normalization > 10:55:50.937270 [debug] [Thread-3 ]: On model.airbyte_utils.USERS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.USERS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."USERS" 2022-04-22 10:56:35 normalization > 10:55:50.999588 [debug] [Thread-3 ]: SQL status: SUCCESS 43 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:55:51.005181 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.USERS" 2022-04-22 10:56:35 normalization > 10:55:51.006417 [debug] [Thread-3 ]: On model.airbyte_utils.USERS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.USERS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."USERS" 2022-04-22 10:56:35 normalization > 10:55:51.063605 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:55:51.066226 [debug] [Thread-3 ]: Writing injected SQL for node "model.airbyte_utils.USERS" 2022-04-22 10:56:35 normalization > 10:55:51.066950 [debug] [Thread-3 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:51.067217 [debug] [Thread-3 ]: Began executing node model.airbyte_utils.USERS 2022-04-22 10:56:35 normalization > 10:55:51.076575 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.USERS" 2022-04-22 10:56:35 normalization > 10:55:51.076773 [debug] [Thread-3 ]: On model.airbyte_utils.USERS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.USERS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."USERS" 2022-04-22 10:56:35 normalization > 10:55:51.125386 [debug] [Thread-3 ]: SQL status: SUCCESS 43 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:55:51.137351 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.USERS" 2022-04-22 10:56:35 normalization > 10:55:51.137592 [debug] [Thread-3 ]: On model.airbyte_utils.USERS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.USERS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace temporary table "AIRBYTE_DB".ZENDESK_SUPPORT."USERS__dbt_tmp" as 2022-04-22 10:56:35 normalization > (select * from( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- Final base SQL model 2022-04-22 10:56:35 normalization > -- depends_on: "AIRBYTE_DB".ZENDESK_SUPPORT."USERS_SCD" 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_UNIQUE_KEY, 2022-04-22 10:56:35 normalization > ID, 2022-04-22 10:56:35 normalization > URL, 2022-04-22 10:56:35 normalization > NAME, 2022-04-22 10:56:35 normalization > ROLE, 2022-04-22 10:56:35 normalization > TAGS, 2022-04-22 10:56:35 normalization > ALIAS, 2022-04-22 10:56:35 normalization > EMAIL, 2022-04-22 10:56:35 normalization > NOTES, 2022-04-22 10:56:35 normalization > PHONE, 2022-04-22 10:56:35 normalization > PHOTO, 2022-04-22 10:56:35 normalization > ACTIVE, 2022-04-22 10:56:35 normalization > LOCALE, 2022-04-22 10:56:35 normalization > SHARED, 2022-04-22 10:56:35 normalization > DETAILS, 2022-04-22 10:56:35 normalization > VERIFIED, 2022-04-22 10:56:35 normalization > CHAT_ONLY, 2022-04-22 10:56:35 normalization > LOCALE_ID, 2022-04-22 10:56:35 normalization > MODERATOR, 2022-04-22 10:56:35 normalization > ROLE_TYPE, 2022-04-22 10:56:35 normalization > SIGNATURE, 2022-04-22 10:56:35 normalization > SUSPENDED, 2022-04-22 10:56:35 normalization > TIME_ZONE, 2022-04-22 10:56:35 normalization > CREATED_AT, 2022-04-22 10:56:35 normalization > REPORT_CSV, 2022-04-22 10:56:35 normalization > UPDATED_AT, 2022-04-22 10:56:35 normalization > EXTERNAL_ID, 2022-04-22 10:56:35 normalization > USER_FIELDS, 2022-04-22 10:56:35 normalization > SHARED_AGENT, 2022-04-22 10:56:35 normalization > LAST_LOGIN_AT, 2022-04-22 10:56:35 normalization > CUSTOM_ROLE_ID, 2022-04-22 10:56:35 normalization > ORGANIZATION_ID, 2022-04-22 10:56:35 normalization > DEFAULT_GROUP_ID, 2022-04-22 10:56:35 normalization > RESTRICTED_AGENT, 2022-04-22 10:56:35 normalization > TICKET_RESTRICTION, 2022-04-22 10:56:35 normalization > PERMANENTLY_DELETED, 2022-04-22 10:56:35 normalization > SHARED_PHONE_NUMBER, 2022-04-22 10:56:35 normalization > ONLY_PRIVATE_COMMENTS, 2022-04-22 10:56:35 normalization > TWO_FACTOR_AUTH_ENABLED, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_USERS_HASHID 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."USERS_SCD" 2022-04-22 10:56:35 normalization > -- USERS from "AIRBYTE_DB".ZENDESK_SUPPORT._AIRBYTE_RAW_USERS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > and _AIRBYTE_ACTIVE_ROW = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > and cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) >= 2022-04-22 10:56:35 normalization > cast('2022-04-22 10:49:19.093000-07:00' as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ) order by (_AIRBYTE_UNIQUE_KEY, _AIRBYTE_EMITTED_AT) 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:55:51.201510 [debug] [Thread-4 ]: SQL status: SUCCESS 491 in 0.92 seconds 2022-04-22 10:56:35 normalization > 10:55:51.201814 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_METRIC_EVENTS" 2022-04-22 10:56:35 normalization > 10:55:51.201931 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_METRIC_EVENTS: commit; 2022-04-22 10:56:35 normalization > 10:55:51.747437 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 1.84 seconds 2022-04-22 10:56:35 normalization > 10:55:51.747752 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.SCHEDULES_INTERVALS" 2022-04-22 10:56:35 normalization > 10:55:51.747872 [debug] [Thread-1 ]: On model.airbyte_utils.SCHEDULES_INTERVALS: alter table "AIRBYTE_DB".ZENDESK_SUPPORT."SCHEDULES_INTERVALS" cluster by (_AIRBYTE_EMITTED_AT); 2022-04-22 10:56:35 normalization > 10:55:51.946773 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 0.2 seconds 2022-04-22 10:56:35 normalization > 10:55:51.950659 [debug] [Thread-1 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:51.950930 [debug] [Thread-1 ]: On model.airbyte_utils.SCHEDULES_INTERVALS: Close 2022-04-22 10:56:35 normalization > 10:55:52.020387 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 1.23 seconds 2022-04-22 10:56:35 normalization > 10:55:52.021340 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.SLA_POLICIES_POLICY_METRICS" 2022-04-22 10:56:35 normalization > 10:55:52.021849 [debug] [Thread-5 ]: SQL status: SUCCESS 1 in 2.09 seconds 2022-04-22 10:56:35 normalization > 10:55:52.022018 [debug] [Thread-2 ]: On model.airbyte_utils.SLA_POLICIES_POLICY_METRICS: alter table "AIRBYTE_DB".ZENDESK_SUPPORT."SLA_POLICIES_POLICY_METRICS" cluster by (_AIRBYTE_EMITTED_AT); 2022-04-22 10:56:35 normalization > 10:55:52.022236 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.SLA_POLICIES_FILTER" 2022-04-22 10:56:35 normalization > 10:55:52.022858 [debug] [Thread-5 ]: On model.airbyte_utils.SLA_POLICIES_FILTER: alter table "AIRBYTE_DB".ZENDESK_SUPPORT."SLA_POLICIES_FILTER" cluster by (_AIRBYTE_EMITTED_AT); 2022-04-22 10:56:35 normalization > 10:55:52.037671 [debug] [Thread-4 ]: SQL status: SUCCESS 1 in 0.84 seconds 2022-04-22 10:56:35 normalization > 10:55:52.041145 [debug] [Thread-4 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:52.041407 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_METRIC_EVENTS: Close 2022-04-22 10:56:35 normalization > 10:55:52.062928 [info ] [Thread-1 ]: 43 of 95 OK created table model ZENDESK_SUPPORT.SCHEDULES_INTERVALS..................................................... [SUCCESS 1 in 2.32s] 2022-04-22 10:56:35 normalization > 10:55:52.063409 [debug] [Thread-1 ]: Finished running node model.airbyte_utils.SCHEDULES_INTERVALS 2022-04-22 10:56:35 normalization > 10:55:52.063673 [debug] [Thread-1 ]: Began running node model.airbyte_utils.TICKETS_CUSTOM_FIELDS_AB3 2022-04-22 10:56:35 normalization > 10:55:52.064164 [debug] [Thread-1 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKETS_CUSTOM_FIELDS_AB3" 2022-04-22 10:56:35 normalization > 10:55:52.064604 [debug] [Thread-1 ]: Began compiling node model.airbyte_utils.TICKETS_CUSTOM_FIELDS_AB3 2022-04-22 10:56:35 normalization > 10:55:52.064757 [debug] [Thread-1 ]: Compiling model.airbyte_utils.TICKETS_CUSTOM_FIELDS_AB3 2022-04-22 10:56:35 normalization > 10:55:52.082667 [debug] [Thread-1 ]: Writing injected SQL for node "model.airbyte_utils.TICKETS_CUSTOM_FIELDS_AB3" 2022-04-22 10:56:35 normalization > 10:55:52.085769 [debug] [Thread-1 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:52.086474 [debug] [Thread-1 ]: Finished running node model.airbyte_utils.TICKETS_CUSTOM_FIELDS_AB3 2022-04-22 10:56:35 normalization > 10:55:52.086781 [debug] [Thread-1 ]: Began running node model.airbyte_utils.TICKETS_SATISFACTION_RATING_AB3 2022-04-22 10:56:35 normalization > 10:55:52.087258 [debug] [Thread-1 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKETS_SATISFACTION_RATING_AB3" 2022-04-22 10:56:35 normalization > 10:55:52.087441 [debug] [Thread-1 ]: Began compiling node model.airbyte_utils.TICKETS_SATISFACTION_RATING_AB3 2022-04-22 10:56:35 normalization > 10:55:52.087584 [debug] [Thread-1 ]: Compiling model.airbyte_utils.TICKETS_SATISFACTION_RATING_AB3 2022-04-22 10:56:35 normalization > 10:55:52.143401 [debug] [Thread-1 ]: Writing injected SQL for node "model.airbyte_utils.TICKETS_SATISFACTION_RATING_AB3" 2022-04-22 10:56:35 normalization > 10:55:52.143974 [debug] [Thread-1 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:52.144743 [debug] [Thread-1 ]: Finished running node model.airbyte_utils.TICKETS_SATISFACTION_RATING_AB3 2022-04-22 10:56:35 normalization > 10:55:52.145136 [debug] [Thread-1 ]: Began running node model.airbyte_utils.TICKET_METRICS_AGENT_WAIT_TIME_IN_MINUTES_AB3 2022-04-22 10:56:35 normalization > 10:55:52.145784 [debug] [Thread-1 ]: Finished running node model.airbyte_utils.TICKET_METRICS_AGENT_WAIT_TIME_IN_MINUTES_AB3 2022-04-22 10:56:35 normalization > 10:55:52.145984 [debug] [Thread-1 ]: Began running node model.airbyte_utils.TICKET_METRICS_FIRST_RESOLUTION_TIME_IN_MINUTES_AB3 2022-04-22 10:56:35 normalization > 10:55:52.146614 [debug] [Thread-1 ]: Finished running node model.airbyte_utils.TICKET_METRICS_FIRST_RESOLUTION_TIME_IN_MINUTES_AB3 2022-04-22 10:56:35 normalization > 10:55:52.146954 [debug] [Thread-1 ]: Began running node model.airbyte_utils.TICKET_METRICS_FULL_RESOLUTION_TIME_IN_MINUTES_AB3 2022-04-22 10:56:35 normalization > 10:55:52.147496 [debug] [Thread-1 ]: Finished running node model.airbyte_utils.TICKET_METRICS_FULL_RESOLUTION_TIME_IN_MINUTES_AB3 2022-04-22 10:56:35 normalization > 10:55:52.147698 [debug] [Thread-1 ]: Began running node model.airbyte_utils.TICKET_METRICS_ON_HOLD_TIME_IN_MINUTES_AB3 2022-04-22 10:56:35 normalization > 10:55:52.148150 [debug] [Thread-1 ]: Finished running node model.airbyte_utils.TICKET_METRICS_ON_HOLD_TIME_IN_MINUTES_AB3 2022-04-22 10:56:35 normalization > 10:55:52.148640 [debug] [Thread-1 ]: Began running node model.airbyte_utils.TICKET_METRICS_REPLY_TIME_IN_MINUTES_AB3 2022-04-22 10:56:35 normalization > 10:55:52.149530 [debug] [Thread-1 ]: Finished running node model.airbyte_utils.TICKET_METRICS_REPLY_TIME_IN_MINUTES_AB3 2022-04-22 10:56:35 normalization > 10:55:52.149792 [debug] [Thread-1 ]: Began running node model.airbyte_utils.TICKET_METRICS_REQUESTER_WAIT_TIME_IN_MINUTES_AB3 2022-04-22 10:56:35 normalization > 10:55:52.150450 [debug] [Thread-1 ]: Finished running node model.airbyte_utils.TICKET_METRICS_REQUESTER_WAIT_TIME_IN_MINUTES_AB3 2022-04-22 10:56:35 normalization > 10:55:52.150631 [debug] [Thread-1 ]: Began running node model.airbyte_utils.TICKET_METRICS_STATUS_AB3 2022-04-22 10:56:35 normalization > 10:55:52.150814 [debug] [Thread-1 ]: Finished running node model.airbyte_utils.TICKET_METRICS_STATUS_AB3 2022-04-22 10:56:35 normalization > 10:55:52.151313 [debug] [Thread-1 ]: Began running node model.airbyte_utils.TICKETS_VIA_AB3 2022-04-22 10:56:35 normalization > 10:55:52.152000 [debug] [Thread-1 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKETS_VIA_AB3" 2022-04-22 10:56:35 normalization > 10:55:52.152555 [debug] [Thread-1 ]: Began compiling node model.airbyte_utils.TICKETS_VIA_AB3 2022-04-22 10:56:35 normalization > 10:55:52.152870 [debug] [Thread-1 ]: Compiling model.airbyte_utils.TICKETS_VIA_AB3 2022-04-22 10:56:35 normalization > 10:55:52.169227 [debug] [Thread-1 ]: Writing injected SQL for node "model.airbyte_utils.TICKETS_VIA_AB3" 2022-04-22 10:56:35 normalization > 10:55:52.169714 [debug] [Thread-1 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:52.170397 [debug] [Thread-1 ]: Finished running node model.airbyte_utils.TICKETS_VIA_AB3 2022-04-22 10:56:35 normalization > 10:55:52.170619 [debug] [Thread-1 ]: Began running node model.airbyte_utils.MACROS_ACTIONS 2022-04-22 10:56:35 normalization > 10:55:52.171100 [info ] [Thread-1 ]: 46 of 95 START incremental model ZENDESK_SUPPORT.MACROS_ACTIONS......................................................... [RUN] 2022-04-22 10:56:35 normalization > 10:55:52.171775 [debug] [Thread-1 ]: Acquiring new snowflake connection "model.airbyte_utils.MACROS_ACTIONS" 2022-04-22 10:56:35 normalization > 10:55:52.172047 [debug] [Thread-1 ]: Began compiling node model.airbyte_utils.MACROS_ACTIONS 2022-04-22 10:56:35 normalization > 10:55:52.172534 [debug] [Thread-1 ]: Compiling model.airbyte_utils.MACROS_ACTIONS 2022-04-22 10:56:35 normalization > 10:55:52.191848 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.MACROS_ACTIONS" 2022-04-22 10:56:35 normalization > 10:55:52.192176 [debug] [Thread-1 ]: On model.airbyte_utils.MACROS_ACTIONS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.MACROS_ACTIONS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."MACROS_ACTIONS" 2022-04-22 10:56:35 normalization > 10:55:52.192306 [debug] [Thread-1 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:55:52.239334 [debug] [Thread-5 ]: SQL status: SUCCESS 1 in 0.22 seconds 2022-04-22 10:56:35 normalization > 10:55:52.248685 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:52.259497 [debug] [Thread-5 ]: On model.airbyte_utils.SLA_POLICIES_FILTER: Close 2022-04-22 10:56:35 normalization > 10:55:52.272200 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 0.25 seconds 2022-04-22 10:56:35 normalization > 10:55:52.288705 [info ] [Thread-4 ]: 41 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_METRIC_EVENTS.............................................. [SUCCESS 1 in 4.73s] 2022-04-22 10:56:35 normalization > 10:55:52.321758 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:52.341971 [debug] [Thread-4 ]: Finished running node model.airbyte_utils.TICKET_METRIC_EVENTS 2022-04-22 10:56:35 normalization > 10:55:52.357827 [debug] [Thread-2 ]: On model.airbyte_utils.SLA_POLICIES_POLICY_METRICS: Close 2022-04-22 10:56:35 normalization > 10:55:52.383680 [debug] [Thread-4 ]: Began running node model.airbyte_utils.MACROS_RESTRICTION 2022-04-22 10:56:35 normalization > 10:55:52.431203 [info ] [Thread-4 ]: 47 of 95 START incremental model ZENDESK_SUPPORT.MACROS_RESTRICTION..................................................... [RUN] 2022-04-22 10:56:35 normalization > 10:55:52.432211 [debug] [Thread-4 ]: Acquiring new snowflake connection "model.airbyte_utils.MACROS_RESTRICTION" 2022-04-22 10:56:35 normalization > 10:55:52.432715 [debug] [Thread-4 ]: Began compiling node model.airbyte_utils.MACROS_RESTRICTION 2022-04-22 10:56:35 normalization > 10:55:52.434882 [debug] [Thread-4 ]: Compiling model.airbyte_utils.MACROS_RESTRICTION 2022-04-22 10:56:35 normalization > 10:55:52.472885 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.MACROS_RESTRICTION" 2022-04-22 10:56:35 normalization > 10:55:52.476468 [debug] [Thread-4 ]: On model.airbyte_utils.MACROS_RESTRICTION: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.MACROS_RESTRICTION"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."MACROS_RESTRICTION" 2022-04-22 10:56:35 normalization > 10:55:52.477156 [debug] [Thread-4 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:55:52.566765 [info ] [Thread-5 ]: 44 of 95 OK created table model ZENDESK_SUPPORT.SLA_POLICIES_FILTER..................................................... [SUCCESS 1 in 2.80s] 2022-04-22 10:56:35 normalization > 10:55:52.574349 [info ] [Thread-2 ]: 45 of 95 OK created table model ZENDESK_SUPPORT.SLA_POLICIES_POLICY_METRICS............................................. [SUCCESS 1 in 1.81s] 2022-04-22 10:56:35 normalization > 10:55:52.610801 [debug] [Thread-5 ]: Finished running node model.airbyte_utils.SLA_POLICIES_FILTER 2022-04-22 10:56:35 normalization > 10:55:52.624080 [debug] [Thread-5 ]: Began running node model.airbyte_utils.TICKET_AUDITS_EVENTS 2022-04-22 10:56:35 normalization > 10:55:52.636689 [info ] [Thread-5 ]: 48 of 95 START incremental model ZENDESK_SUPPORT.TICKET_AUDITS_EVENTS................................................... [RUN] 2022-04-22 10:56:35 normalization > 10:55:52.654211 [debug] [Thread-2 ]: Finished running node model.airbyte_utils.SLA_POLICIES_POLICY_METRICS 2022-04-22 10:56:35 normalization > 10:55:52.655521 [debug] [Thread-2 ]: Began running node model.airbyte_utils.TICKET_AUDITS_METADATA 2022-04-22 10:56:35 normalization > 10:55:52.671657 [debug] [Thread-5 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS" 2022-04-22 10:56:35 normalization > 10:55:52.684637 [info ] [Thread-2 ]: 49 of 95 START incremental model ZENDESK_SUPPORT.TICKET_AUDITS_METADATA................................................. [RUN] 2022-04-22 10:56:35 normalization > 10:55:52.695989 [debug] [Thread-5 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS_EVENTS 2022-04-22 10:56:35 normalization > 10:55:52.713469 [debug] [Thread-2 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA" 2022-04-22 10:56:35 normalization > 10:55:52.719213 [debug] [Thread-5 ]: Compiling model.airbyte_utils.TICKET_AUDITS_EVENTS 2022-04-22 10:56:35 normalization > 10:55:52.723969 [debug] [Thread-2 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS_METADATA 2022-04-22 10:56:35 normalization > 10:55:52.743267 [debug] [Thread-2 ]: Compiling model.airbyte_utils.TICKET_AUDITS_METADATA 2022-04-22 10:56:35 normalization > 10:55:52.744718 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS" 2022-04-22 10:56:35 normalization > 10:55:52.765184 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS" 2022-04-22 10:56:35 normalization > 10:55:52.776805 [debug] [Thread-5 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:55:52.781583 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA" 2022-04-22 10:56:35 normalization > 10:55:52.784180 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_METADATA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA" 2022-04-22 10:56:35 normalization > 10:55:52.784733 [debug] [Thread-2 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:55:52.857318 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 1.72 seconds 2022-04-22 10:56:35 normalization > 10:55:52.868521 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.USERS" 2022-04-22 10:56:35 normalization > 10:55:52.874183 [debug] [Thread-3 ]: On model.airbyte_utils.USERS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.USERS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."USERS__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:55:53.074111 [debug] [Thread-3 ]: SQL status: SUCCESS 43 in 0.19 seconds 2022-04-22 10:56:35 normalization > 10:55:53.098429 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.USERS" 2022-04-22 10:56:35 normalization > 10:55:53.103930 [debug] [Thread-3 ]: On model.airbyte_utils.USERS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.USERS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."USERS" 2022-04-22 10:56:35 normalization > 10:55:53.205777 [debug] [Thread-3 ]: SQL status: SUCCESS 43 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:55:53.224314 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.USERS" 2022-04-22 10:56:35 normalization > 10:55:53.231160 [debug] [Thread-3 ]: On model.airbyte_utils.USERS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.USERS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."USERS__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:55:53.307464 [debug] [Thread-3 ]: SQL status: SUCCESS 43 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:55:53.315063 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.USERS" 2022-04-22 10:56:35 normalization > 10:55:53.315418 [debug] [Thread-3 ]: On model.airbyte_utils.USERS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.USERS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"."ZENDESK_SUPPORT"."USERS" 2022-04-22 10:56:35 normalization > 10:55:53.787943 [debug] [Thread-1 ]: SQL status: SUCCESS 7 in 1.6 seconds 2022-04-22 10:56:35 normalization > 10:55:53.809843 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.MACROS_ACTIONS" 2022-04-22 10:56:35 normalization > 10:55:53.810740 [debug] [Thread-3 ]: SQL status: SUCCESS 43 in 0.5 seconds 2022-04-22 10:56:35 normalization > 10:55:53.810958 [debug] [Thread-1 ]: On model.airbyte_utils.MACROS_ACTIONS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.MACROS_ACTIONS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."MACROS_ACTIONS" 2022-04-22 10:56:35 normalization > 10:55:53.822499 [debug] [Thread-3 ]: 2022-04-22 10:56:35 normalization > In "AIRBYTE_DB"."ZENDESK_SUPPORT"."USERS": 2022-04-22 10:56:35 normalization > Schema changed: False 2022-04-22 10:56:35 normalization > Source columns not in target: [] 2022-04-22 10:56:35 normalization > Target columns not in source: [] 2022-04-22 10:56:35 normalization > New column types: [] 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 10:55:53.826410 [debug] [Thread-3 ]: Writing runtime SQL for node "model.airbyte_utils.USERS" 2022-04-22 10:56:35 normalization > 10:55:53.828283 [debug] [Thread-5 ]: SQL status: SUCCESS 30 in 1.05 seconds 2022-04-22 10:56:35 normalization > 10:55:53.840182 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS" 2022-04-22 10:56:35 normalization > 10:55:53.840629 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS" 2022-04-22 10:56:35 normalization > 10:55:53.858517 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.USERS" 2022-04-22 10:56:35 normalization > 10:55:53.859369 [debug] [Thread-3 ]: On model.airbyte_utils.USERS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.USERS"} */ 2022-04-22 10:56:35 normalization > begin; 2022-04-22 10:56:35 normalization > 10:55:53.913392 [debug] [Thread-1 ]: SQL status: SUCCESS 7 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:55:53.916148 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.MACROS_ACTIONS" 2022-04-22 10:56:35 normalization > 10:55:53.916342 [debug] [Thread-1 ]: On model.airbyte_utils.MACROS_ACTIONS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.MACROS_ACTIONS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."MACROS_ACTIONS" 2022-04-22 10:56:35 normalization > 10:55:54.029306 [debug] [Thread-5 ]: SQL status: SUCCESS 30 in 0.19 seconds 2022-04-22 10:56:35 normalization > 10:55:54.033323 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS" 2022-04-22 10:56:35 normalization > 10:55:54.033539 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS" 2022-04-22 10:56:35 normalization > 10:55:54.036266 [debug] [Thread-2 ]: SQL status: SUCCESS 11 in 1.25 seconds 2022-04-22 10:56:35 normalization > 10:55:54.047235 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA" 2022-04-22 10:56:35 normalization > 10:55:54.047804 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 0.19 seconds 2022-04-22 10:56:35 normalization > 10:55:54.048049 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_METADATA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA" 2022-04-22 10:56:35 normalization > 10:55:54.048491 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.USERS" 2022-04-22 10:56:35 normalization > 10:55:54.049318 [debug] [Thread-3 ]: On model.airbyte_utils.USERS: merge into "AIRBYTE_DB".ZENDESK_SUPPORT."USERS" as DBT_INTERNAL_DEST 2022-04-22 10:56:35 normalization > using "AIRBYTE_DB".ZENDESK_SUPPORT."USERS__dbt_tmp" as DBT_INTERNAL_SOURCE 2022-04-22 10:56:35 normalization > on 2022-04-22 10:56:35 normalization > DBT_INTERNAL_SOURCE._AIRBYTE_UNIQUE_KEY = DBT_INTERNAL_DEST._AIRBYTE_UNIQUE_KEY 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > when matched then update set 2022-04-22 10:56:35 normalization > "_AIRBYTE_UNIQUE_KEY" = DBT_INTERNAL_SOURCE."_AIRBYTE_UNIQUE_KEY","ID" = DBT_INTERNAL_SOURCE."ID","URL" = DBT_INTERNAL_SOURCE."URL","NAME" = DBT_INTERNAL_SOURCE."NAME","ROLE" = DBT_INTERNAL_SOURCE."ROLE","TAGS" = DBT_INTERNAL_SOURCE."TAGS","ALIAS" = DBT_INTERNAL_SOURCE."ALIAS","EMAIL" = DBT_INTERNAL_SOURCE."EMAIL","NOTES" = DBT_INTERNAL_SOURCE."NOTES","PHONE" = DBT_INTERNAL_SOURCE."PHONE","PHOTO" = DBT_INTERNAL_SOURCE."PHOTO","ACTIVE" = DBT_INTERNAL_SOURCE."ACTIVE","LOCALE" = DBT_INTERNAL_SOURCE."LOCALE","SHARED" = DBT_INTERNAL_SOURCE."SHARED","DETAILS" = DBT_INTERNAL_SOURCE."DETAILS","VERIFIED" = DBT_INTERNAL_SOURCE."VERIFIED","CHAT_ONLY" = DBT_INTERNAL_SOURCE."CHAT_ONLY","LOCALE_ID" = DBT_INTERNAL_SOURCE."LOCALE_ID","MODERATOR" = DBT_INTERNAL_SOURCE."MODERATOR","ROLE_TYPE" = DBT_INTERNAL_SOURCE."ROLE_TYPE","SIGNATURE" = DBT_INTERNAL_SOURCE."SIGNATURE","SUSPENDED" = DBT_INTERNAL_SOURCE."SUSPENDED","TIME_ZONE" = DBT_INTERNAL_SOURCE."TIME_ZONE","CREATED_AT" = DBT_INTERNAL_SOURCE."CREATED_AT","REPORT_CSV" = DBT_INTERNAL_SOURCE."REPORT_CSV","UPDATED_AT" = DBT_INTERNAL_SOURCE."UPDATED_AT","EXTERNAL_ID" = DBT_INTERNAL_SOURCE."EXTERNAL_ID","USER_FIELDS" = DBT_INTERNAL_SOURCE."USER_FIELDS","SHARED_AGENT" = DBT_INTERNAL_SOURCE."SHARED_AGENT","LAST_LOGIN_AT" = DBT_INTERNAL_SOURCE."LAST_LOGIN_AT","CUSTOM_ROLE_ID" = DBT_INTERNAL_SOURCE."CUSTOM_ROLE_ID","ORGANIZATION_ID" = DBT_INTERNAL_SOURCE."ORGANIZATION_ID","DEFAULT_GROUP_ID" = DBT_INTERNAL_SOURCE."DEFAULT_GROUP_ID","RESTRICTED_AGENT" = DBT_INTERNAL_SOURCE."RESTRICTED_AGENT","TICKET_RESTRICTION" = DBT_INTERNAL_SOURCE."TICKET_RESTRICTION","PERMANENTLY_DELETED" = DBT_INTERNAL_SOURCE."PERMANENTLY_DELETED","SHARED_PHONE_NUMBER" = DBT_INTERNAL_SOURCE."SHARED_PHONE_NUMBER","ONLY_PRIVATE_COMMENTS" = DBT_INTERNAL_SOURCE."ONLY_PRIVATE_COMMENTS","TWO_FACTOR_AUTH_ENABLED" = DBT_INTERNAL_SOURCE."TWO_FACTOR_AUTH_ENABLED","_AIRBYTE_AB_ID" = DBT_INTERNAL_SOURCE."_AIRBYTE_AB_ID","_AIRBYTE_EMITTED_AT" = DBT_INTERNAL_SOURCE."_AIRBYTE_EMITTED_AT","_AIRBYTE_NORMALIZED_AT" = DBT_INTERNAL_SOURCE."_AIRBYTE_NORMALIZED_AT","_AIRBYTE_USERS_HASHID" = DBT_INTERNAL_SOURCE."_AIRBYTE_USERS_HASHID" 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > when not matched then insert 2022-04-22 10:56:35 normalization > ("_AIRBYTE_UNIQUE_KEY", "ID", "URL", "NAME", "ROLE", "TAGS", "ALIAS", "EMAIL", "NOTES", "PHONE", "PHOTO", "ACTIVE", "LOCALE", "SHARED", "DETAILS", "VERIFIED", "CHAT_ONLY", "LOCALE_ID", "MODERATOR", "ROLE_TYPE", "SIGNATURE", "SUSPENDED", "TIME_ZONE", "CREATED_AT", "REPORT_CSV", "UPDATED_AT", "EXTERNAL_ID", "USER_FIELDS", "SHARED_AGENT", "LAST_LOGIN_AT", "CUSTOM_ROLE_ID", "ORGANIZATION_ID", "DEFAULT_GROUP_ID", "RESTRICTED_AGENT", "TICKET_RESTRICTION", "PERMANENTLY_DELETED", "SHARED_PHONE_NUMBER", "ONLY_PRIVATE_COMMENTS", "TWO_FACTOR_AUTH_ENABLED", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_USERS_HASHID") 2022-04-22 10:56:35 normalization > values 2022-04-22 10:56:35 normalization > ("_AIRBYTE_UNIQUE_KEY", "ID", "URL", "NAME", "ROLE", "TAGS", "ALIAS", "EMAIL", "NOTES", "PHONE", "PHOTO", "ACTIVE", "LOCALE", "SHARED", "DETAILS", "VERIFIED", "CHAT_ONLY", "LOCALE_ID", "MODERATOR", "ROLE_TYPE", "SIGNATURE", "SUSPENDED", "TIME_ZONE", "CREATED_AT", "REPORT_CSV", "UPDATED_AT", "EXTERNAL_ID", "USER_FIELDS", "SHARED_AGENT", "LAST_LOGIN_AT", "CUSTOM_ROLE_ID", "ORGANIZATION_ID", "DEFAULT_GROUP_ID", "RESTRICTED_AGENT", "TICKET_RESTRICTION", "PERMANENTLY_DELETED", "SHARED_PHONE_NUMBER", "ONLY_PRIVATE_COMMENTS", "TWO_FACTOR_AUTH_ENABLED", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_USERS_HASHID") 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ; 2022-04-22 10:56:35 normalization > 10:55:54.100795 [debug] [Thread-4 ]: SQL status: SUCCESS 8 in 1.62 seconds 2022-04-22 10:56:35 normalization > 10:55:54.110828 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.MACROS_RESTRICTION" 2022-04-22 10:56:35 normalization > 10:55:54.111074 [debug] [Thread-4 ]: On model.airbyte_utils.MACROS_RESTRICTION: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.MACROS_RESTRICTION"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."MACROS_RESTRICTION" 2022-04-22 10:56:35 normalization > 10:55:54.118304 [debug] [Thread-2 ]: SQL status: SUCCESS 11 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:55:54.121548 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA" 2022-04-22 10:56:35 normalization > 10:55:54.121748 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_METADATA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA" 2022-04-22 10:56:35 normalization > 10:55:54.161418 [debug] [Thread-4 ]: SQL status: SUCCESS 8 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:55:54.164431 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.MACROS_RESTRICTION" 2022-04-22 10:56:35 normalization > 10:55:54.164644 [debug] [Thread-4 ]: On model.airbyte_utils.MACROS_RESTRICTION: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.MACROS_RESTRICTION"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."MACROS_RESTRICTION" 2022-04-22 10:56:35 normalization > 10:55:54.243011 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 0.33 seconds 2022-04-22 10:56:35 normalization > 10:55:54.253323 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.MACROS_ACTIONS" 2022-04-22 10:56:35 normalization > 10:55:54.253560 [debug] [Thread-1 ]: On model.airbyte_utils.MACROS_ACTIONS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.MACROS_ACTIONS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."MACROS_ACTIONS" 2022-04-22 10:56:35 normalization > 10:55:54.331138 [debug] [Thread-1 ]: SQL status: SUCCESS 7 in 0.08 seconds 2022-04-22 10:56:35 normalization > 10:55:54.336477 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.MACROS_ACTIONS" 2022-04-22 10:56:35 normalization > 10:55:54.336695 [debug] [Thread-1 ]: On model.airbyte_utils.MACROS_ACTIONS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.MACROS_ACTIONS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."MACROS_ACTIONS" 2022-04-22 10:56:35 normalization > 10:55:54.409103 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:55:54.416793 [debug] [Thread-1 ]: Writing injected SQL for node "model.airbyte_utils.MACROS_ACTIONS" 2022-04-22 10:56:35 normalization > 10:55:54.417213 [debug] [Thread-1 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:54.417367 [debug] [Thread-1 ]: Began executing node model.airbyte_utils.MACROS_ACTIONS 2022-04-22 10:56:35 normalization > 10:55:54.422548 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.MACROS_ACTIONS" 2022-04-22 10:56:35 normalization > 10:55:54.422717 [debug] [Thread-1 ]: On model.airbyte_utils.MACROS_ACTIONS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.MACROS_ACTIONS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."MACROS_ACTIONS" 2022-04-22 10:56:35 normalization > 10:55:54.443442 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 0.32 seconds 2022-04-22 10:56:35 normalization > 10:55:54.455439 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA" 2022-04-22 10:56:35 normalization > 10:55:54.455786 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_METADATA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA" 2022-04-22 10:56:35 normalization > 10:55:54.494213 [debug] [Thread-1 ]: SQL status: SUCCESS 7 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:55:54.504064 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.MACROS_ACTIONS" 2022-04-22 10:56:35 normalization > 10:55:54.504311 [debug] [Thread-1 ]: On model.airbyte_utils.MACROS_ACTIONS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.MACROS_ACTIONS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace temporary table "AIRBYTE_DB".ZENDESK_SUPPORT."MACROS_ACTIONS__dbt_tmp" as 2022-04-22 10:56:35 normalization > (select * from( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > with __dbt__cte__MACROS_ACTIONS_AB1 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to parse JSON blob stored in a single column and extract into separated field columns as described by the JSON Schema 2022-04-22 10:56:35 normalization > -- depends_on: "AIRBYTE_DB".ZENDESK_SUPPORT."MACROS_SCD" 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_MACROS_HASHID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(ACTIONS.value), '"field"')) as FIELD, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(ACTIONS.value), '"value"')) as VALUE, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."MACROS_SCD" as table_alias 2022-04-22 10:56:35 normalization > -- ACTIONS at macros/actions 2022-04-22 10:56:35 normalization > cross join table(flatten(ACTIONS)) as ACTIONS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > and ACTIONS is not null 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__MACROS_ACTIONS_AB2 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to cast each column to its adequate SQL type converted from the JSON schema type 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__MACROS_ACTIONS_AB1 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_MACROS_HASHID, 2022-04-22 10:56:35 normalization > cast(FIELD as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as FIELD, 2022-04-22 10:56:35 normalization > cast(VALUE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as VALUE, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from __dbt__cte__MACROS_ACTIONS_AB1 2022-04-22 10:56:35 normalization > -- ACTIONS at macros/actions 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__MACROS_ACTIONS_AB3 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to build a hash column based on the values of this record 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__MACROS_ACTIONS_AB2 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(_AIRBYTE_MACROS_HASHID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(FIELD as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(VALUE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_ACTIONS_HASHID, 2022-04-22 10:56:35 normalization > tmp.* 2022-04-22 10:56:35 normalization > from __dbt__cte__MACROS_ACTIONS_AB2 tmp 2022-04-22 10:56:35 normalization > -- ACTIONS at macros/actions 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > )-- Final base SQL model 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__MACROS_ACTIONS_AB3 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_MACROS_HASHID, 2022-04-22 10:56:35 normalization > FIELD, 2022-04-22 10:56:35 normalization > VALUE, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_ACTIONS_HASHID 2022-04-22 10:56:35 normalization > from __dbt__cte__MACROS_ACTIONS_AB3 2022-04-22 10:56:35 normalization > -- ACTIONS at macros/actions from "AIRBYTE_DB".ZENDESK_SUPPORT."MACROS_SCD" 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > and cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) >= 2022-04-22 10:56:35 normalization > cast('2022-04-09 03:01:32.277000-07:00' as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ) order by (_AIRBYTE_EMITTED_AT) 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:55:54.566064 [debug] [Thread-5 ]: SQL status: SUCCESS 1 in 0.53 seconds 2022-04-22 10:56:35 normalization > 10:55:54.576032 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS" 2022-04-22 10:56:35 normalization > 10:55:54.576284 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS" 2022-04-22 10:56:35 normalization > 10:55:54.648266 [debug] [Thread-4 ]: SQL status: SUCCESS 1 in 0.48 seconds 2022-04-22 10:56:35 normalization > 10:55:54.658217 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.MACROS_RESTRICTION" 2022-04-22 10:56:35 normalization > 10:55:54.658470 [debug] [Thread-4 ]: On model.airbyte_utils.MACROS_RESTRICTION: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.MACROS_RESTRICTION"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."MACROS_RESTRICTION" 2022-04-22 10:56:35 normalization > 10:55:54.684810 [debug] [Thread-2 ]: SQL status: SUCCESS 11 in 0.23 seconds 2022-04-22 10:56:35 normalization > 10:55:54.687950 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA" 2022-04-22 10:56:35 normalization > 10:55:54.688185 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_METADATA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA" 2022-04-22 10:56:35 normalization > 10:55:54.691350 [debug] [Thread-5 ]: SQL status: SUCCESS 30 in 0.11 seconds 2022-04-22 10:56:35 normalization > 10:55:54.695769 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS" 2022-04-22 10:56:35 normalization > 10:55:54.695974 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS" 2022-04-22 10:56:35 normalization > 10:55:54.804463 [debug] [Thread-4 ]: SQL status: SUCCESS 8 in 0.15 seconds 2022-04-22 10:56:35 normalization > 10:55:54.807283 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.MACROS_RESTRICTION" 2022-04-22 10:56:35 normalization > 10:55:54.808408 [debug] [Thread-5 ]: SQL status: SUCCESS 1 in 0.11 seconds 2022-04-22 10:56:35 normalization > 10:55:54.808608 [debug] [Thread-4 ]: On model.airbyte_utils.MACROS_RESTRICTION: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.MACROS_RESTRICTION"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."MACROS_RESTRICTION" 2022-04-22 10:56:35 normalization > 10:55:54.820275 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 0.13 seconds 2022-04-22 10:56:35 normalization > 10:55:54.821649 [debug] [Thread-5 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS_EVENTS" 2022-04-22 10:56:35 normalization > 10:55:54.831179 [debug] [Thread-2 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS_METADATA" 2022-04-22 10:56:35 normalization > 10:55:54.832689 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:54.832956 [debug] [Thread-5 ]: Began executing node model.airbyte_utils.TICKET_AUDITS_EVENTS 2022-04-22 10:56:35 normalization > 10:55:54.833101 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:54.839014 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS" 2022-04-22 10:56:35 normalization > 10:55:54.839256 [debug] [Thread-2 ]: Began executing node model.airbyte_utils.TICKET_AUDITS_METADATA 2022-04-22 10:56:35 normalization > 10:55:54.839450 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS" 2022-04-22 10:56:35 normalization > 10:55:54.846689 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA" 2022-04-22 10:56:35 normalization > 10:55:54.848474 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_METADATA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA" 2022-04-22 10:56:35 normalization > 10:55:54.899422 [debug] [Thread-2 ]: SQL status: SUCCESS 11 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:55:54.910803 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA" 2022-04-22 10:56:35 normalization > 10:55:54.911739 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_METADATA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace temporary table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA__dbt_tmp" as 2022-04-22 10:56:35 normalization > (select * from( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > with __dbt__cte__TICKET_AUDITS_METADATA_AB1 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to parse JSON blob stored in a single column and extract into separated field columns as described by the JSON Schema 2022-04-22 10:56:35 normalization > -- depends_on: "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_SCD" 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_TICKET_AUDITS_HASHID, 2022-04-22 10:56:35 normalization > get_path(parse_json(METADATA), '"flags"') as FLAGS, 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > get_path(parse_json(table_alias.METADATA), '"custom"') 2022-04-22 10:56:35 normalization > as CUSTOM, 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > get_path(parse_json(table_alias.METADATA), '"system"') 2022-04-22 10:56:35 normalization > as SYSTEM, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(METADATA), '"trusted"')) as TRUSTED, 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > get_path(parse_json(table_alias.METADATA), '"flags_options"') 2022-04-22 10:56:35 normalization > as FLAGS_OPTIONS, 2022-04-22 10:56:35 normalization > get_path(parse_json(METADATA), '"notifications_suppressed_for"') as NOTIFICATIONS_SUPPRESSED_FOR, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_SCD" as table_alias 2022-04-22 10:56:35 normalization > -- METADATA at ticket_audits/metadata 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > and METADATA is not null 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKET_AUDITS_METADATA_AB2 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to cast each column to its adequate SQL type converted from the JSON schema type 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_AUDITS_METADATA_AB1 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_TICKET_AUDITS_HASHID, 2022-04-22 10:56:35 normalization > FLAGS, 2022-04-22 10:56:35 normalization > cast(CUSTOM as 2022-04-22 10:56:35 normalization > variant 2022-04-22 10:56:35 normalization > ) as CUSTOM, 2022-04-22 10:56:35 normalization > cast(SYSTEM as 2022-04-22 10:56:35 normalization > variant 2022-04-22 10:56:35 normalization > ) as SYSTEM, 2022-04-22 10:56:35 normalization > cast(TRUSTED as boolean) as TRUSTED, 2022-04-22 10:56:35 normalization > cast(FLAGS_OPTIONS as 2022-04-22 10:56:35 normalization > variant 2022-04-22 10:56:35 normalization > ) as FLAGS_OPTIONS, 2022-04-22 10:56:35 normalization > NOTIFICATIONS_SUPPRESSED_FOR, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_AUDITS_METADATA_AB1 2022-04-22 10:56:35 normalization > -- METADATA at ticket_audits/metadata 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKET_AUDITS_METADATA_AB3 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to build a hash column based on the values of this record 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_AUDITS_METADATA_AB2 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(_AIRBYTE_TICKET_AUDITS_HASHID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(FLAGS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(CUSTOM as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(SYSTEM as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(TRUSTED as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(FLAGS_OPTIONS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(NOTIFICATIONS_SUPPRESSED_FOR as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_METADATA_HASHID, 2022-04-22 10:56:35 normalization > tmp.* 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_AUDITS_METADATA_AB2 tmp 2022-04-22 10:56:35 normalization > -- METADATA at ticket_audits/metadata 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > )-- Final base SQL model 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_AUDITS_METADATA_AB3 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_TICKET_AUDITS_HASHID, 2022-04-22 10:56:35 normalization > FLAGS, 2022-04-22 10:56:35 normalization > CUSTOM, 2022-04-22 10:56:35 normalization > SYSTEM, 2022-04-22 10:56:35 normalization > TRUSTED, 2022-04-22 10:56:35 normalization > FLAGS_OPTIONS, 2022-04-22 10:56:35 normalization > NOTIFICATIONS_SUPPRESSED_FOR, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_METADATA_HASHID 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_AUDITS_METADATA_AB3 2022-04-22 10:56:35 normalization > -- METADATA at ticket_audits/metadata from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_SCD" 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > and cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) >= 2022-04-22 10:56:35 normalization > cast('2022-04-22 10:47:49.699000-07:00' as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ) order by (_AIRBYTE_EMITTED_AT) 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:55:54.913245 [debug] [Thread-4 ]: SQL status: SUCCESS 1 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:55:54.914488 [debug] [Thread-5 ]: SQL status: SUCCESS 30 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:55:54.923426 [debug] [Thread-4 ]: Writing injected SQL for node "model.airbyte_utils.MACROS_RESTRICTION" 2022-04-22 10:56:35 normalization > 10:55:54.941575 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS" 2022-04-22 10:56:35 normalization > 10:55:54.942244 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace temporary table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS__dbt_tmp" as 2022-04-22 10:56:35 normalization > (select * from( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > with __dbt__cte__TICKET_AUDITS_EVENTS_AB1 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to parse JSON blob stored in a single column and extract into separated field columns as described by the JSON Schema 2022-04-22 10:56:35 normalization > -- depends_on: "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_SCD" 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_TICKET_AUDITS_HASHID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(EVENTS.value), '"id"')) as ID, 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > get_path(parse_json(EVENTS.value), '"via"') 2022-04-22 10:56:35 normalization > as VIA, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(EVENTS.value), '"body"')) as BODY, 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > get_path(parse_json(EVENTS.value), '"data"') 2022-04-22 10:56:35 normalization > as DATA, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(EVENTS.value), '"type"')) as TYPE, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(EVENTS.value), '"value"')) as VALUE, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(EVENTS.value), '"public"')) as PUBLIC, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(EVENTS.value), '"subject"')) as SUBJECT, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(EVENTS.value), '"trusted"')) as TRUSTED, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(EVENTS.value), '"audit_id"')) as AUDIT_ID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(EVENTS.value), '"macro_id"')) as MACRO_ID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(EVENTS.value), '"resource"')) as RESOURCE, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(EVENTS.value), '"author_id"')) as AUTHOR_ID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(EVENTS.value), '"html_body"')) as HTML_BODY, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(EVENTS.value), '"created_at"')) as CREATED_AT, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(EVENTS.value), '"field_name"')) as FIELD_NAME, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(EVENTS.value), '"plain_body"')) as PLAIN_BODY, 2022-04-22 10:56:35 normalization > get_path(parse_json(EVENTS.value), '"recipients"') as RECIPIENTS, 2022-04-22 10:56:35 normalization > get_path(parse_json(EVENTS.value), '"attachments"') as ATTACHMENTS, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(EVENTS.value), '"macro_title"')) as MACRO_TITLE, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(EVENTS.value), '"formatted_to"')) as FORMATTED_TO, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(EVENTS.value), '"macro_deleted"')) as MACRO_DELETED, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(EVENTS.value), '"formatted_from"')) as FORMATTED_FROM, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(EVENTS.value), '"previous_value"')) as PREVIOUS_VALUE, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(EVENTS.value), '"transcription_visible"')) as TRANSCRIPTION_VISIBLE, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_SCD" as table_alias 2022-04-22 10:56:35 normalization > -- EVENTS at ticket_audits/events 2022-04-22 10:56:35 normalization > cross join table(flatten(EVENTS)) as EVENTS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > and EVENTS is not null 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKET_AUDITS_EVENTS_AB2 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to cast each column to its adequate SQL type converted from the JSON schema type 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_AUDITS_EVENTS_AB1 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_TICKET_AUDITS_HASHID, 2022-04-22 10:56:35 normalization > cast(ID as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as ID, 2022-04-22 10:56:35 normalization > cast(VIA as 2022-04-22 10:56:35 normalization > variant 2022-04-22 10:56:35 normalization > ) as VIA, 2022-04-22 10:56:35 normalization > cast(BODY as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as BODY, 2022-04-22 10:56:35 normalization > cast(DATA as 2022-04-22 10:56:35 normalization > variant 2022-04-22 10:56:35 normalization > ) as DATA, 2022-04-22 10:56:35 normalization > cast(TYPE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as TYPE, 2022-04-22 10:56:35 normalization > cast(VALUE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as VALUE, 2022-04-22 10:56:35 normalization > cast(PUBLIC as boolean) as PUBLIC, 2022-04-22 10:56:35 normalization > cast(SUBJECT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as SUBJECT, 2022-04-22 10:56:35 normalization > cast(TRUSTED as boolean) as TRUSTED, 2022-04-22 10:56:35 normalization > cast(AUDIT_ID as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as AUDIT_ID, 2022-04-22 10:56:35 normalization > cast(MACRO_ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as MACRO_ID, 2022-04-22 10:56:35 normalization > cast(RESOURCE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as RESOURCE, 2022-04-22 10:56:35 normalization > cast(AUTHOR_ID as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as AUTHOR_ID, 2022-04-22 10:56:35 normalization > cast(HTML_BODY as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as HTML_BODY, 2022-04-22 10:56:35 normalization > case 2022-04-22 10:56:35 normalization > when CREATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{4}' then to_timestamp_tz(CREATED_AT, 'YYYY-MM-DDTHH24:MI:SSTZHTZM') 2022-04-22 10:56:35 normalization > when CREATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{2}' then to_timestamp_tz(CREATED_AT, 'YYYY-MM-DDTHH24:MI:SSTZH') 2022-04-22 10:56:35 normalization > when CREATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{4}' then to_timestamp_tz(CREATED_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZHTZM') 2022-04-22 10:56:35 normalization > when CREATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{2}' then to_timestamp_tz(CREATED_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZH') 2022-04-22 10:56:35 normalization > when CREATED_AT = '' then NULL 2022-04-22 10:56:35 normalization > else to_timestamp_tz(CREATED_AT) 2022-04-22 10:56:35 normalization > end as CREATED_AT 2022-04-22 10:56:35 normalization > , 2022-04-22 10:56:35 normalization > cast(FIELD_NAME as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as FIELD_NAME, 2022-04-22 10:56:35 normalization > cast(PLAIN_BODY as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as PLAIN_BODY, 2022-04-22 10:56:35 normalization > RECIPIENTS, 2022-04-22 10:56:35 normalization > ATTACHMENTS, 2022-04-22 10:56:35 normalization > cast(MACRO_TITLE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as MACRO_TITLE, 2022-04-22 10:56:35 normalization > cast(FORMATTED_TO as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as FORMATTED_TO, 2022-04-22 10:56:35 normalization > cast(MACRO_DELETED as boolean) as MACRO_DELETED, 2022-04-22 10:56:35 normalization > cast(FORMATTED_FROM as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as FORMATTED_FROM, 2022-04-22 10:56:35 normalization > cast(PREVIOUS_VALUE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as PREVIOUS_VALUE, 2022-04-22 10:56:35 normalization > cast(TRANSCRIPTION_VISIBLE as boolean) as TRANSCRIPTION_VISIBLE, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_AUDITS_EVENTS_AB1 2022-04-22 10:56:35 normalization > -- EVENTS at ticket_audits/events 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKET_AUDITS_EVENTS_AB3 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to build a hash column based on the values of this record 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_AUDITS_EVENTS_AB2 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(_AIRBYTE_TICKET_AUDITS_HASHID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(VIA as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(BODY as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(DATA as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(TYPE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(VALUE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(PUBLIC as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(SUBJECT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(TRUSTED as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(AUDIT_ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(MACRO_ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(RESOURCE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(AUTHOR_ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(HTML_BODY as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(CREATED_AT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(FIELD_NAME as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(PLAIN_BODY as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(RECIPIENTS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(ATTACHMENTS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(MACRO_TITLE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(FORMATTED_TO as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(MACRO_DELETED as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(FORMATTED_FROM as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(PREVIOUS_VALUE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(TRANSCRIPTION_VISIBLE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_EVENTS_HASHID, 2022-04-22 10:56:35 normalization > tmp.* 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_AUDITS_EVENTS_AB2 tmp 2022-04-22 10:56:35 normalization > -- EVENTS at ticket_audits/events 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > )-- Final base SQL model 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_AUDITS_EVENTS_AB3 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_TICKET_AUDITS_HASHID, 2022-04-22 10:56:35 normalization > ID, 2022-04-22 10:56:35 normalization > VIA, 2022-04-22 10:56:35 normalization > BODY, 2022-04-22 10:56:35 normalization > DATA, 2022-04-22 10:56:35 normalization > TYPE, 2022-04-22 10:56:35 normalization > VALUE, 2022-04-22 10:56:35 normalization > PUBLIC, 2022-04-22 10:56:35 normalization > SUBJECT, 2022-04-22 10:56:35 normalization > TRUSTED, 2022-04-22 10:56:35 normalization > AUDIT_ID, 2022-04-22 10:56:35 normalization > MACRO_ID, 2022-04-22 10:56:35 normalization > RESOURCE, 2022-04-22 10:56:35 normalization > AUTHOR_ID, 2022-04-22 10:56:35 normalization > HTML_BODY, 2022-04-22 10:56:35 normalization > CREATED_AT, 2022-04-22 10:56:35 normalization > FIELD_NAME, 2022-04-22 10:56:35 normalization > PLAIN_BODY, 2022-04-22 10:56:35 normalization > RECIPIENTS, 2022-04-22 10:56:35 normalization > ATTACHMENTS, 2022-04-22 10:56:35 normalization > MACRO_TITLE, 2022-04-22 10:56:35 normalization > FORMATTED_TO, 2022-04-22 10:56:35 normalization > MACRO_DELETED, 2022-04-22 10:56:35 normalization > FORMATTED_FROM, 2022-04-22 10:56:35 normalization > PREVIOUS_VALUE, 2022-04-22 10:56:35 normalization > TRANSCRIPTION_VISIBLE, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_EVENTS_HASHID 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_AUDITS_EVENTS_AB3 2022-04-22 10:56:35 normalization > -- EVENTS at ticket_audits/events from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_SCD" 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > and cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) >= 2022-04-22 10:56:35 normalization > cast('2022-04-22 10:47:49.699000-07:00' as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ) order by (_AIRBYTE_EMITTED_AT) 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:55:54.942932 [debug] [Thread-4 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:54.943168 [debug] [Thread-4 ]: Began executing node model.airbyte_utils.MACROS_RESTRICTION 2022-04-22 10:56:35 normalization > 10:55:54.949469 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.MACROS_RESTRICTION" 2022-04-22 10:56:35 normalization > 10:55:54.950209 [debug] [Thread-4 ]: On model.airbyte_utils.MACROS_RESTRICTION: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.MACROS_RESTRICTION"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."MACROS_RESTRICTION" 2022-04-22 10:56:35 normalization > 10:55:55.020075 [debug] [Thread-4 ]: SQL status: SUCCESS 8 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:55:55.030294 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.MACROS_RESTRICTION" 2022-04-22 10:56:35 normalization > 10:55:55.030559 [debug] [Thread-4 ]: On model.airbyte_utils.MACROS_RESTRICTION: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.MACROS_RESTRICTION"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace temporary table "AIRBYTE_DB".ZENDESK_SUPPORT."MACROS_RESTRICTION__dbt_tmp" as 2022-04-22 10:56:35 normalization > (select * from( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > with __dbt__cte__MACROS_RESTRICTION_AB1 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to parse JSON blob stored in a single column and extract into separated field columns as described by the JSON Schema 2022-04-22 10:56:35 normalization > -- depends_on: "AIRBYTE_DB".ZENDESK_SUPPORT."MACROS_SCD" 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_MACROS_HASHID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(RESTRICTION), '"id"')) as ID, 2022-04-22 10:56:35 normalization > get_path(parse_json(RESTRICTION), '"ids"') as IDS, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(RESTRICTION), '"type"')) as TYPE, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."MACROS_SCD" as table_alias 2022-04-22 10:56:35 normalization > -- RESTRICTION at macros/restriction 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > and RESTRICTION is not null 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__MACROS_RESTRICTION_AB2 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to cast each column to its adequate SQL type converted from the JSON schema type 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__MACROS_RESTRICTION_AB1 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_MACROS_HASHID, 2022-04-22 10:56:35 normalization > cast(ID as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as ID, 2022-04-22 10:56:35 normalization > IDS, 2022-04-22 10:56:35 normalization > cast(TYPE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as TYPE, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from __dbt__cte__MACROS_RESTRICTION_AB1 2022-04-22 10:56:35 normalization > -- RESTRICTION at macros/restriction 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__MACROS_RESTRICTION_AB3 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to build a hash column based on the values of this record 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__MACROS_RESTRICTION_AB2 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(_AIRBYTE_MACROS_HASHID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(IDS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(TYPE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_RESTRICTION_HASHID, 2022-04-22 10:56:35 normalization > tmp.* 2022-04-22 10:56:35 normalization > from __dbt__cte__MACROS_RESTRICTION_AB2 tmp 2022-04-22 10:56:35 normalization > -- RESTRICTION at macros/restriction 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > )-- Final base SQL model 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__MACROS_RESTRICTION_AB3 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_MACROS_HASHID, 2022-04-22 10:56:35 normalization > ID, 2022-04-22 10:56:35 normalization > IDS, 2022-04-22 10:56:35 normalization > TYPE, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_RESTRICTION_HASHID 2022-04-22 10:56:35 normalization > from __dbt__cte__MACROS_RESTRICTION_AB3 2022-04-22 10:56:35 normalization > -- RESTRICTION at macros/restriction from "AIRBYTE_DB".ZENDESK_SUPPORT."MACROS_SCD" 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > and cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) >= 2022-04-22 10:56:35 normalization > cast('2022-04-09 03:01:32.277000-07:00' as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ) order by (_AIRBYTE_EMITTED_AT) 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:55:55.182951 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 0.68 seconds 2022-04-22 10:56:35 normalization > 10:55:55.188653 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.MACROS_ACTIONS" 2022-04-22 10:56:35 normalization > 10:55:55.188884 [debug] [Thread-1 ]: On model.airbyte_utils.MACROS_ACTIONS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.MACROS_ACTIONS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."MACROS_ACTIONS__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:55:55.291223 [debug] [Thread-1 ]: SQL status: SUCCESS 7 in 0.1 seconds 2022-04-22 10:56:35 normalization > 10:55:55.299300 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.MACROS_ACTIONS" 2022-04-22 10:56:35 normalization > 10:55:55.299723 [debug] [Thread-1 ]: On model.airbyte_utils.MACROS_ACTIONS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.MACROS_ACTIONS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."MACROS_ACTIONS" 2022-04-22 10:56:35 normalization > 10:55:55.353706 [debug] [Thread-1 ]: SQL status: SUCCESS 7 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:55:55.359053 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.MACROS_ACTIONS" 2022-04-22 10:56:35 normalization > 10:55:55.359253 [debug] [Thread-1 ]: On model.airbyte_utils.MACROS_ACTIONS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.MACROS_ACTIONS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."MACROS_ACTIONS__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:55:55.430540 [debug] [Thread-1 ]: SQL status: SUCCESS 7 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:55:55.435952 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.MACROS_ACTIONS" 2022-04-22 10:56:35 normalization > 10:55:55.436175 [debug] [Thread-1 ]: On model.airbyte_utils.MACROS_ACTIONS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.MACROS_ACTIONS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"."ZENDESK_SUPPORT"."MACROS_ACTIONS" 2022-04-22 10:56:35 normalization > 10:55:55.506364 [debug] [Thread-1 ]: SQL status: SUCCESS 7 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:55:55.510329 [debug] [Thread-1 ]: 2022-04-22 10:56:35 normalization > In "AIRBYTE_DB"."ZENDESK_SUPPORT"."MACROS_ACTIONS": 2022-04-22 10:56:35 normalization > Schema changed: False 2022-04-22 10:56:35 normalization > Source columns not in target: [] 2022-04-22 10:56:35 normalization > Target columns not in source: [] 2022-04-22 10:56:35 normalization > New column types: [] 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 10:55:55.513259 [debug] [Thread-1 ]: Writing runtime SQL for node "model.airbyte_utils.MACROS_ACTIONS" 2022-04-22 10:56:35 normalization > 10:55:55.514275 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.MACROS_ACTIONS" 2022-04-22 10:56:35 normalization > 10:55:55.514443 [debug] [Thread-1 ]: On model.airbyte_utils.MACROS_ACTIONS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.MACROS_ACTIONS"} */ 2022-04-22 10:56:35 normalization > begin; 2022-04-22 10:56:35 normalization > 10:55:55.567330 [debug] [Thread-3 ]: SQL status: SUCCESS 249 in 1.52 seconds 2022-04-22 10:56:35 normalization > 10:55:55.567662 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.USERS" 2022-04-22 10:56:35 normalization > 10:55:55.567775 [debug] [Thread-3 ]: On model.airbyte_utils.USERS: commit; 2022-04-22 10:56:35 normalization > 10:55:55.609883 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 0.1 seconds 2022-04-22 10:56:35 normalization > 10:55:55.610216 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.MACROS_ACTIONS" 2022-04-22 10:56:35 normalization > 10:55:55.610336 [debug] [Thread-1 ]: On model.airbyte_utils.MACROS_ACTIONS: insert into "AIRBYTE_DB".ZENDESK_SUPPORT."MACROS_ACTIONS" ("_AIRBYTE_MACROS_HASHID", "FIELD", "VALUE", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_ACTIONS_HASHID") 2022-04-22 10:56:35 normalization > ( 2022-04-22 10:56:35 normalization > select "_AIRBYTE_MACROS_HASHID", "FIELD", "VALUE", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_ACTIONS_HASHID" 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."MACROS_ACTIONS__dbt_tmp" 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:55:55.707758 [debug] [Thread-4 ]: SQL status: SUCCESS 1 in 0.68 seconds 2022-04-22 10:56:35 normalization > 10:55:55.712230 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.MACROS_RESTRICTION" 2022-04-22 10:56:35 normalization > 10:55:55.712442 [debug] [Thread-4 ]: On model.airbyte_utils.MACROS_RESTRICTION: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.MACROS_RESTRICTION"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."MACROS_RESTRICTION__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:55:55.780812 [debug] [Thread-4 ]: SQL status: SUCCESS 8 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:55:55.796991 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.MACROS_RESTRICTION" 2022-04-22 10:56:35 normalization > 10:55:55.798372 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 0.88 seconds 2022-04-22 10:56:35 normalization > 10:55:55.798639 [debug] [Thread-4 ]: On model.airbyte_utils.MACROS_RESTRICTION: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.MACROS_RESTRICTION"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."MACROS_RESTRICTION" 2022-04-22 10:56:35 normalization > 10:55:55.802459 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA" 2022-04-22 10:56:35 normalization > 10:55:55.803339 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_METADATA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:55:55.812589 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 0.24 seconds 2022-04-22 10:56:35 normalization > 10:55:55.815933 [debug] [Thread-3 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:55.816164 [debug] [Thread-3 ]: On model.airbyte_utils.USERS: Close 2022-04-22 10:56:35 normalization > 10:55:55.905558 [debug] [Thread-2 ]: SQL status: SUCCESS 11 in 0.1 seconds 2022-04-22 10:56:35 normalization > 10:55:55.915311 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA" 2022-04-22 10:56:35 normalization > 10:55:55.915620 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_METADATA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA" 2022-04-22 10:56:35 normalization > 10:55:55.918525 [debug] [Thread-4 ]: SQL status: SUCCESS 8 in 0.12 seconds 2022-04-22 10:56:35 normalization > 10:55:56.045283 [debug] [Thread-5 ]: SQL status: SUCCESS 1 in 1.1 seconds 2022-04-22 10:56:35 normalization > 10:55:56.052052 [info ] [Thread-3 ]: 42 of 95 OK created incremental model ZENDESK_SUPPORT.USERS............................................................. [SUCCESS 1 in 7.01s] 2022-04-22 10:56:35 normalization > 10:55:56.053788 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS" 2022-04-22 10:56:35 normalization > 10:55:56.057081 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.MACROS_RESTRICTION" 2022-04-22 10:56:35 normalization > 10:55:56.057362 [debug] [Thread-3 ]: Finished running node model.airbyte_utils.USERS 2022-04-22 10:56:35 normalization > 10:55:56.057677 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:55:56.057896 [debug] [Thread-4 ]: On model.airbyte_utils.MACROS_RESTRICTION: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.MACROS_RESTRICTION"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."MACROS_RESTRICTION__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:55:56.058390 [debug] [Thread-3 ]: Began running node model.airbyte_utils.TICKET_AUDITS_VIA 2022-04-22 10:56:35 normalization > 10:55:56.061514 [info ] [Thread-3 ]: 50 of 95 START incremental model ZENDESK_SUPPORT.TICKET_AUDITS_VIA...................................................... [RUN] 2022-04-22 10:56:35 normalization > 10:55:56.062455 [debug] [Thread-3 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS_VIA" 2022-04-22 10:56:35 normalization > 10:55:56.068713 [debug] [Thread-3 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS_VIA 2022-04-22 10:56:35 normalization > 10:55:56.072613 [debug] [Thread-3 ]: Compiling model.airbyte_utils.TICKET_AUDITS_VIA 2022-04-22 10:56:35 normalization > 10:55:56.101530 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_VIA" 2022-04-22 10:56:35 normalization > 10:55:56.102977 [debug] [Thread-1 ]: SQL status: SUCCESS 6 in 0.49 seconds 2022-04-22 10:56:35 normalization > 10:55:56.103237 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_AUDITS_VIA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_VIA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_VIA" 2022-04-22 10:56:35 normalization > 10:55:56.103503 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.MACROS_ACTIONS" 2022-04-22 10:56:35 normalization > 10:55:56.103810 [debug] [Thread-3 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:55:56.104034 [debug] [Thread-1 ]: On model.airbyte_utils.MACROS_ACTIONS: commit; 2022-04-22 10:56:35 normalization > 10:55:56.110974 [debug] [Thread-2 ]: SQL status: SUCCESS 11 in 0.2 seconds 2022-04-22 10:56:35 normalization > 10:55:56.116580 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA" 2022-04-22 10:56:35 normalization > 10:55:56.117795 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_METADATA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:55:56.159980 [debug] [Thread-4 ]: SQL status: SUCCESS 8 in 0.1 seconds 2022-04-22 10:56:35 normalization > 10:55:56.181597 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.MACROS_RESTRICTION" 2022-04-22 10:56:35 normalization > 10:55:56.187409 [debug] [Thread-4 ]: On model.airbyte_utils.MACROS_RESTRICTION: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.MACROS_RESTRICTION"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"."ZENDESK_SUPPORT"."MACROS_RESTRICTION" 2022-04-22 10:56:35 normalization > 10:55:56.213451 [debug] [Thread-5 ]: SQL status: SUCCESS 30 in 0.15 seconds 2022-04-22 10:56:35 normalization > 10:55:56.219934 [debug] [Thread-2 ]: SQL status: SUCCESS 11 in 0.1 seconds 2022-04-22 10:56:35 normalization > 10:55:56.274313 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS" 2022-04-22 10:56:35 normalization > 10:55:56.298223 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA" 2022-04-22 10:56:35 normalization > 10:55:56.303901 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS" 2022-04-22 10:56:35 normalization > 10:55:56.315776 [debug] [Thread-4 ]: SQL status: SUCCESS 8 in 0.12 seconds 2022-04-22 10:56:35 normalization > 10:55:56.343720 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_METADATA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_AUDITS_METADATA" 2022-04-22 10:56:35 normalization > 10:55:56.349469 [debug] [Thread-4 ]: 2022-04-22 10:56:35 normalization > In "AIRBYTE_DB"."ZENDESK_SUPPORT"."MACROS_RESTRICTION": 2022-04-22 10:56:35 normalization > Schema changed: False 2022-04-22 10:56:35 normalization > Source columns not in target: [] 2022-04-22 10:56:35 normalization > Target columns not in source: [] 2022-04-22 10:56:35 normalization > New column types: [] 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 10:55:56.352544 [debug] [Thread-4 ]: Writing runtime SQL for node "model.airbyte_utils.MACROS_RESTRICTION" 2022-04-22 10:56:35 normalization > 10:55:56.355333 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.MACROS_RESTRICTION" 2022-04-22 10:56:35 normalization > 10:55:56.355663 [debug] [Thread-4 ]: On model.airbyte_utils.MACROS_RESTRICTION: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.MACROS_RESTRICTION"} */ 2022-04-22 10:56:35 normalization > begin; 2022-04-22 10:56:35 normalization > 10:55:56.375660 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 0.27 seconds 2022-04-22 10:56:35 normalization > 10:55:56.379474 [debug] [Thread-1 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:56.379758 [debug] [Thread-1 ]: On model.airbyte_utils.MACROS_ACTIONS: Close 2022-04-22 10:56:35 normalization > 10:55:56.423297 [debug] [Thread-2 ]: SQL status: SUCCESS 11 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:55:56.438660 [debug] [Thread-2 ]: 2022-04-22 10:56:35 normalization > In "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_AUDITS_METADATA": 2022-04-22 10:56:35 normalization > Schema changed: False 2022-04-22 10:56:35 normalization > Source columns not in target: [] 2022-04-22 10:56:35 normalization > Target columns not in source: [] 2022-04-22 10:56:35 normalization > New column types: [] 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 10:55:56.439725 [debug] [Thread-5 ]: SQL status: SUCCESS 30 in 0.1 seconds 2022-04-22 10:56:35 normalization > 10:55:56.441310 [debug] [Thread-2 ]: Writing runtime SQL for node "model.airbyte_utils.TICKET_AUDITS_METADATA" 2022-04-22 10:56:35 normalization > 10:55:56.450500 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS" 2022-04-22 10:56:35 normalization > 10:55:56.453401 [debug] [Thread-4 ]: SQL status: SUCCESS 1 in 0.1 seconds 2022-04-22 10:56:35 normalization > 10:55:56.453833 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:55:56.454614 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA" 2022-04-22 10:56:35 normalization > 10:55:56.455097 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.MACROS_RESTRICTION" 2022-04-22 10:56:35 normalization > 10:55:56.456269 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_METADATA"} */ 2022-04-22 10:56:35 normalization > begin; 2022-04-22 10:56:35 normalization > 10:55:56.458773 [debug] [Thread-4 ]: On model.airbyte_utils.MACROS_RESTRICTION: insert into "AIRBYTE_DB".ZENDESK_SUPPORT."MACROS_RESTRICTION" ("_AIRBYTE_MACROS_HASHID", "ID", "IDS", "TYPE", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_RESTRICTION_HASHID") 2022-04-22 10:56:35 normalization > ( 2022-04-22 10:56:35 normalization > select "_AIRBYTE_MACROS_HASHID", "ID", "IDS", "TYPE", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_RESTRICTION_HASHID" 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."MACROS_RESTRICTION__dbt_tmp" 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:55:56.509985 [info ] [Thread-1 ]: 46 of 95 OK created incremental model ZENDESK_SUPPORT.MACROS_ACTIONS.................................................... [SUCCESS 1 in 4.34s] 2022-04-22 10:56:35 normalization > 10:55:56.510589 [debug] [Thread-1 ]: Finished running node model.airbyte_utils.MACROS_ACTIONS 2022-04-22 10:56:35 normalization > 10:55:56.510979 [debug] [Thread-1 ]: Began running node model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS 2022-04-22 10:56:35 normalization > 10:55:56.511621 [info ] [Thread-1 ]: 51 of 95 START incremental model ZENDESK_SUPPORT.TICKET_COMMENTS_ATTACHMENTS............................................ [RUN] 2022-04-22 10:56:35 normalization > 10:55:56.512212 [debug] [Thread-1 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS" 2022-04-22 10:56:35 normalization > 10:55:56.512481 [debug] [Thread-1 ]: Began compiling node model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS 2022-04-22 10:56:35 normalization > 10:55:56.512646 [debug] [Thread-1 ]: Compiling model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS 2022-04-22 10:56:35 normalization > 10:55:56.545316 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS" 2022-04-22 10:56:35 normalization > 10:55:56.547198 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_ATTACHMENTS" 2022-04-22 10:56:35 normalization > 10:55:56.548797 [debug] [Thread-1 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:55:56.549741 [debug] [Thread-5 ]: SQL status: SUCCESS 30 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:55:56.551935 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:55:56.559763 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS" 2022-04-22 10:56:35 normalization > 10:55:56.560441 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA" 2022-04-22 10:56:35 normalization > 10:55:56.560626 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_AUDITS_EVENTS" 2022-04-22 10:56:35 normalization > 10:55:56.561003 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA: insert into "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA" ("_AIRBYTE_TICKET_AUDITS_HASHID", "FLAGS", "CUSTOM", "SYSTEM", "TRUSTED", "FLAGS_OPTIONS", "NOTIFICATIONS_SUPPRESSED_FOR", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_METADATA_HASHID") 2022-04-22 10:56:35 normalization > ( 2022-04-22 10:56:35 normalization > select "_AIRBYTE_TICKET_AUDITS_HASHID", "FLAGS", "CUSTOM", "SYSTEM", "TRUSTED", "FLAGS_OPTIONS", "NOTIFICATIONS_SUPPRESSED_FOR", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_METADATA_HASHID" 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA__dbt_tmp" 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:55:56.650049 [debug] [Thread-5 ]: SQL status: SUCCESS 30 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:55:56.675144 [debug] [Thread-5 ]: 2022-04-22 10:56:35 normalization > In "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_AUDITS_EVENTS": 2022-04-22 10:56:35 normalization > Schema changed: False 2022-04-22 10:56:35 normalization > Source columns not in target: [] 2022-04-22 10:56:35 normalization > Target columns not in source: [] 2022-04-22 10:56:35 normalization > New column types: [] 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 10:55:56.682315 [debug] [Thread-5 ]: Writing runtime SQL for node "model.airbyte_utils.TICKET_AUDITS_EVENTS" 2022-04-22 10:56:35 normalization > 10:55:56.715025 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS" 2022-04-22 10:56:35 normalization > 10:55:56.731011 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS"} */ 2022-04-22 10:56:35 normalization > begin; 2022-04-22 10:56:35 normalization > 10:55:56.748806 [debug] [Thread-3 ]: SQL status: SUCCESS 7 in 0.64 seconds 2022-04-22 10:56:35 normalization > 10:55:56.761606 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_VIA" 2022-04-22 10:56:35 normalization > 10:55:56.762058 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_AUDITS_VIA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_VIA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_VIA" 2022-04-22 10:56:35 normalization > 10:55:56.842791 [debug] [Thread-3 ]: SQL status: SUCCESS 7 in 0.08 seconds 2022-04-22 10:56:35 normalization > 10:55:56.846418 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_VIA" 2022-04-22 10:56:35 normalization > 10:55:56.846637 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_AUDITS_VIA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_VIA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_VIA" 2022-04-22 10:56:35 normalization > 10:55:56.864745 [debug] [Thread-5 ]: SQL status: SUCCESS 1 in 0.13 seconds 2022-04-22 10:56:35 normalization > 10:55:56.865139 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS" 2022-04-22 10:56:35 normalization > 10:55:56.865455 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS: insert into "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS" ("_AIRBYTE_TICKET_AUDITS_HASHID", "ID", "VIA", "BODY", "DATA", "TYPE", "VALUE", "PUBLIC", "SUBJECT", "TRUSTED", "AUDIT_ID", "MACRO_ID", "RESOURCE", "AUTHOR_ID", "HTML_BODY", "CREATED_AT", "FIELD_NAME", "PLAIN_BODY", "RECIPIENTS", "ATTACHMENTS", "MACRO_TITLE", "FORMATTED_TO", "MACRO_DELETED", "FORMATTED_FROM", "PREVIOUS_VALUE", "TRANSCRIPTION_VISIBLE", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_EVENTS_HASHID") 2022-04-22 10:56:35 normalization > ( 2022-04-22 10:56:35 normalization > select "_AIRBYTE_TICKET_AUDITS_HASHID", "ID", "VIA", "BODY", "DATA", "TYPE", "VALUE", "PUBLIC", "SUBJECT", "TRUSTED", "AUDIT_ID", "MACRO_ID", "RESOURCE", "AUTHOR_ID", "HTML_BODY", "CREATED_AT", "FIELD_NAME", "PLAIN_BODY", "RECIPIENTS", "ATTACHMENTS", "MACRO_TITLE", "FORMATTED_TO", "MACRO_DELETED", "FORMATTED_FROM", "PREVIOUS_VALUE", "TRANSCRIPTION_VISIBLE", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_EVENTS_HASHID" 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS__dbt_tmp" 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:55:57.009542 [debug] [Thread-4 ]: SQL status: SUCCESS 1 in 0.55 seconds 2022-04-22 10:56:35 normalization > 10:55:57.009857 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.MACROS_RESTRICTION" 2022-04-22 10:56:35 normalization > 10:55:57.009972 [debug] [Thread-4 ]: On model.airbyte_utils.MACROS_RESTRICTION: commit; 2022-04-22 10:56:35 normalization > 10:55:57.036175 [debug] [Thread-2 ]: SQL status: SUCCESS 132 in 0.47 seconds 2022-04-22 10:56:35 normalization > 10:55:57.036523 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA" 2022-04-22 10:56:35 normalization > 10:55:57.036651 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA: commit; 2022-04-22 10:56:35 normalization > 10:55:57.075048 [debug] [Thread-1 ]: SQL status: SUCCESS 16 in 0.53 seconds 2022-04-22 10:56:35 normalization > 10:55:57.087881 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS" 2022-04-22 10:56:35 normalization > 10:55:57.088143 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_ATTACHMENTS" 2022-04-22 10:56:35 normalization > 10:55:57.140422 [debug] [Thread-1 ]: SQL status: SUCCESS 16 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:55:57.143669 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS" 2022-04-22 10:56:35 normalization > 10:55:57.143866 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_ATTACHMENTS" 2022-04-22 10:56:35 normalization > 10:55:57.163494 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 0.32 seconds 2022-04-22 10:56:35 normalization > 10:55:57.173435 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_VIA" 2022-04-22 10:56:35 normalization > 10:55:57.173683 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_AUDITS_VIA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_VIA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_VIA" 2022-04-22 10:56:35 normalization > 10:55:57.229271 [debug] [Thread-3 ]: SQL status: SUCCESS 7 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:55:57.232452 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_VIA" 2022-04-22 10:56:35 normalization > 10:55:57.232641 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_AUDITS_VIA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_VIA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_VIA" 2022-04-22 10:56:35 normalization > 10:55:57.260313 [debug] [Thread-4 ]: SQL status: SUCCESS 1 in 0.25 seconds 2022-04-22 10:56:35 normalization > 10:55:57.264607 [debug] [Thread-4 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:57.264912 [debug] [Thread-4 ]: On model.airbyte_utils.MACROS_RESTRICTION: Close 2022-04-22 10:56:35 normalization > 10:55:57.288010 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 0.25 seconds 2022-04-22 10:56:35 normalization > 10:55:57.291560 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:57.291949 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA: Close 2022-04-22 10:56:35 normalization > 10:55:57.307303 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:55:57.314708 [debug] [Thread-3 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS_VIA" 2022-04-22 10:56:35 normalization > 10:55:57.315129 [debug] [Thread-3 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:57.315282 [debug] [Thread-3 ]: Began executing node model.airbyte_utils.TICKET_AUDITS_VIA 2022-04-22 10:56:35 normalization > 10:55:57.321044 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_VIA" 2022-04-22 10:56:35 normalization > 10:55:57.321334 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_AUDITS_VIA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_VIA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_VIA" 2022-04-22 10:56:35 normalization > 10:55:57.375561 [info ] [Thread-4 ]: 47 of 95 OK created incremental model ZENDESK_SUPPORT.MACROS_RESTRICTION................................................ [SUCCESS 1 in 4.94s] 2022-04-22 10:56:35 normalization > 10:55:57.376061 [debug] [Thread-4 ]: Finished running node model.airbyte_utils.MACROS_RESTRICTION 2022-04-22 10:56:35 normalization > 10:55:57.376355 [debug] [Thread-4 ]: Began running node model.airbyte_utils.USERS_PHOTO_AB3 2022-04-22 10:56:35 normalization > 10:55:57.376925 [debug] [Thread-4 ]: Acquiring new snowflake connection "model.airbyte_utils.USERS_PHOTO_AB3" 2022-04-22 10:56:35 normalization > 10:55:57.377159 [debug] [Thread-4 ]: Began compiling node model.airbyte_utils.USERS_PHOTO_AB3 2022-04-22 10:56:35 normalization > 10:55:57.377335 [debug] [Thread-4 ]: Compiling model.airbyte_utils.USERS_PHOTO_AB3 2022-04-22 10:56:35 normalization > 10:55:57.406002 [debug] [Thread-4 ]: Writing injected SQL for node "model.airbyte_utils.USERS_PHOTO_AB3" 2022-04-22 10:56:35 normalization > 10:55:57.408503 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 0.26 seconds 2022-04-22 10:56:35 normalization > 10:55:57.415128 [info ] [Thread-2 ]: 49 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_AUDITS_METADATA............................................ [SUCCESS 1 in 4.70s] 2022-04-22 10:56:35 normalization > 10:55:57.415908 [debug] [Thread-3 ]: SQL status: SUCCESS 7 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:55:57.425823 [debug] [Thread-4 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:57.426364 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS" 2022-04-22 10:56:35 normalization > 10:55:57.439678 [debug] [Thread-2 ]: Finished running node model.airbyte_utils.TICKET_AUDITS_METADATA 2022-04-22 10:56:35 normalization > 10:55:57.439872 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_VIA" 2022-04-22 10:56:35 normalization > 10:55:57.440433 [debug] [Thread-4 ]: Finished running node model.airbyte_utils.USERS_PHOTO_AB3 2022-04-22 10:56:35 normalization > 10:55:57.440633 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_ATTACHMENTS" 2022-04-22 10:56:35 normalization > 10:55:57.440885 [debug] [Thread-2 ]: Began running node model.airbyte_utils.TICKET_COMMENTS_METADATA 2022-04-22 10:56:35 normalization > 10:55:57.441356 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_AUDITS_VIA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_VIA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace temporary table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_VIA__dbt_tmp" as 2022-04-22 10:56:35 normalization > (select * from( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > with __dbt__cte__TICKET_AUDITS_VIA_AB1 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to parse JSON blob stored in a single column and extract into separated field columns as described by the JSON Schema 2022-04-22 10:56:35 normalization > -- depends_on: "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_SCD" 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_TICKET_AUDITS_HASHID, 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > get_path(parse_json(table_alias.VIA), '"source"') 2022-04-22 10:56:35 normalization > as SOURCE, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(VIA), '"channel"')) as CHANNEL, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_SCD" as table_alias 2022-04-22 10:56:35 normalization > -- VIA at ticket_audits/via 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > and VIA is not null 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKET_AUDITS_VIA_AB2 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to cast each column to its adequate SQL type converted from the JSON schema type 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_AUDITS_VIA_AB1 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_TICKET_AUDITS_HASHID, 2022-04-22 10:56:35 normalization > cast(SOURCE as 2022-04-22 10:56:35 normalization > variant 2022-04-22 10:56:35 normalization > ) as SOURCE, 2022-04-22 10:56:35 normalization > cast(CHANNEL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as CHANNEL, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_AUDITS_VIA_AB1 2022-04-22 10:56:35 normalization > -- VIA at ticket_audits/via 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKET_AUDITS_VIA_AB3 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to build a hash column based on the values of this record 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_AUDITS_VIA_AB2 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(_AIRBYTE_TICKET_AUDITS_HASHID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(SOURCE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(CHANNEL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_VIA_HASHID, 2022-04-22 10:56:35 normalization > tmp.* 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_AUDITS_VIA_AB2 tmp 2022-04-22 10:56:35 normalization > -- VIA at ticket_audits/via 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > )-- Final base SQL model 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_AUDITS_VIA_AB3 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_TICKET_AUDITS_HASHID, 2022-04-22 10:56:35 normalization > SOURCE, 2022-04-22 10:56:35 normalization > CHANNEL, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_VIA_HASHID 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_AUDITS_VIA_AB3 2022-04-22 10:56:35 normalization > -- VIA at ticket_audits/via from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_SCD" 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > and cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) >= 2022-04-22 10:56:35 normalization > cast('2022-04-22 10:47:49.699000-07:00' as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ) order by (_AIRBYTE_EMITTED_AT) 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:55:57.441788 [debug] [Thread-4 ]: Began running node model.airbyte_utils.TICKET_COMMENTS_VIA 2022-04-22 10:56:35 normalization > 10:55:57.443910 [info ] [Thread-2 ]: 52 of 95 START incremental model ZENDESK_SUPPORT.TICKET_COMMENTS_METADATA............................................... [RUN] 2022-04-22 10:56:35 normalization > 10:55:57.447104 [info ] [Thread-4 ]: 53 of 95 START incremental model ZENDESK_SUPPORT.TICKET_COMMENTS_VIA.................................................... [RUN] 2022-04-22 10:56:35 normalization > 10:55:57.448171 [debug] [Thread-2 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA" 2022-04-22 10:56:35 normalization > 10:55:57.448772 [debug] [Thread-4 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_COMMENTS_VIA" 2022-04-22 10:56:35 normalization > 10:55:57.449043 [debug] [Thread-2 ]: Began compiling node model.airbyte_utils.TICKET_COMMENTS_METADATA 2022-04-22 10:56:35 normalization > 10:55:57.449258 [debug] [Thread-4 ]: Began compiling node model.airbyte_utils.TICKET_COMMENTS_VIA 2022-04-22 10:56:35 normalization > 10:55:57.449475 [debug] [Thread-2 ]: Compiling model.airbyte_utils.TICKET_COMMENTS_METADATA 2022-04-22 10:56:35 normalization > 10:55:57.449664 [debug] [Thread-4 ]: Compiling model.airbyte_utils.TICKET_COMMENTS_VIA 2022-04-22 10:56:35 normalization > 10:55:57.463231 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA" 2022-04-22 10:56:35 normalization > 10:55:57.478031 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_VIA" 2022-04-22 10:56:35 normalization > 10:55:57.478333 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_METADATA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA" 2022-04-22 10:56:35 normalization > 10:55:57.478569 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_COMMENTS_VIA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_VIA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_VIA" 2022-04-22 10:56:35 normalization > 10:55:57.479154 [debug] [Thread-5 ]: SQL status: SUCCESS 687 in 0.61 seconds 2022-04-22 10:56:35 normalization > 10:55:57.479421 [debug] [Thread-2 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:55:57.479602 [debug] [Thread-4 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:55:57.479812 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS" 2022-04-22 10:56:35 normalization > 10:55:57.484884 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS: commit; 2022-04-22 10:56:35 normalization > 10:55:57.540135 [debug] [Thread-1 ]: SQL status: SUCCESS 16 in 0.1 seconds 2022-04-22 10:56:35 normalization > 10:55:57.599970 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS" 2022-04-22 10:56:35 normalization > 10:55:57.605464 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_ATTACHMENTS" 2022-04-22 10:56:35 normalization > 10:55:57.763815 [debug] [Thread-5 ]: SQL status: SUCCESS 1 in 0.28 seconds 2022-04-22 10:56:35 normalization > 10:55:57.768020 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:57.768416 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS: Close 2022-04-22 10:56:35 normalization > 10:55:57.814505 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 0.2 seconds 2022-04-22 10:56:35 normalization > 10:55:57.823867 [debug] [Thread-1 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS" 2022-04-22 10:56:35 normalization > 10:55:57.824846 [debug] [Thread-1 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:57.825133 [debug] [Thread-1 ]: Began executing node model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS 2022-04-22 10:56:35 normalization > 10:55:57.830958 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS" 2022-04-22 10:56:35 normalization > 10:55:57.831259 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_ATTACHMENTS" 2022-04-22 10:56:35 normalization > 10:55:57.881186 [debug] [Thread-1 ]: SQL status: SUCCESS 16 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:55:57.895430 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS" 2022-04-22 10:56:35 normalization > 10:55:57.896028 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace temporary table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_ATTACHMENTS__dbt_tmp" as 2022-04-22 10:56:35 normalization > (select * from( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > with __dbt__cte__TICKET_COMMENTS_ATTACHMENTS_AB1 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to parse JSON blob stored in a single column and extract into separated field columns as described by the JSON Schema 2022-04-22 10:56:35 normalization > -- depends_on: "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_SCD" 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_TICKET_COMMENTS_HASHID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(ATTACHMENTS.value), '"id"')) as ID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(ATTACHMENTS.value), '"url"')) as URL, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(ATTACHMENTS.value), '"size"')) as SIZE, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(ATTACHMENTS.value), '"width"')) as WIDTH, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(ATTACHMENTS.value), '"height"')) as HEIGHT, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(ATTACHMENTS.value), '"inline"')) as INLINE, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(ATTACHMENTS.value), '"file_name"')) as FILE_NAME, 2022-04-22 10:56:35 normalization > get_path(parse_json(ATTACHMENTS.value), '"thumbnails"') as THUMBNAILS, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(ATTACHMENTS.value), '"content_url"')) as CONTENT_URL, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(ATTACHMENTS.value), '"content_type"')) as CONTENT_TYPE, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(ATTACHMENTS.value), '"mapped_content_url"')) as MAPPED_CONTENT_URL, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_SCD" as table_alias 2022-04-22 10:56:35 normalization > -- ATTACHMENTS at ticket_comments/attachments 2022-04-22 10:56:35 normalization > cross join table(flatten(ATTACHMENTS)) as ATTACHMENTS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > and ATTACHMENTS is not null 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKET_COMMENTS_ATTACHMENTS_AB2 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to cast each column to its adequate SQL type converted from the JSON schema type 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_COMMENTS_ATTACHMENTS_AB1 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_TICKET_COMMENTS_HASHID, 2022-04-22 10:56:35 normalization > cast(ID as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as ID, 2022-04-22 10:56:35 normalization > cast(URL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as URL, 2022-04-22 10:56:35 normalization > cast(SIZE as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as SIZE, 2022-04-22 10:56:35 normalization > cast(WIDTH as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as WIDTH, 2022-04-22 10:56:35 normalization > cast(HEIGHT as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as HEIGHT, 2022-04-22 10:56:35 normalization > cast(INLINE as boolean) as INLINE, 2022-04-22 10:56:35 normalization > cast(FILE_NAME as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as FILE_NAME, 2022-04-22 10:56:35 normalization > THUMBNAILS, 2022-04-22 10:56:35 normalization > cast(CONTENT_URL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as CONTENT_URL, 2022-04-22 10:56:35 normalization > cast(CONTENT_TYPE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as CONTENT_TYPE, 2022-04-22 10:56:35 normalization > cast(MAPPED_CONTENT_URL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as MAPPED_CONTENT_URL, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_COMMENTS_ATTACHMENTS_AB1 2022-04-22 10:56:35 normalization > -- ATTACHMENTS at ticket_comments/attachments 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKET_COMMENTS_ATTACHMENTS_AB3 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to build a hash column based on the values of this record 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_COMMENTS_ATTACHMENTS_AB2 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(_AIRBYTE_TICKET_COMMENTS_HASHID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(URL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(SIZE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(WIDTH as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(HEIGHT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(INLINE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(FILE_NAME as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(THUMBNAILS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(CONTENT_URL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(CONTENT_TYPE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(MAPPED_CONTENT_URL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_ATTACHMENTS_HASHID, 2022-04-22 10:56:35 normalization > tmp.* 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_COMMENTS_ATTACHMENTS_AB2 tmp 2022-04-22 10:56:35 normalization > -- ATTACHMENTS at ticket_comments/attachments 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > )-- Final base SQL model 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_COMMENTS_ATTACHMENTS_AB3 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_TICKET_COMMENTS_HASHID, 2022-04-22 10:56:35 normalization > ID, 2022-04-22 10:56:35 normalization > URL, 2022-04-22 10:56:35 normalization > SIZE, 2022-04-22 10:56:35 normalization > WIDTH, 2022-04-22 10:56:35 normalization > HEIGHT, 2022-04-22 10:56:35 normalization > INLINE, 2022-04-22 10:56:35 normalization > FILE_NAME, 2022-04-22 10:56:35 normalization > THUMBNAILS, 2022-04-22 10:56:35 normalization > CONTENT_URL, 2022-04-22 10:56:35 normalization > CONTENT_TYPE, 2022-04-22 10:56:35 normalization > MAPPED_CONTENT_URL, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_ATTACHMENTS_HASHID 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_COMMENTS_ATTACHMENTS_AB3 2022-04-22 10:56:35 normalization > -- ATTACHMENTS at ticket_comments/attachments from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_SCD" 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > and cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) >= 2022-04-22 10:56:35 normalization > cast('2022-04-22 10:49:13.043000-07:00' as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ) order by (_AIRBYTE_EMITTED_AT) 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:55:57.897572 [info ] [Thread-5 ]: 48 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_AUDITS_EVENTS.............................................. [SUCCESS 1 in 5.23s] 2022-04-22 10:56:35 normalization > 10:55:57.900042 [debug] [Thread-5 ]: Finished running node model.airbyte_utils.TICKET_AUDITS_EVENTS 2022-04-22 10:56:35 normalization > 10:55:57.900466 [debug] [Thread-5 ]: Began running node model.airbyte_utils.TICKET_FIELDS_CUSTOM_FIELD_OPTIONS 2022-04-22 10:56:35 normalization > 10:55:57.900842 [info ] [Thread-5 ]: 54 of 95 START incremental model ZENDESK_SUPPORT.TICKET_FIELDS_CUSTOM_FIELD_OPTIONS..................................... [RUN] 2022-04-22 10:56:35 normalization > 10:55:57.902152 [debug] [Thread-5 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_FIELDS_CUSTOM_FIELD_OPTIONS" 2022-04-22 10:56:35 normalization > 10:55:57.902425 [debug] [Thread-5 ]: Began compiling node model.airbyte_utils.TICKET_FIELDS_CUSTOM_FIELD_OPTIONS 2022-04-22 10:56:35 normalization > 10:55:57.902732 [debug] [Thread-5 ]: Compiling model.airbyte_utils.TICKET_FIELDS_CUSTOM_FIELD_OPTIONS 2022-04-22 10:56:35 normalization > 10:55:57.919283 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_FIELDS_CUSTOM_FIELD_OPTIONS" 2022-04-22 10:56:35 normalization > 10:55:57.919546 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_FIELDS_CUSTOM_FIELD_OPTIONS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_FIELDS_CUSTOM_FIELD_OPTIONS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_FIELDS_CUSTOM_FIELD_OPTIONS" 2022-04-22 10:56:35 normalization > 10:55:57.919848 [debug] [Thread-5 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:55:58.263719 [debug] [Thread-4 ]: SQL status: SUCCESS 7 in 0.78 seconds 2022-04-22 10:56:35 normalization > 10:55:58.276080 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_VIA" 2022-04-22 10:56:35 normalization > 10:55:58.278245 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_COMMENTS_VIA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_VIA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_VIA" 2022-04-22 10:56:35 normalization > 10:55:58.330225 [debug] [Thread-2 ]: SQL status: SUCCESS 11 in 0.85 seconds 2022-04-22 10:56:35 normalization > 10:55:58.340482 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA" 2022-04-22 10:56:35 normalization > 10:55:58.340754 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_METADATA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA" 2022-04-22 10:56:35 normalization > 10:55:58.382898 [debug] [Thread-4 ]: SQL status: SUCCESS 7 in 0.1 seconds 2022-04-22 10:56:35 normalization > 10:55:58.385671 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_VIA" 2022-04-22 10:56:35 normalization > 10:55:58.385861 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_COMMENTS_VIA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_VIA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_VIA" 2022-04-22 10:56:35 normalization > 10:55:58.392188 [debug] [Thread-2 ]: SQL status: SUCCESS 11 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:55:58.395356 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA" 2022-04-22 10:56:35 normalization > 10:55:58.395531 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_METADATA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA" 2022-04-22 10:56:35 normalization > 10:55:58.417534 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 0.97 seconds 2022-04-22 10:56:35 normalization > 10:55:58.422056 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_VIA" 2022-04-22 10:56:35 normalization > 10:55:58.422261 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_AUDITS_VIA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_VIA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_VIA__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:55:58.514278 [debug] [Thread-3 ]: SQL status: SUCCESS 7 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:55:58.518972 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_VIA" 2022-04-22 10:56:35 normalization > 10:55:58.519184 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_AUDITS_VIA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_VIA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_VIA" 2022-04-22 10:56:35 normalization > 10:55:58.608643 [debug] [Thread-3 ]: SQL status: SUCCESS 7 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:55:58.615842 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_VIA" 2022-04-22 10:56:35 normalization > 10:55:58.616124 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_AUDITS_VIA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_VIA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_VIA__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:55:58.658799 [debug] [Thread-4 ]: SQL status: SUCCESS 1 in 0.27 seconds 2022-04-22 10:56:35 normalization > 10:55:58.669910 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_VIA" 2022-04-22 10:56:35 normalization > 10:55:58.670151 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_COMMENTS_VIA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_VIA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_VIA" 2022-04-22 10:56:35 normalization > 10:55:58.682864 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 0.29 seconds 2022-04-22 10:56:35 normalization > 10:55:58.692980 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA" 2022-04-22 10:56:35 normalization > 10:55:58.693217 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_METADATA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA" 2022-04-22 10:56:35 normalization > 10:55:58.707337 [debug] [Thread-3 ]: SQL status: SUCCESS 7 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:55:58.712015 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_VIA" 2022-04-22 10:56:35 normalization > 10:55:58.712922 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_AUDITS_VIA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_VIA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_AUDITS_VIA" 2022-04-22 10:56:35 normalization > 10:55:58.713567 [debug] [Thread-5 ]: SQL status: SUCCESS 10 in 0.79 seconds 2022-04-22 10:56:35 normalization > 10:55:58.725020 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_FIELDS_CUSTOM_FIELD_OPTIONS" 2022-04-22 10:56:35 normalization > 10:55:58.725809 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_FIELDS_CUSTOM_FIELD_OPTIONS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_FIELDS_CUSTOM_FIELD_OPTIONS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_FIELDS_CUSTOM_FIELD_OPTIONS" 2022-04-22 10:56:35 normalization > 10:55:58.746392 [debug] [Thread-2 ]: SQL status: SUCCESS 11 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:55:58.749796 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA" 2022-04-22 10:56:35 normalization > 10:55:58.750004 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_METADATA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA" 2022-04-22 10:56:35 normalization > 10:55:58.762547 [debug] [Thread-4 ]: SQL status: SUCCESS 7 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:55:58.765327 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_VIA" 2022-04-22 10:56:35 normalization > 10:55:58.765536 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_COMMENTS_VIA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_VIA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_VIA" 2022-04-22 10:56:35 normalization > 10:55:58.795833 [debug] [Thread-5 ]: SQL status: SUCCESS 10 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:55:58.798750 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_FIELDS_CUSTOM_FIELD_OPTIONS" 2022-04-22 10:56:35 normalization > 10:55:58.798957 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_FIELDS_CUSTOM_FIELD_OPTIONS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_FIELDS_CUSTOM_FIELD_OPTIONS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_FIELDS_CUSTOM_FIELD_OPTIONS" 2022-04-22 10:56:35 normalization > 10:55:58.845362 [debug] [Thread-4 ]: SQL status: SUCCESS 1 in 0.08 seconds 2022-04-22 10:56:35 normalization > 10:55:58.852745 [debug] [Thread-4 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_COMMENTS_VIA" 2022-04-22 10:56:35 normalization > 10:55:58.854073 [debug] [Thread-3 ]: SQL status: SUCCESS 7 in 0.14 seconds 2022-04-22 10:56:35 normalization > 10:55:58.856949 [debug] [Thread-3 ]: 2022-04-22 10:56:35 normalization > In "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_AUDITS_VIA": 2022-04-22 10:56:35 normalization > Schema changed: False 2022-04-22 10:56:35 normalization > Source columns not in target: [] 2022-04-22 10:56:35 normalization > Target columns not in source: [] 2022-04-22 10:56:35 normalization > New column types: [] 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 10:55:58.858083 [debug] [Thread-3 ]: Writing runtime SQL for node "model.airbyte_utils.TICKET_AUDITS_VIA" 2022-04-22 10:56:35 normalization > 10:55:58.858457 [debug] [Thread-4 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:58.858697 [debug] [Thread-4 ]: Began executing node model.airbyte_utils.TICKET_COMMENTS_VIA 2022-04-22 10:56:35 normalization > 10:55:58.864429 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_VIA" 2022-04-22 10:56:35 normalization > 10:55:58.867684 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_VIA" 2022-04-22 10:56:35 normalization > 10:55:58.867890 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_AUDITS_VIA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_VIA"} */ 2022-04-22 10:56:35 normalization > begin; 2022-04-22 10:56:35 normalization > 10:55:58.868050 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_COMMENTS_VIA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_VIA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_VIA" 2022-04-22 10:56:35 normalization > 10:55:58.901356 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 0.15 seconds 2022-04-22 10:56:35 normalization > 10:55:58.913281 [debug] [Thread-2 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_COMMENTS_METADATA" 2022-04-22 10:56:35 normalization > 10:55:58.913724 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:58.913878 [debug] [Thread-2 ]: Began executing node model.airbyte_utils.TICKET_COMMENTS_METADATA 2022-04-22 10:56:35 normalization > 10:55:58.920243 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA" 2022-04-22 10:56:35 normalization > 10:55:58.920548 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_METADATA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA" 2022-04-22 10:56:35 normalization > 10:55:58.963005 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:55:58.963451 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_VIA" 2022-04-22 10:56:35 normalization > 10:55:58.963644 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_AUDITS_VIA: insert into "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_VIA" ("_AIRBYTE_TICKET_AUDITS_HASHID", "SOURCE", "CHANNEL", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_VIA_HASHID") 2022-04-22 10:56:35 normalization > ( 2022-04-22 10:56:35 normalization > select "_AIRBYTE_TICKET_AUDITS_HASHID", "SOURCE", "CHANNEL", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_VIA_HASHID" 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_VIA__dbt_tmp" 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:55:58.974610 [debug] [Thread-4 ]: SQL status: SUCCESS 7 in 0.1 seconds 2022-04-22 10:56:35 normalization > 10:55:58.987469 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 1.09 seconds 2022-04-22 10:56:35 normalization > 10:55:58.990766 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_VIA" 2022-04-22 10:56:35 normalization > 10:55:58.991643 [debug] [Thread-2 ]: SQL status: SUCCESS 11 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:55:59.007825 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS" 2022-04-22 10:56:35 normalization > 10:55:59.008174 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_COMMENTS_VIA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_VIA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace temporary table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_VIA__dbt_tmp" as 2022-04-22 10:56:35 normalization > (select * from( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > with __dbt__cte__TICKET_COMMENTS_VIA_AB1 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to parse JSON blob stored in a single column and extract into separated field columns as described by the JSON Schema 2022-04-22 10:56:35 normalization > -- depends_on: "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_SCD" 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_TICKET_COMMENTS_HASHID, 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > get_path(parse_json(table_alias.VIA), '"source"') 2022-04-22 10:56:35 normalization > as SOURCE, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(VIA), '"channel"')) as CHANNEL, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_SCD" as table_alias 2022-04-22 10:56:35 normalization > -- VIA at ticket_comments/via 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > and VIA is not null 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKET_COMMENTS_VIA_AB2 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to cast each column to its adequate SQL type converted from the JSON schema type 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_COMMENTS_VIA_AB1 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_TICKET_COMMENTS_HASHID, 2022-04-22 10:56:35 normalization > cast(SOURCE as 2022-04-22 10:56:35 normalization > variant 2022-04-22 10:56:35 normalization > ) as SOURCE, 2022-04-22 10:56:35 normalization > cast(CHANNEL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as CHANNEL, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_COMMENTS_VIA_AB1 2022-04-22 10:56:35 normalization > -- VIA at ticket_comments/via 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKET_COMMENTS_VIA_AB3 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to build a hash column based on the values of this record 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_COMMENTS_VIA_AB2 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(_AIRBYTE_TICKET_COMMENTS_HASHID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(SOURCE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(CHANNEL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_VIA_HASHID, 2022-04-22 10:56:35 normalization > tmp.* 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_COMMENTS_VIA_AB2 tmp 2022-04-22 10:56:35 normalization > -- VIA at ticket_comments/via 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > )-- Final base SQL model 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_COMMENTS_VIA_AB3 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_TICKET_COMMENTS_HASHID, 2022-04-22 10:56:35 normalization > SOURCE, 2022-04-22 10:56:35 normalization > CHANNEL, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_VIA_HASHID 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_COMMENTS_VIA_AB3 2022-04-22 10:56:35 normalization > -- VIA at ticket_comments/via from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_SCD" 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > and cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) >= 2022-04-22 10:56:35 normalization > cast('2022-04-22 10:49:13.404000-07:00' as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ) order by (_AIRBYTE_EMITTED_AT) 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:55:59.031006 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_ATTACHMENTS__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:55:59.033108 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA" 2022-04-22 10:56:35 normalization > 10:55:59.037020 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_METADATA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace temporary table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA__dbt_tmp" as 2022-04-22 10:56:35 normalization > (select * from( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > with __dbt__cte__TICKET_COMMENTS_METADATA_AB1 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to parse JSON blob stored in a single column and extract into separated field columns as described by the JSON Schema 2022-04-22 10:56:35 normalization > -- depends_on: "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_SCD" 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_TICKET_COMMENTS_HASHID, 2022-04-22 10:56:35 normalization > get_path(parse_json(METADATA), '"flags"') as FLAGS, 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > get_path(parse_json(table_alias.METADATA), '"custom"') 2022-04-22 10:56:35 normalization > as CUSTOM, 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > get_path(parse_json(table_alias.METADATA), '"system"') 2022-04-22 10:56:35 normalization > as SYSTEM, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(METADATA), '"trusted"')) as TRUSTED, 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > get_path(parse_json(table_alias.METADATA), '"flags_options"') 2022-04-22 10:56:35 normalization > as FLAGS_OPTIONS, 2022-04-22 10:56:35 normalization > get_path(parse_json(METADATA), '"notifications_suppressed_for"') as NOTIFICATIONS_SUPPRESSED_FOR, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_SCD" as table_alias 2022-04-22 10:56:35 normalization > -- METADATA at ticket_comments/metadata 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > and METADATA is not null 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKET_COMMENTS_METADATA_AB2 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to cast each column to its adequate SQL type converted from the JSON schema type 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_COMMENTS_METADATA_AB1 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_TICKET_COMMENTS_HASHID, 2022-04-22 10:56:35 normalization > FLAGS, 2022-04-22 10:56:35 normalization > cast(CUSTOM as 2022-04-22 10:56:35 normalization > variant 2022-04-22 10:56:35 normalization > ) as CUSTOM, 2022-04-22 10:56:35 normalization > cast(SYSTEM as 2022-04-22 10:56:35 normalization > variant 2022-04-22 10:56:35 normalization > ) as SYSTEM, 2022-04-22 10:56:35 normalization > cast(TRUSTED as boolean) as TRUSTED, 2022-04-22 10:56:35 normalization > cast(FLAGS_OPTIONS as 2022-04-22 10:56:35 normalization > variant 2022-04-22 10:56:35 normalization > ) as FLAGS_OPTIONS, 2022-04-22 10:56:35 normalization > NOTIFICATIONS_SUPPRESSED_FOR, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_COMMENTS_METADATA_AB1 2022-04-22 10:56:35 normalization > -- METADATA at ticket_comments/metadata 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKET_COMMENTS_METADATA_AB3 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to build a hash column based on the values of this record 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_COMMENTS_METADATA_AB2 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(_AIRBYTE_TICKET_COMMENTS_HASHID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(FLAGS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(CUSTOM as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(SYSTEM as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(TRUSTED as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(FLAGS_OPTIONS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(NOTIFICATIONS_SUPPRESSED_FOR as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_METADATA_HASHID, 2022-04-22 10:56:35 normalization > tmp.* 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_COMMENTS_METADATA_AB2 tmp 2022-04-22 10:56:35 normalization > -- METADATA at ticket_comments/metadata 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > )-- Final base SQL model 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_COMMENTS_METADATA_AB3 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_TICKET_COMMENTS_HASHID, 2022-04-22 10:56:35 normalization > FLAGS, 2022-04-22 10:56:35 normalization > CUSTOM, 2022-04-22 10:56:35 normalization > SYSTEM, 2022-04-22 10:56:35 normalization > TRUSTED, 2022-04-22 10:56:35 normalization > FLAGS_OPTIONS, 2022-04-22 10:56:35 normalization > NOTIFICATIONS_SUPPRESSED_FOR, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_METADATA_HASHID 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_COMMENTS_METADATA_AB3 2022-04-22 10:56:35 normalization > -- METADATA at ticket_comments/metadata from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_SCD" 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > and cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) >= 2022-04-22 10:56:35 normalization > cast('2022-04-22 10:49:13.404000-07:00' as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ) order by (_AIRBYTE_EMITTED_AT) 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:55:59.105972 [debug] [Thread-1 ]: SQL status: SUCCESS 16 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:55:59.111279 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS" 2022-04-22 10:56:35 normalization > 10:55:59.111524 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_ATTACHMENTS" 2022-04-22 10:56:35 normalization > 10:55:59.191844 [debug] [Thread-1 ]: SQL status: SUCCESS 16 in 0.08 seconds 2022-04-22 10:56:35 normalization > 10:55:59.199979 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS" 2022-04-22 10:56:35 normalization > 10:55:59.200235 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_ATTACHMENTS__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:55:59.243445 [debug] [Thread-5 ]: SQL status: SUCCESS 1 in 0.44 seconds 2022-04-22 10:56:35 normalization > 10:55:59.261857 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_FIELDS_CUSTOM_FIELD_OPTIONS" 2022-04-22 10:56:35 normalization > 10:55:59.263466 [debug] [Thread-1 ]: SQL status: SUCCESS 16 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:55:59.263738 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_FIELDS_CUSTOM_FIELD_OPTIONS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_FIELDS_CUSTOM_FIELD_OPTIONS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_FIELDS_CUSTOM_FIELD_OPTIONS" 2022-04-22 10:56:35 normalization > 10:55:59.269407 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS" 2022-04-22 10:56:35 normalization > 10:55:59.270440 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_COMMENTS_ATTACHMENTS" 2022-04-22 10:56:35 normalization > 10:55:59.329487 [debug] [Thread-1 ]: SQL status: SUCCESS 16 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:55:59.334049 [debug] [Thread-1 ]: 2022-04-22 10:56:35 normalization > In "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_COMMENTS_ATTACHMENTS": 2022-04-22 10:56:35 normalization > Schema changed: False 2022-04-22 10:56:35 normalization > Source columns not in target: [] 2022-04-22 10:56:35 normalization > Target columns not in source: [] 2022-04-22 10:56:35 normalization > New column types: [] 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 10:55:59.335566 [debug] [Thread-1 ]: Writing runtime SQL for node "model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS" 2022-04-22 10:56:35 normalization > 10:55:59.337075 [debug] [Thread-5 ]: SQL status: SUCCESS 10 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:55:59.340001 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_FIELDS_CUSTOM_FIELD_OPTIONS" 2022-04-22 10:56:35 normalization > 10:55:59.340469 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_FIELDS_CUSTOM_FIELD_OPTIONS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_FIELDS_CUSTOM_FIELD_OPTIONS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_FIELDS_CUSTOM_FIELD_OPTIONS" 2022-04-22 10:56:35 normalization > 10:55:59.341644 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS" 2022-04-22 10:56:35 normalization > 10:55:59.342898 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS"} */ 2022-04-22 10:56:35 normalization > begin; 2022-04-22 10:56:35 normalization > 10:55:59.403126 [debug] [Thread-5 ]: SQL status: SUCCESS 1 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:55:59.411461 [debug] [Thread-5 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_FIELDS_CUSTOM_FIELD_OPTIONS" 2022-04-22 10:56:35 normalization > 10:55:59.411948 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:55:59.412133 [debug] [Thread-5 ]: Began executing node model.airbyte_utils.TICKET_FIELDS_CUSTOM_FIELD_OPTIONS 2022-04-22 10:56:35 normalization > 10:55:59.418127 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_FIELDS_CUSTOM_FIELD_OPTIONS" 2022-04-22 10:56:35 normalization > 10:55:59.418312 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_FIELDS_CUSTOM_FIELD_OPTIONS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_FIELDS_CUSTOM_FIELD_OPTIONS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_FIELDS_CUSTOM_FIELD_OPTIONS" 2022-04-22 10:56:35 normalization > 10:55:59.421802 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 0.08 seconds 2022-04-22 10:56:35 normalization > 10:55:59.422150 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS" 2022-04-22 10:56:35 normalization > 10:55:59.422277 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS: insert into "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_ATTACHMENTS" ("_AIRBYTE_TICKET_COMMENTS_HASHID", "ID", "URL", "SIZE", "WIDTH", "HEIGHT", "INLINE", "FILE_NAME", "THUMBNAILS", "CONTENT_URL", "CONTENT_TYPE", "MAPPED_CONTENT_URL", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_ATTACHMENTS_HASHID") 2022-04-22 10:56:35 normalization > ( 2022-04-22 10:56:35 normalization > select "_AIRBYTE_TICKET_COMMENTS_HASHID", "ID", "URL", "SIZE", "WIDTH", "HEIGHT", "INLINE", "FILE_NAME", "THUMBNAILS", "CONTENT_URL", "CONTENT_TYPE", "MAPPED_CONTENT_URL", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_ATTACHMENTS_HASHID" 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_ATTACHMENTS__dbt_tmp" 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:55:59.490504 [debug] [Thread-5 ]: SQL status: SUCCESS 10 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:55:59.502294 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_FIELDS_CUSTOM_FIELD_OPTIONS" 2022-04-22 10:56:35 normalization > 10:55:59.502561 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_FIELDS_CUSTOM_FIELD_OPTIONS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_FIELDS_CUSTOM_FIELD_OPTIONS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace temporary table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_FIELDS_CUSTOM_FIELD_OPTIONS__dbt_tmp" as 2022-04-22 10:56:35 normalization > (select * from( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > with __dbt__cte__TICKET_FIELDS_CUSTOM_FIELD_OPTIONS_AB1 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to parse JSON blob stored in a single column and extract into separated field columns as described by the JSON Schema 2022-04-22 10:56:35 normalization > -- depends_on: "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_FIELDS_SCD" 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_TICKET_FIELDS_HASHID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(CUSTOM_FIELD_OPTIONS.value), '"id"')) as ID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(CUSTOM_FIELD_OPTIONS.value), '"name"')) as NAME, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(CUSTOM_FIELD_OPTIONS.value), '"value"')) as VALUE, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(CUSTOM_FIELD_OPTIONS.value), '"default"')) as "default", 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(CUSTOM_FIELD_OPTIONS.value), '"raw_name"')) as RAW_NAME, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_FIELDS_SCD" as table_alias 2022-04-22 10:56:35 normalization > -- CUSTOM_FIELD_OPTIONS at ticket_fields/custom_field_options 2022-04-22 10:56:35 normalization > cross join table(flatten(CUSTOM_FIELD_OPTIONS)) as CUSTOM_FIELD_OPTIONS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > and CUSTOM_FIELD_OPTIONS is not null 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKET_FIELDS_CUSTOM_FIELD_OPTIONS_AB2 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to cast each column to its adequate SQL type converted from the JSON schema type 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_FIELDS_CUSTOM_FIELD_OPTIONS_AB1 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_TICKET_FIELDS_HASHID, 2022-04-22 10:56:35 normalization > cast(ID as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as ID, 2022-04-22 10:56:35 normalization > cast(NAME as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as NAME, 2022-04-22 10:56:35 normalization > cast(VALUE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as VALUE, 2022-04-22 10:56:35 normalization > cast("default" as boolean) as "default", 2022-04-22 10:56:35 normalization > cast(RAW_NAME as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as RAW_NAME, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_FIELDS_CUSTOM_FIELD_OPTIONS_AB1 2022-04-22 10:56:35 normalization > -- CUSTOM_FIELD_OPTIONS at ticket_fields/custom_field_options 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKET_FIELDS_CUSTOM_FIELD_OPTIONS_AB3 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to build a hash column based on the values of this record 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_FIELDS_CUSTOM_FIELD_OPTIONS_AB2 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(_AIRBYTE_TICKET_FIELDS_HASHID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(NAME as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(VALUE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast("default" as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(RAW_NAME as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_CUSTOM_FIELD_OPTIONS_HASHID, 2022-04-22 10:56:35 normalization > tmp.* 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_FIELDS_CUSTOM_FIELD_OPTIONS_AB2 tmp 2022-04-22 10:56:35 normalization > -- CUSTOM_FIELD_OPTIONS at ticket_fields/custom_field_options 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > )-- Final base SQL model 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_FIELDS_CUSTOM_FIELD_OPTIONS_AB3 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_TICKET_FIELDS_HASHID, 2022-04-22 10:56:35 normalization > ID, 2022-04-22 10:56:35 normalization > NAME, 2022-04-22 10:56:35 normalization > VALUE, 2022-04-22 10:56:35 normalization > "default", 2022-04-22 10:56:35 normalization > RAW_NAME, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_CUSTOM_FIELD_OPTIONS_HASHID 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_FIELDS_CUSTOM_FIELD_OPTIONS_AB3 2022-04-22 10:56:35 normalization > -- CUSTOM_FIELD_OPTIONS at ticket_fields/custom_field_options from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_FIELDS_SCD" 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > and cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) >= 2022-04-22 10:56:35 normalization > cast('2022-04-09 05:10:36.269000-07:00' as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ) order by (_AIRBYTE_EMITTED_AT) 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:55:59.542164 [debug] [Thread-3 ]: SQL status: SUCCESS 132 in 0.58 seconds 2022-04-22 10:56:35 normalization > 10:55:59.542472 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_VIA" 2022-04-22 10:56:35 normalization > 10:55:59.542586 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_AUDITS_VIA: commit; 2022-04-22 10:56:35 normalization > 10:55:59.912543 [debug] [Thread-4 ]: SQL status: SUCCESS 1 in 0.88 seconds 2022-04-22 10:56:35 normalization > 10:55:59.916853 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_VIA" 2022-04-22 10:56:35 normalization > 10:55:59.917107 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_COMMENTS_VIA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_VIA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_VIA__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:55:59.988866 [debug] [Thread-4 ]: SQL status: SUCCESS 7 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:55:59.993843 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_VIA" 2022-04-22 10:56:35 normalization > 10:55:59.994067 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_COMMENTS_VIA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_VIA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_VIA" 2022-04-22 10:56:35 normalization > 10:56:00.082073 [debug] [Thread-1 ]: SQL status: SUCCESS 7 in 0.66 seconds 2022-04-22 10:56:35 normalization > 10:56:00.082393 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS" 2022-04-22 10:56:35 normalization > 10:56:00.082520 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS: commit; 2022-04-22 10:56:35 normalization > 10:56:00.088927 [debug] [Thread-4 ]: SQL status: SUCCESS 7 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:56:00.094418 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_VIA" 2022-04-22 10:56:35 normalization > 10:56:00.094647 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_COMMENTS_VIA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_VIA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_VIA__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:56:00.158153 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 0.62 seconds 2022-04-22 10:56:35 normalization > 10:56:00.161921 [debug] [Thread-3 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:00.162177 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_AUDITS_VIA: Close 2022-04-22 10:56:35 normalization > 10:56:00.166363 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 1.13 seconds 2022-04-22 10:56:35 normalization > 10:56:00.170793 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA" 2022-04-22 10:56:35 normalization > 10:56:00.170971 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_METADATA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:56:00.181651 [debug] [Thread-4 ]: SQL status: SUCCESS 7 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:56:00.186728 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_VIA" 2022-04-22 10:56:35 normalization > 10:56:00.187952 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_COMMENTS_VIA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_VIA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_COMMENTS_VIA" 2022-04-22 10:56:35 normalization > 10:56:00.242429 [debug] [Thread-5 ]: SQL status: SUCCESS 1 in 0.74 seconds 2022-04-22 10:56:35 normalization > 10:56:00.246927 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_FIELDS_CUSTOM_FIELD_OPTIONS" 2022-04-22 10:56:35 normalization > 10:56:00.247854 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_FIELDS_CUSTOM_FIELD_OPTIONS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_FIELDS_CUSTOM_FIELD_OPTIONS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_FIELDS_CUSTOM_FIELD_OPTIONS__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:56:00.248538 [debug] [Thread-4 ]: SQL status: SUCCESS 7 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:56:00.253878 [debug] [Thread-4 ]: 2022-04-22 10:56:35 normalization > In "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_COMMENTS_VIA": 2022-04-22 10:56:35 normalization > Schema changed: False 2022-04-22 10:56:35 normalization > Source columns not in target: [] 2022-04-22 10:56:35 normalization > Target columns not in source: [] 2022-04-22 10:56:35 normalization > New column types: [] 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 10:56:00.255542 [debug] [Thread-4 ]: Writing runtime SQL for node "model.airbyte_utils.TICKET_COMMENTS_VIA" 2022-04-22 10:56:35 normalization > 10:56:00.256889 [debug] [Thread-2 ]: SQL status: SUCCESS 11 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:56:00.264603 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA" 2022-04-22 10:56:35 normalization > 10:56:00.265365 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_VIA" 2022-04-22 10:56:35 normalization > 10:56:00.265712 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_METADATA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA" 2022-04-22 10:56:35 normalization > 10:56:00.266746 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_COMMENTS_VIA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_VIA"} */ 2022-04-22 10:56:35 normalization > begin; 2022-04-22 10:56:35 normalization > 10:56:00.268452 [info ] [Thread-3 ]: 50 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_AUDITS_VIA................................................. [SUCCESS 1 in 4.21s] 2022-04-22 10:56:35 normalization > 10:56:00.274381 [debug] [Thread-3 ]: Finished running node model.airbyte_utils.TICKET_AUDITS_VIA 2022-04-22 10:56:35 normalization > 10:56:00.274991 [debug] [Thread-3 ]: Began running node model.airbyte_utils.TICKETS_CUSTOM_FIELDS 2022-04-22 10:56:35 normalization > 10:56:00.275594 [info ] [Thread-3 ]: 55 of 95 START incremental model ZENDESK_SUPPORT.TICKETS_CUSTOM_FIELDS.................................................. [RUN] 2022-04-22 10:56:35 normalization > 10:56:00.277399 [debug] [Thread-3 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKETS_CUSTOM_FIELDS" 2022-04-22 10:56:35 normalization > 10:56:00.278418 [debug] [Thread-3 ]: Began compiling node model.airbyte_utils.TICKETS_CUSTOM_FIELDS 2022-04-22 10:56:35 normalization > 10:56:00.279390 [debug] [Thread-3 ]: Compiling model.airbyte_utils.TICKETS_CUSTOM_FIELDS 2022-04-22 10:56:35 normalization > 10:56:00.421544 [debug] [Thread-5 ]: SQL status: SUCCESS 10 in 0.17 seconds 2022-04-22 10:56:35 normalization > 10:56:00.422587 [debug] [Thread-2 ]: SQL status: SUCCESS 11 in 0.16 seconds 2022-04-22 10:56:35 normalization > 10:56:00.429601 [debug] [Thread-4 ]: SQL status: SUCCESS 1 in 0.16 seconds 2022-04-22 10:56:35 normalization > 10:56:00.434385 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_FIELDS_CUSTOM_FIELD_OPTIONS" 2022-04-22 10:56:35 normalization > 10:56:00.439492 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKETS_CUSTOM_FIELDS" 2022-04-22 10:56:35 normalization > 10:56:00.445564 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 0.36 seconds 2022-04-22 10:56:35 normalization > 10:56:00.446476 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA" 2022-04-22 10:56:35 normalization > 10:56:00.446791 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_VIA" 2022-04-22 10:56:35 normalization > 10:56:00.451672 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_COMMENTS_VIA: insert into "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_VIA" ("_AIRBYTE_TICKET_COMMENTS_HASHID", "SOURCE", "CHANNEL", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_VIA_HASHID") 2022-04-22 10:56:35 normalization > ( 2022-04-22 10:56:35 normalization > select "_AIRBYTE_TICKET_COMMENTS_HASHID", "SOURCE", "CHANNEL", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_VIA_HASHID" 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_VIA__dbt_tmp" 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:56:00.447448 [debug] [Thread-3 ]: On model.airbyte_utils.TICKETS_CUSTOM_FIELDS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_CUSTOM_FIELDS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_CUSTOM_FIELDS" 2022-04-22 10:56:35 normalization > 10:56:00.450667 [debug] [Thread-1 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:00.451439 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_METADATA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:56:00.446999 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_FIELDS_CUSTOM_FIELD_OPTIONS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_FIELDS_CUSTOM_FIELD_OPTIONS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_FIELDS_CUSTOM_FIELD_OPTIONS" 2022-04-22 10:56:35 normalization > 10:56:00.452492 [debug] [Thread-3 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:56:00.454521 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS: Close 2022-04-22 10:56:35 normalization > 10:56:00.531143 [debug] [Thread-2 ]: SQL status: SUCCESS 11 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:56:00.549150 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA" 2022-04-22 10:56:35 normalization > 10:56:00.555713 [debug] [Thread-5 ]: SQL status: SUCCESS 10 in 0.1 seconds 2022-04-22 10:56:35 normalization > 10:56:00.555928 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_METADATA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_COMMENTS_METADATA" 2022-04-22 10:56:35 normalization > 10:56:00.603454 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_FIELDS_CUSTOM_FIELD_OPTIONS" 2022-04-22 10:56:35 normalization > 10:56:00.626635 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_FIELDS_CUSTOM_FIELD_OPTIONS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_FIELDS_CUSTOM_FIELD_OPTIONS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_FIELDS_CUSTOM_FIELD_OPTIONS__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:56:00.674802 [debug] [Thread-2 ]: SQL status: SUCCESS 11 in 0.08 seconds 2022-04-22 10:56:35 normalization > 10:56:00.675756 [info ] [Thread-1 ]: 51 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_COMMENTS_ATTACHMENTS....................................... [SUCCESS 1 in 4.16s] 2022-04-22 10:56:35 normalization > 10:56:00.679997 [debug] [Thread-2 ]: 2022-04-22 10:56:35 normalization > In "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_COMMENTS_METADATA": 2022-04-22 10:56:35 normalization > Schema changed: False 2022-04-22 10:56:35 normalization > Source columns not in target: [] 2022-04-22 10:56:35 normalization > Target columns not in source: [] 2022-04-22 10:56:35 normalization > New column types: [] 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 10:56:00.682521 [debug] [Thread-2 ]: Writing runtime SQL for node "model.airbyte_utils.TICKET_COMMENTS_METADATA" 2022-04-22 10:56:35 normalization > 10:56:00.682816 [debug] [Thread-1 ]: Finished running node model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS 2022-04-22 10:56:35 normalization > 10:56:00.683198 [debug] [Thread-1 ]: Began running node model.airbyte_utils.TICKETS_SATISFACTION_RATING 2022-04-22 10:56:35 normalization > 10:56:00.683541 [info ] [Thread-1 ]: 56 of 95 START incremental model ZENDESK_SUPPORT.TICKETS_SATISFACTION_RATING............................................ [RUN] 2022-04-22 10:56:35 normalization > 10:56:00.684272 [debug] [Thread-1 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKETS_SATISFACTION_RATING" 2022-04-22 10:56:35 normalization > 10:56:00.684588 [debug] [Thread-1 ]: Began compiling node model.airbyte_utils.TICKETS_SATISFACTION_RATING 2022-04-22 10:56:35 normalization > 10:56:00.684845 [debug] [Thread-1 ]: Compiling model.airbyte_utils.TICKETS_SATISFACTION_RATING 2022-04-22 10:56:35 normalization > 10:56:00.696717 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA" 2022-04-22 10:56:35 normalization > 10:56:00.700800 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKETS_SATISFACTION_RATING" 2022-04-22 10:56:35 normalization > 10:56:00.701466 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_METADATA"} */ 2022-04-22 10:56:35 normalization > begin; 2022-04-22 10:56:35 normalization > 10:56:00.708312 [debug] [Thread-5 ]: SQL status: SUCCESS 10 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:56:00.709366 [debug] [Thread-1 ]: On model.airbyte_utils.TICKETS_SATISFACTION_RATING: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_SATISFACTION_RATING"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_SATISFACTION_RATING" 2022-04-22 10:56:35 normalization > 10:56:00.715165 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_FIELDS_CUSTOM_FIELD_OPTIONS" 2022-04-22 10:56:35 normalization > 10:56:00.717660 [debug] [Thread-1 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:56:00.718380 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_FIELDS_CUSTOM_FIELD_OPTIONS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_FIELDS_CUSTOM_FIELD_OPTIONS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_FIELDS_CUSTOM_FIELD_OPTIONS" 2022-04-22 10:56:35 normalization > 10:56:00.794523 [debug] [Thread-5 ]: SQL status: SUCCESS 10 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:56:00.798906 [debug] [Thread-5 ]: 2022-04-22 10:56:35 normalization > In "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_FIELDS_CUSTOM_FIELD_OPTIONS": 2022-04-22 10:56:35 normalization > Schema changed: False 2022-04-22 10:56:35 normalization > Source columns not in target: [] 2022-04-22 10:56:35 normalization > Target columns not in source: [] 2022-04-22 10:56:35 normalization > New column types: [] 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 10:56:00.833383 [debug] [Thread-5 ]: Writing runtime SQL for node "model.airbyte_utils.TICKET_FIELDS_CUSTOM_FIELD_OPTIONS" 2022-04-22 10:56:35 normalization > 10:56:00.854028 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_FIELDS_CUSTOM_FIELD_OPTIONS" 2022-04-22 10:56:35 normalization > 10:56:00.854486 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_FIELDS_CUSTOM_FIELD_OPTIONS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_FIELDS_CUSTOM_FIELD_OPTIONS"} */ 2022-04-22 10:56:35 normalization > begin; 2022-04-22 10:56:35 normalization > 10:56:00.908160 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 0.2 seconds 2022-04-22 10:56:35 normalization > 10:56:00.913777 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA" 2022-04-22 10:56:35 normalization > 10:56:00.929723 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA: insert into "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA" ("_AIRBYTE_TICKET_COMMENTS_HASHID", "FLAGS", "CUSTOM", "SYSTEM", "TRUSTED", "FLAGS_OPTIONS", "NOTIFICATIONS_SUPPRESSED_FOR", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_METADATA_HASHID") 2022-04-22 10:56:35 normalization > ( 2022-04-22 10:56:35 normalization > select "_AIRBYTE_TICKET_COMMENTS_HASHID", "FLAGS", "CUSTOM", "SYSTEM", "TRUSTED", "FLAGS_OPTIONS", "NOTIFICATIONS_SUPPRESSED_FOR", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_METADATA_HASHID" 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA__dbt_tmp" 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:56:00.974421 [debug] [Thread-5 ]: SQL status: SUCCESS 1 in 0.11 seconds 2022-04-22 10:56:35 normalization > 10:56:00.974903 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_FIELDS_CUSTOM_FIELD_OPTIONS" 2022-04-22 10:56:35 normalization > 10:56:00.975375 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_FIELDS_CUSTOM_FIELD_OPTIONS: insert into "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_FIELDS_CUSTOM_FIELD_OPTIONS" ("_AIRBYTE_TICKET_FIELDS_HASHID", "ID", "NAME", "VALUE", "default", "RAW_NAME", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_CUSTOM_FIELD_OPTIONS_HASHID") 2022-04-22 10:56:35 normalization > ( 2022-04-22 10:56:35 normalization > select "_AIRBYTE_TICKET_FIELDS_HASHID", "ID", "NAME", "VALUE", "default", "RAW_NAME", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_CUSTOM_FIELD_OPTIONS_HASHID" 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_FIELDS_CUSTOM_FIELD_OPTIONS__dbt_tmp" 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:56:00.992468 [debug] [Thread-4 ]: SQL status: SUCCESS 41 in 0.54 seconds 2022-04-22 10:56:35 normalization > 10:56:00.993090 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_VIA" 2022-04-22 10:56:35 normalization > 10:56:00.993519 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_COMMENTS_VIA: commit; 2022-04-22 10:56:35 normalization > 10:56:01.225643 [debug] [Thread-4 ]: SQL status: SUCCESS 1 in 0.23 seconds 2022-04-22 10:56:35 normalization > 10:56:01.229113 [debug] [Thread-4 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:01.229383 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_COMMENTS_VIA: Close 2022-04-22 10:56:35 normalization > 10:56:01.300970 [debug] [Thread-1 ]: SQL status: SUCCESS 17 in 0.58 seconds 2022-04-22 10:56:35 normalization > 10:56:01.313605 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKETS_SATISFACTION_RATING" 2022-04-22 10:56:35 normalization > 10:56:01.313869 [debug] [Thread-1 ]: On model.airbyte_utils.TICKETS_SATISFACTION_RATING: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_SATISFACTION_RATING"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_SATISFACTION_RATING" 2022-04-22 10:56:35 normalization > 10:56:01.332460 [info ] [Thread-4 ]: 53 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_COMMENTS_VIA............................................... [SUCCESS 1 in 3.88s] 2022-04-22 10:56:35 normalization > 10:56:01.333038 [debug] [Thread-4 ]: Finished running node model.airbyte_utils.TICKET_COMMENTS_VIA 2022-04-22 10:56:35 normalization > 10:56:01.333307 [debug] [Thread-4 ]: Began running node model.airbyte_utils.TICKET_METRICS_AGENT_WAIT_TIME_IN_MINUTES 2022-04-22 10:56:35 normalization > 10:56:01.333845 [info ] [Thread-4 ]: 57 of 95 SKIP relation ZENDESK_SUPPORT.TICKET_METRICS_AGENT_WAIT_TIME_IN_MINUTES........................................ [SKIP] 2022-04-22 10:56:35 normalization > 10:56:01.334534 [debug] [Thread-4 ]: Finished running node model.airbyte_utils.TICKET_METRICS_AGENT_WAIT_TIME_IN_MINUTES 2022-04-22 10:56:35 normalization > 10:56:01.334738 [debug] [Thread-4 ]: Began running node model.airbyte_utils.TICKET_METRICS_FIRST_RESOLUTION_TIME_IN_MINUTES 2022-04-22 10:56:35 normalization > 10:56:01.335151 [info ] [Thread-4 ]: 58 of 95 SKIP relation ZENDESK_SUPPORT.TICKET_METRICS_FIRST_RESOLUTION_TIME_IN_MINUTES.................................. [SKIP] 2022-04-22 10:56:35 normalization > 10:56:01.335467 [debug] [Thread-4 ]: Finished running node model.airbyte_utils.TICKET_METRICS_FIRST_RESOLUTION_TIME_IN_MINUTES 2022-04-22 10:56:35 normalization > 10:56:01.335642 [debug] [Thread-4 ]: Began running node model.airbyte_utils.TICKET_METRICS_FULL_RESOLUTION_TIME_IN_MINUTES 2022-04-22 10:56:35 normalization > 10:56:01.336020 [info ] [Thread-4 ]: 59 of 95 SKIP relation ZENDESK_SUPPORT.TICKET_METRICS_FULL_RESOLUTION_TIME_IN_MINUTES................................... [SKIP] 2022-04-22 10:56:35 normalization > 10:56:01.336341 [debug] [Thread-4 ]: Finished running node model.airbyte_utils.TICKET_METRICS_FULL_RESOLUTION_TIME_IN_MINUTES 2022-04-22 10:56:35 normalization > 10:56:01.336494 [debug] [Thread-4 ]: Began running node model.airbyte_utils.TICKET_METRICS_ON_HOLD_TIME_IN_MINUTES 2022-04-22 10:56:35 normalization > 10:56:01.336616 [info ] [Thread-4 ]: 60 of 95 SKIP relation ZENDESK_SUPPORT.TICKET_METRICS_ON_HOLD_TIME_IN_MINUTES........................................... [SKIP] 2022-04-22 10:56:35 normalization > 10:56:01.337227 [debug] [Thread-4 ]: Finished running node model.airbyte_utils.TICKET_METRICS_ON_HOLD_TIME_IN_MINUTES 2022-04-22 10:56:35 normalization > 10:56:01.337445 [debug] [Thread-4 ]: Began running node model.airbyte_utils.TICKET_METRICS_REPLY_TIME_IN_MINUTES 2022-04-22 10:56:35 normalization > 10:56:01.337859 [info ] [Thread-4 ]: 61 of 95 SKIP relation ZENDESK_SUPPORT.TICKET_METRICS_REPLY_TIME_IN_MINUTES............................................. [SKIP] 2022-04-22 10:56:35 normalization > 10:56:01.338261 [debug] [Thread-4 ]: Finished running node model.airbyte_utils.TICKET_METRICS_REPLY_TIME_IN_MINUTES 2022-04-22 10:56:35 normalization > 10:56:01.338478 [debug] [Thread-4 ]: Began running node model.airbyte_utils.TICKET_METRICS_REQUESTER_WAIT_TIME_IN_MINUTES 2022-04-22 10:56:35 normalization > 10:56:01.338859 [info ] [Thread-4 ]: 62 of 95 SKIP relation ZENDESK_SUPPORT.TICKET_METRICS_REQUESTER_WAIT_TIME_IN_MINUTES.................................... [SKIP] 2022-04-22 10:56:35 normalization > 10:56:01.339156 [debug] [Thread-4 ]: Finished running node model.airbyte_utils.TICKET_METRICS_REQUESTER_WAIT_TIME_IN_MINUTES 2022-04-22 10:56:35 normalization > 10:56:01.339462 [debug] [Thread-4 ]: Began running node model.airbyte_utils.TICKET_METRICS_STATUS 2022-04-22 10:56:35 normalization > 10:56:01.339645 [info ] [Thread-4 ]: 63 of 95 SKIP relation ZENDESK_SUPPORT.TICKET_METRICS_STATUS............................................................ [SKIP] 2022-04-22 10:56:35 normalization > 10:56:01.340202 [debug] [Thread-4 ]: Finished running node model.airbyte_utils.TICKET_METRICS_STATUS 2022-04-22 10:56:35 normalization > 10:56:01.340407 [debug] [Thread-4 ]: Began running node model.airbyte_utils.TICKETS_VIA 2022-04-22 10:56:35 normalization > 10:56:01.340879 [info ] [Thread-4 ]: 64 of 95 START incremental model ZENDESK_SUPPORT.TICKETS_VIA............................................................ [RUN] 2022-04-22 10:56:35 normalization > 10:56:01.341619 [debug] [Thread-4 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKETS_VIA" 2022-04-22 10:56:35 normalization > 10:56:01.341768 [debug] [Thread-4 ]: Began compiling node model.airbyte_utils.TICKETS_VIA 2022-04-22 10:56:35 normalization > 10:56:01.341899 [debug] [Thread-4 ]: Compiling model.airbyte_utils.TICKETS_VIA 2022-04-22 10:56:35 normalization > 10:56:01.357232 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKETS_VIA" 2022-04-22 10:56:35 normalization > 10:56:01.357467 [debug] [Thread-4 ]: On model.airbyte_utils.TICKETS_VIA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_VIA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_VIA" 2022-04-22 10:56:35 normalization > 10:56:01.357616 [debug] [Thread-4 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:56:01.398770 [debug] [Thread-1 ]: SQL status: SUCCESS 17 in 0.08 seconds 2022-04-22 10:56:35 normalization > 10:56:01.417608 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKETS_SATISFACTION_RATING" 2022-04-22 10:56:35 normalization > 10:56:01.423044 [debug] [Thread-1 ]: On model.airbyte_utils.TICKETS_SATISFACTION_RATING: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_SATISFACTION_RATING"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_SATISFACTION_RATING" 2022-04-22 10:56:35 normalization > 10:56:01.456271 [debug] [Thread-5 ]: SQL status: SUCCESS 7 in 0.48 seconds 2022-04-22 10:56:35 normalization > 10:56:01.469974 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_FIELDS_CUSTOM_FIELD_OPTIONS" 2022-04-22 10:56:35 normalization > 10:56:01.475424 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_FIELDS_CUSTOM_FIELD_OPTIONS: commit; 2022-04-22 10:56:35 normalization > 10:56:01.495930 [debug] [Thread-2 ]: SQL status: SUCCESS 41 in 0.56 seconds 2022-04-22 10:56:35 normalization > 10:56:01.512032 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA" 2022-04-22 10:56:35 normalization > 10:56:01.519832 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA: commit; 2022-04-22 10:56:35 normalization > 10:56:01.639397 [debug] [Thread-3 ]: SQL status: SUCCESS 7 in 1.19 seconds 2022-04-22 10:56:35 normalization > 10:56:01.649614 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKETS_CUSTOM_FIELDS" 2022-04-22 10:56:35 normalization > 10:56:01.649893 [debug] [Thread-3 ]: On model.airbyte_utils.TICKETS_CUSTOM_FIELDS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_CUSTOM_FIELDS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_CUSTOM_FIELDS" 2022-04-22 10:56:35 normalization > 10:56:01.719526 [debug] [Thread-3 ]: SQL status: SUCCESS 7 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:56:01.722423 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKETS_CUSTOM_FIELDS" 2022-04-22 10:56:35 normalization > 10:56:01.722629 [debug] [Thread-3 ]: On model.airbyte_utils.TICKETS_CUSTOM_FIELDS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_CUSTOM_FIELDS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_CUSTOM_FIELDS" 2022-04-22 10:56:35 normalization > 10:56:01.745469 [debug] [Thread-5 ]: SQL status: SUCCESS 1 in 0.26 seconds 2022-04-22 10:56:35 normalization > 10:56:01.748958 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:01.749896 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_FIELDS_CUSTOM_FIELD_OPTIONS: Close 2022-04-22 10:56:35 normalization > 10:56:01.788545 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 0.27 seconds 2022-04-22 10:56:35 normalization > 10:56:01.794470 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:01.794747 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA: Close 2022-04-22 10:56:35 normalization > 10:56:01.840550 [debug] [Thread-4 ]: SQL status: SUCCESS 7 in 0.48 seconds 2022-04-22 10:56:35 normalization > 10:56:01.850517 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKETS_VIA" 2022-04-22 10:56:35 normalization > 10:56:01.850771 [debug] [Thread-4 ]: On model.airbyte_utils.TICKETS_VIA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_VIA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_VIA" 2022-04-22 10:56:35 normalization > 10:56:01.858095 [info ] [Thread-5 ]: 54 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_FIELDS_CUSTOM_FIELD_OPTIONS................................ [SUCCESS 1 in 3.96s] 2022-04-22 10:56:35 normalization > 10:56:01.858558 [debug] [Thread-5 ]: Finished running node model.airbyte_utils.TICKET_FIELDS_CUSTOM_FIELD_OPTIONS 2022-04-22 10:56:35 normalization > 10:56:01.858807 [debug] [Thread-5 ]: Began running node model.airbyte_utils.SLA_POLICIES_FILTER_ALL_AB1 2022-04-22 10:56:35 normalization > 10:56:01.859238 [debug] [Thread-5 ]: Acquiring new snowflake connection "model.airbyte_utils.SLA_POLICIES_FILTER_ALL_AB1" 2022-04-22 10:56:35 normalization > 10:56:01.859708 [debug] [Thread-5 ]: Began compiling node model.airbyte_utils.SLA_POLICIES_FILTER_ALL_AB1 2022-04-22 10:56:35 normalization > 10:56:01.859886 [debug] [Thread-5 ]: Compiling model.airbyte_utils.SLA_POLICIES_FILTER_ALL_AB1 2022-04-22 10:56:35 normalization > 10:56:01.870835 [debug] [Thread-5 ]: Writing injected SQL for node "model.airbyte_utils.SLA_POLICIES_FILTER_ALL_AB1" 2022-04-22 10:56:35 normalization > 10:56:01.871280 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:01.871698 [debug] [Thread-5 ]: Finished running node model.airbyte_utils.SLA_POLICIES_FILTER_ALL_AB1 2022-04-22 10:56:35 normalization > 10:56:01.871886 [debug] [Thread-5 ]: Began running node model.airbyte_utils.SLA_POLICIES_FILTER_ANY_AB1 2022-04-22 10:56:35 normalization > 10:56:01.872210 [debug] [Thread-5 ]: Acquiring new snowflake connection "model.airbyte_utils.SLA_POLICIES_FILTER_ANY_AB1" 2022-04-22 10:56:35 normalization > 10:56:01.872573 [debug] [Thread-5 ]: Began compiling node model.airbyte_utils.SLA_POLICIES_FILTER_ANY_AB1 2022-04-22 10:56:35 normalization > 10:56:01.872884 [debug] [Thread-5 ]: Compiling model.airbyte_utils.SLA_POLICIES_FILTER_ANY_AB1 2022-04-22 10:56:35 normalization > 10:56:01.883370 [debug] [Thread-5 ]: Writing injected SQL for node "model.airbyte_utils.SLA_POLICIES_FILTER_ANY_AB1" 2022-04-22 10:56:35 normalization > 10:56:01.883792 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:01.884231 [debug] [Thread-5 ]: Finished running node model.airbyte_utils.SLA_POLICIES_FILTER_ANY_AB1 2022-04-22 10:56:35 normalization > 10:56:01.884421 [debug] [Thread-5 ]: Began running node model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_AB1 2022-04-22 10:56:35 normalization > 10:56:01.884723 [debug] [Thread-5 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_AB1" 2022-04-22 10:56:35 normalization > 10:56:01.884873 [debug] [Thread-5 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_AB1 2022-04-22 10:56:35 normalization > 10:56:01.885399 [debug] [Thread-5 ]: Compiling model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_AB1 2022-04-22 10:56:35 normalization > 10:56:01.894352 [debug] [Thread-5 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_AB1" 2022-04-22 10:56:35 normalization > 10:56:01.894756 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:01.895154 [debug] [Thread-5 ]: Finished running node model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_AB1 2022-04-22 10:56:35 normalization > 10:56:01.895339 [debug] [Thread-5 ]: Began running node model.airbyte_utils.TICKET_AUDITS_METADATA_SYSTEM_AB1 2022-04-22 10:56:35 normalization > 10:56:01.895897 [debug] [Thread-5 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_SYSTEM_AB1" 2022-04-22 10:56:35 normalization > 10:56:01.896184 [debug] [Thread-5 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS_METADATA_SYSTEM_AB1 2022-04-22 10:56:35 normalization > 10:56:01.896312 [debug] [Thread-5 ]: Compiling model.airbyte_utils.TICKET_AUDITS_METADATA_SYSTEM_AB1 2022-04-22 10:56:35 normalization > 10:56:01.908300 [debug] [Thread-5 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS_METADATA_SYSTEM_AB1" 2022-04-22 10:56:35 normalization > 10:56:01.908716 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:01.909146 [debug] [Thread-5 ]: Finished running node model.airbyte_utils.TICKET_AUDITS_METADATA_SYSTEM_AB1 2022-04-22 10:56:35 normalization > 10:56:01.909344 [debug] [Thread-5 ]: Began running node model.airbyte_utils.USERS_PHOTO 2022-04-22 10:56:35 normalization > 10:56:01.909575 [info ] [Thread-5 ]: 65 of 95 START incremental model ZENDESK_SUPPORT.USERS_PHOTO............................................................ [RUN] 2022-04-22 10:56:35 normalization > 10:56:01.910404 [debug] [Thread-5 ]: Acquiring new snowflake connection "model.airbyte_utils.USERS_PHOTO" 2022-04-22 10:56:35 normalization > 10:56:01.910645 [debug] [Thread-5 ]: Began compiling node model.airbyte_utils.USERS_PHOTO 2022-04-22 10:56:35 normalization > 10:56:01.911032 [debug] [Thread-5 ]: Compiling model.airbyte_utils.USERS_PHOTO 2022-04-22 10:56:35 normalization > 10:56:01.928735 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.USERS_PHOTO" 2022-04-22 10:56:35 normalization > 10:56:01.930128 [debug] [Thread-4 ]: SQL status: SUCCESS 7 in 0.08 seconds 2022-04-22 10:56:35 normalization > 10:56:01.930327 [debug] [Thread-5 ]: On model.airbyte_utils.USERS_PHOTO: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.USERS_PHOTO"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."USERS_PHOTO" 2022-04-22 10:56:35 normalization > 10:56:01.932962 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKETS_VIA" 2022-04-22 10:56:35 normalization > 10:56:01.933245 [debug] [Thread-5 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:56:01.933461 [debug] [Thread-4 ]: On model.airbyte_utils.TICKETS_VIA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_VIA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_VIA" 2022-04-22 10:56:35 normalization > 10:56:01.975612 [info ] [Thread-2 ]: 52 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_COMMENTS_METADATA.......................................... [SUCCESS 1 in 4.53s] 2022-04-22 10:56:35 normalization > 10:56:01.993050 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 0.55 seconds 2022-04-22 10:56:35 normalization > 10:56:02.009281 [debug] [Thread-2 ]: Finished running node model.airbyte_utils.TICKET_COMMENTS_METADATA 2022-04-22 10:56:35 normalization > 10:56:02.043727 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKETS_SATISFACTION_RATING" 2022-04-22 10:56:35 normalization > 10:56:02.049535 [debug] [Thread-2 ]: Began running node model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_AB1 2022-04-22 10:56:35 normalization > 10:56:02.086363 [debug] [Thread-1 ]: On model.airbyte_utils.TICKETS_SATISFACTION_RATING: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_SATISFACTION_RATING"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_SATISFACTION_RATING" 2022-04-22 10:56:35 normalization > 10:56:02.101532 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 0.38 seconds 2022-04-22 10:56:35 normalization > 10:56:02.102396 [debug] [Thread-2 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_AB1" 2022-04-22 10:56:35 normalization > 10:56:02.128751 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKETS_CUSTOM_FIELDS" 2022-04-22 10:56:35 normalization > 10:56:02.132388 [debug] [Thread-2 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_AB1 2022-04-22 10:56:35 normalization > 10:56:02.133077 [debug] [Thread-3 ]: On model.airbyte_utils.TICKETS_CUSTOM_FIELDS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_CUSTOM_FIELDS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_CUSTOM_FIELDS" 2022-04-22 10:56:35 normalization > 10:56:02.133416 [debug] [Thread-2 ]: Compiling model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_AB1 2022-04-22 10:56:35 normalization > 10:56:02.160591 [debug] [Thread-2 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_AB1" 2022-04-22 10:56:35 normalization > 10:56:02.162614 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:02.163315 [debug] [Thread-2 ]: Finished running node model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_AB1 2022-04-22 10:56:35 normalization > 10:56:02.163558 [debug] [Thread-2 ]: Began running node model.airbyte_utils.TICKET_AUDITS_EVENTS_DATA_AB1 2022-04-22 10:56:35 normalization > 10:56:02.163981 [debug] [Thread-2 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_DATA_AB1" 2022-04-22 10:56:35 normalization > 10:56:02.164465 [debug] [Thread-2 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS_EVENTS_DATA_AB1 2022-04-22 10:56:35 normalization > 10:56:02.164661 [debug] [Thread-2 ]: Compiling model.airbyte_utils.TICKET_AUDITS_EVENTS_DATA_AB1 2022-04-22 10:56:35 normalization > 10:56:02.180226 [debug] [Thread-2 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS_EVENTS_DATA_AB1" 2022-04-22 10:56:35 normalization > 10:56:02.182199 [debug] [Thread-1 ]: SQL status: SUCCESS 17 in 0.08 seconds 2022-04-22 10:56:35 normalization > 10:56:02.185431 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKETS_SATISFACTION_RATING" 2022-04-22 10:56:35 normalization > 10:56:02.185763 [debug] [Thread-1 ]: On model.airbyte_utils.TICKETS_SATISFACTION_RATING: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_SATISFACTION_RATING"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_SATISFACTION_RATING" 2022-04-22 10:56:35 normalization > 10:56:02.187937 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:02.188689 [debug] [Thread-2 ]: Finished running node model.airbyte_utils.TICKET_AUDITS_EVENTS_DATA_AB1 2022-04-22 10:56:35 normalization > 10:56:02.189041 [debug] [Thread-2 ]: Began running node model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_AB1 2022-04-22 10:56:35 normalization > 10:56:02.189473 [debug] [Thread-2 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_AB1" 2022-04-22 10:56:35 normalization > 10:56:02.189867 [debug] [Thread-2 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_AB1 2022-04-22 10:56:35 normalization > 10:56:02.190128 [debug] [Thread-2 ]: Compiling model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_AB1 2022-04-22 10:56:35 normalization > 10:56:02.199934 [debug] [Thread-2 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_AB1" 2022-04-22 10:56:35 normalization > 10:56:02.200788 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:02.201364 [debug] [Thread-2 ]: Finished running node model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_AB1 2022-04-22 10:56:35 normalization > 10:56:02.201578 [debug] [Thread-2 ]: Began running node model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_AB1 2022-04-22 10:56:35 normalization > 10:56:02.202132 [debug] [Thread-2 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_AB1" 2022-04-22 10:56:35 normalization > 10:56:02.202443 [debug] [Thread-2 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_AB1 2022-04-22 10:56:35 normalization > 10:56:02.202730 [debug] [Thread-2 ]: Compiling model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_AB1 2022-04-22 10:56:35 normalization > 10:56:02.213470 [debug] [Thread-2 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_AB1" 2022-04-22 10:56:35 normalization > 10:56:02.214094 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:02.214536 [debug] [Thread-2 ]: Finished running node model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_AB1 2022-04-22 10:56:35 normalization > 10:56:02.214781 [debug] [Thread-2 ]: Began running node model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS_AB1 2022-04-22 10:56:35 normalization > 10:56:02.215170 [debug] [Thread-2 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS_AB1" 2022-04-22 10:56:35 normalization > 10:56:02.215825 [debug] [Thread-2 ]: Began compiling node model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS_AB1 2022-04-22 10:56:35 normalization > 10:56:02.216094 [debug] [Thread-2 ]: Compiling model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS_AB1 2022-04-22 10:56:35 normalization > 10:56:02.234681 [debug] [Thread-3 ]: SQL status: SUCCESS 7 in 0.1 seconds 2022-04-22 10:56:35 normalization > 10:56:02.241459 [debug] [Thread-2 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS_AB1" 2022-04-22 10:56:35 normalization > 10:56:02.244202 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKETS_CUSTOM_FIELDS" 2022-04-22 10:56:35 normalization > 10:56:02.244790 [debug] [Thread-3 ]: On model.airbyte_utils.TICKETS_CUSTOM_FIELDS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_CUSTOM_FIELDS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_CUSTOM_FIELDS" 2022-04-22 10:56:35 normalization > 10:56:02.251224 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:02.252930 [debug] [Thread-2 ]: Finished running node model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS_AB1 2022-04-22 10:56:35 normalization > 10:56:02.253240 [debug] [Thread-2 ]: Began running node model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_AB1 2022-04-22 10:56:35 normalization > 10:56:02.255268 [debug] [Thread-2 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_AB1" 2022-04-22 10:56:35 normalization > 10:56:02.256226 [debug] [Thread-2 ]: Began compiling node model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_AB1 2022-04-22 10:56:35 normalization > 10:56:02.256782 [debug] [Thread-2 ]: Compiling model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_AB1 2022-04-22 10:56:35 normalization > 10:56:02.268408 [debug] [Thread-2 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_AB1" 2022-04-22 10:56:35 normalization > 10:56:02.268936 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:02.269389 [debug] [Thread-2 ]: Finished running node model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_AB1 2022-04-22 10:56:35 normalization > 10:56:02.269591 [debug] [Thread-2 ]: Began running node model.airbyte_utils.SLA_POLICIES_FILTER_ALL_AB2 2022-04-22 10:56:35 normalization > 10:56:02.272469 [debug] [Thread-2 ]: Acquiring new snowflake connection "model.airbyte_utils.SLA_POLICIES_FILTER_ALL_AB2" 2022-04-22 10:56:35 normalization > 10:56:02.272646 [debug] [Thread-2 ]: Began compiling node model.airbyte_utils.SLA_POLICIES_FILTER_ALL_AB2 2022-04-22 10:56:35 normalization > 10:56:02.272844 [debug] [Thread-2 ]: Compiling model.airbyte_utils.SLA_POLICIES_FILTER_ALL_AB2 2022-04-22 10:56:35 normalization > 10:56:02.284691 [debug] [Thread-2 ]: Writing injected SQL for node "model.airbyte_utils.SLA_POLICIES_FILTER_ALL_AB2" 2022-04-22 10:56:35 normalization > 10:56:02.285541 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:02.286066 [debug] [Thread-2 ]: Finished running node model.airbyte_utils.SLA_POLICIES_FILTER_ALL_AB2 2022-04-22 10:56:35 normalization > 10:56:02.286290 [debug] [Thread-2 ]: Began running node model.airbyte_utils.SLA_POLICIES_FILTER_ANY_AB2 2022-04-22 10:56:35 normalization > 10:56:02.286663 [debug] [Thread-2 ]: Acquiring new snowflake connection "model.airbyte_utils.SLA_POLICIES_FILTER_ANY_AB2" 2022-04-22 10:56:35 normalization > 10:56:02.286862 [debug] [Thread-2 ]: Began compiling node model.airbyte_utils.SLA_POLICIES_FILTER_ANY_AB2 2022-04-22 10:56:35 normalization > 10:56:02.287330 [debug] [Thread-2 ]: Compiling model.airbyte_utils.SLA_POLICIES_FILTER_ANY_AB2 2022-04-22 10:56:35 normalization > 10:56:02.299028 [debug] [Thread-2 ]: Writing injected SQL for node "model.airbyte_utils.SLA_POLICIES_FILTER_ANY_AB2" 2022-04-22 10:56:35 normalization > 10:56:02.300443 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:02.301086 [debug] [Thread-2 ]: Finished running node model.airbyte_utils.SLA_POLICIES_FILTER_ANY_AB2 2022-04-22 10:56:35 normalization > 10:56:02.301519 [debug] [Thread-2 ]: Began running node model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_AB2 2022-04-22 10:56:35 normalization > 10:56:02.302489 [debug] [Thread-2 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_AB2" 2022-04-22 10:56:35 normalization > 10:56:02.303068 [debug] [Thread-2 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_AB2 2022-04-22 10:56:35 normalization > 10:56:02.303393 [debug] [Thread-2 ]: Compiling model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_AB2 2022-04-22 10:56:35 normalization > 10:56:02.322811 [debug] [Thread-2 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_AB2" 2022-04-22 10:56:35 normalization > 10:56:02.323498 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:02.324041 [debug] [Thread-2 ]: Finished running node model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_AB2 2022-04-22 10:56:35 normalization > 10:56:02.324336 [debug] [Thread-2 ]: Began running node model.airbyte_utils.TICKET_AUDITS_METADATA_SYSTEM_AB2 2022-04-22 10:56:35 normalization > 10:56:02.324743 [debug] [Thread-2 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_SYSTEM_AB2" 2022-04-22 10:56:35 normalization > 10:56:02.324988 [debug] [Thread-2 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS_METADATA_SYSTEM_AB2 2022-04-22 10:56:35 normalization > 10:56:02.325546 [debug] [Thread-2 ]: Compiling model.airbyte_utils.TICKET_AUDITS_METADATA_SYSTEM_AB2 2022-04-22 10:56:35 normalization > 10:56:02.347525 [debug] [Thread-2 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS_METADATA_SYSTEM_AB2" 2022-04-22 10:56:35 normalization > 10:56:02.348174 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:02.348715 [debug] [Thread-2 ]: Finished running node model.airbyte_utils.TICKET_AUDITS_METADATA_SYSTEM_AB2 2022-04-22 10:56:35 normalization > 10:56:02.348988 [debug] [Thread-2 ]: Began running node model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_AB1 2022-04-22 10:56:35 normalization > 10:56:02.349835 [debug] [Thread-2 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_AB1" 2022-04-22 10:56:35 normalization > 10:56:02.350021 [debug] [Thread-2 ]: Began compiling node model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_AB1 2022-04-22 10:56:35 normalization > 10:56:02.350251 [debug] [Thread-2 ]: Compiling model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_AB1 2022-04-22 10:56:35 normalization > 10:56:02.359920 [debug] [Thread-2 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_AB1" 2022-04-22 10:56:35 normalization > 10:56:02.360936 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:02.361986 [debug] [Thread-2 ]: Finished running node model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_AB1 2022-04-22 10:56:35 normalization > 10:56:02.362273 [debug] [Thread-2 ]: Began running node model.airbyte_utils.TICKET_COMMENTS_METADATA_SYSTEM_AB1 2022-04-22 10:56:35 normalization > 10:56:02.362930 [debug] [Thread-2 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_SYSTEM_AB1" 2022-04-22 10:56:35 normalization > 10:56:02.363147 [debug] [Thread-2 ]: Began compiling node model.airbyte_utils.TICKET_COMMENTS_METADATA_SYSTEM_AB1 2022-04-22 10:56:35 normalization > 10:56:02.363691 [debug] [Thread-2 ]: Compiling model.airbyte_utils.TICKET_COMMENTS_METADATA_SYSTEM_AB1 2022-04-22 10:56:35 normalization > 10:56:02.378838 [debug] [Thread-2 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_COMMENTS_METADATA_SYSTEM_AB1" 2022-04-22 10:56:35 normalization > 10:56:02.380473 [debug] [Thread-4 ]: SQL status: SUCCESS 1 in 0.45 seconds 2022-04-22 10:56:35 normalization > 10:56:02.390595 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKETS_VIA" 2022-04-22 10:56:35 normalization > 10:56:02.391982 [debug] [Thread-4 ]: On model.airbyte_utils.TICKETS_VIA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_VIA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_VIA" 2022-04-22 10:56:35 normalization > 10:56:02.392583 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 0.15 seconds 2022-04-22 10:56:35 normalization > 10:56:02.395333 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:02.403293 [debug] [Thread-3 ]: Writing injected SQL for node "model.airbyte_utils.TICKETS_CUSTOM_FIELDS" 2022-04-22 10:56:35 normalization > 10:56:02.403995 [debug] [Thread-2 ]: Finished running node model.airbyte_utils.TICKET_COMMENTS_METADATA_SYSTEM_AB1 2022-04-22 10:56:35 normalization > 10:56:02.405146 [debug] [Thread-3 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:02.405443 [debug] [Thread-2 ]: Began running node model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_AB2 2022-04-22 10:56:35 normalization > 10:56:02.405980 [debug] [Thread-3 ]: Began executing node model.airbyte_utils.TICKETS_CUSTOM_FIELDS 2022-04-22 10:56:35 normalization > 10:56:02.407474 [debug] [Thread-2 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_AB2" 2022-04-22 10:56:35 normalization > 10:56:02.413885 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKETS_CUSTOM_FIELDS" 2022-04-22 10:56:35 normalization > 10:56:02.414286 [debug] [Thread-2 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_AB2 2022-04-22 10:56:35 normalization > 10:56:02.414508 [debug] [Thread-3 ]: On model.airbyte_utils.TICKETS_CUSTOM_FIELDS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_CUSTOM_FIELDS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_CUSTOM_FIELDS" 2022-04-22 10:56:35 normalization > 10:56:02.414791 [debug] [Thread-2 ]: Compiling model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_AB2 2022-04-22 10:56:35 normalization > 10:56:02.432562 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 0.25 seconds 2022-04-22 10:56:35 normalization > 10:56:02.440307 [debug] [Thread-2 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_AB2" 2022-04-22 10:56:35 normalization > 10:56:02.452698 [debug] [Thread-1 ]: Writing injected SQL for node "model.airbyte_utils.TICKETS_SATISFACTION_RATING" 2022-04-22 10:56:35 normalization > 10:56:02.454680 [debug] [Thread-4 ]: SQL status: SUCCESS 7 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:56:02.458256 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKETS_VIA" 2022-04-22 10:56:35 normalization > 10:56:02.458589 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:02.458745 [debug] [Thread-4 ]: On model.airbyte_utils.TICKETS_VIA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_VIA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_VIA" 2022-04-22 10:56:35 normalization > 10:56:02.459359 [debug] [Thread-2 ]: Finished running node model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_AB2 2022-04-22 10:56:35 normalization > 10:56:02.460412 [debug] [Thread-2 ]: Began running node model.airbyte_utils.TICKET_AUDITS_EVENTS_DATA_AB2 2022-04-22 10:56:35 normalization > 10:56:02.460846 [debug] [Thread-2 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_DATA_AB2" 2022-04-22 10:56:35 normalization > 10:56:02.461378 [debug] [Thread-2 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS_EVENTS_DATA_AB2 2022-04-22 10:56:35 normalization > 10:56:02.461598 [debug] [Thread-2 ]: Compiling model.airbyte_utils.TICKET_AUDITS_EVENTS_DATA_AB2 2022-04-22 10:56:35 normalization > 10:56:02.472906 [debug] [Thread-1 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:02.489712 [debug] [Thread-2 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS_EVENTS_DATA_AB2" 2022-04-22 10:56:35 normalization > 10:56:02.490061 [debug] [Thread-1 ]: Began executing node model.airbyte_utils.TICKETS_SATISFACTION_RATING 2022-04-22 10:56:35 normalization > 10:56:02.496804 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKETS_SATISFACTION_RATING" 2022-04-22 10:56:35 normalization > 10:56:02.497182 [debug] [Thread-1 ]: On model.airbyte_utils.TICKETS_SATISFACTION_RATING: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_SATISFACTION_RATING"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_SATISFACTION_RATING" 2022-04-22 10:56:35 normalization > 10:56:02.498145 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:02.500273 [debug] [Thread-2 ]: Finished running node model.airbyte_utils.TICKET_AUDITS_EVENTS_DATA_AB2 2022-04-22 10:56:35 normalization > 10:56:02.500528 [debug] [Thread-2 ]: Began running node model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_AB2 2022-04-22 10:56:35 normalization > 10:56:02.500994 [debug] [Thread-2 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_AB2" 2022-04-22 10:56:35 normalization > 10:56:02.501693 [debug] [Thread-2 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_AB2 2022-04-22 10:56:35 normalization > 10:56:02.502023 [debug] [Thread-2 ]: Compiling model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_AB2 2022-04-22 10:56:35 normalization > 10:56:02.515332 [debug] [Thread-2 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_AB2" 2022-04-22 10:56:35 normalization > 10:56:02.516185 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:02.516663 [debug] [Thread-2 ]: Finished running node model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_AB2 2022-04-22 10:56:35 normalization > 10:56:02.516887 [debug] [Thread-2 ]: Began running node model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_AB2 2022-04-22 10:56:35 normalization > 10:56:02.517291 [debug] [Thread-2 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_AB2" 2022-04-22 10:56:35 normalization > 10:56:02.518004 [debug] [Thread-2 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_AB2 2022-04-22 10:56:35 normalization > 10:56:02.518286 [debug] [Thread-2 ]: Compiling model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_AB2 2022-04-22 10:56:35 normalization > 10:56:02.532358 [debug] [Thread-2 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_AB2" 2022-04-22 10:56:35 normalization > 10:56:02.533255 [debug] [Thread-3 ]: SQL status: SUCCESS 7 in 0.12 seconds 2022-04-22 10:56:35 normalization > 10:56:02.539086 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:02.544957 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKETS_CUSTOM_FIELDS" 2022-04-22 10:56:35 normalization > 10:56:02.545479 [debug] [Thread-2 ]: Finished running node model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_AB2 2022-04-22 10:56:35 normalization > 10:56:02.546732 [debug] [Thread-4 ]: SQL status: SUCCESS 1 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:56:02.547047 [debug] [Thread-3 ]: On model.airbyte_utils.TICKETS_CUSTOM_FIELDS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_CUSTOM_FIELDS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace temporary table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_CUSTOM_FIELDS__dbt_tmp" as 2022-04-22 10:56:35 normalization > (select * from( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > with __dbt__cte__TICKETS_CUSTOM_FIELDS_AB1 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to parse JSON blob stored in a single column and extract into separated field columns as described by the JSON Schema 2022-04-22 10:56:35 normalization > -- depends_on: "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_SCD" 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_TICKETS_HASHID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(CUSTOM_FIELDS.value), '"id"')) as ID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(CUSTOM_FIELDS.value), '"value"')) as VALUE, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_SCD" as table_alias 2022-04-22 10:56:35 normalization > -- CUSTOM_FIELDS at tickets/custom_fields 2022-04-22 10:56:35 normalization > cross join table(flatten(CUSTOM_FIELDS)) as CUSTOM_FIELDS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > and CUSTOM_FIELDS is not null 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKETS_CUSTOM_FIELDS_AB2 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to cast each column to its adequate SQL type converted from the JSON schema type 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKETS_CUSTOM_FIELDS_AB1 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_TICKETS_HASHID, 2022-04-22 10:56:35 normalization > cast(ID as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as ID, 2022-04-22 10:56:35 normalization > cast(VALUE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as VALUE, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKETS_CUSTOM_FIELDS_AB1 2022-04-22 10:56:35 normalization > -- CUSTOM_FIELDS at tickets/custom_fields 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKETS_CUSTOM_FIELDS_AB3 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to build a hash column based on the values of this record 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKETS_CUSTOM_FIELDS_AB2 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(_AIRBYTE_TICKETS_HASHID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(VALUE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_CUSTOM_FIELDS_HASHID, 2022-04-22 10:56:35 normalization > tmp.* 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKETS_CUSTOM_FIELDS_AB2 tmp 2022-04-22 10:56:35 normalization > -- CUSTOM_FIELDS at tickets/custom_fields 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > )-- Final base SQL model 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKETS_CUSTOM_FIELDS_AB3 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_TICKETS_HASHID, 2022-04-22 10:56:35 normalization > ID, 2022-04-22 10:56:35 normalization > VALUE, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_CUSTOM_FIELDS_HASHID 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKETS_CUSTOM_FIELDS_AB3 2022-04-22 10:56:35 normalization > -- CUSTOM_FIELDS at tickets/custom_fields from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_SCD" 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > and cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) >= 2022-04-22 10:56:35 normalization > cast('2022-04-22 10:49:17.699000-07:00' as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ) order by (_AIRBYTE_EMITTED_AT) 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:56:02.547458 [debug] [Thread-2 ]: Began running node model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS_AB2 2022-04-22 10:56:35 normalization > 10:56:02.555284 [debug] [Thread-4 ]: Writing injected SQL for node "model.airbyte_utils.TICKETS_VIA" 2022-04-22 10:56:35 normalization > 10:56:02.556761 [debug] [Thread-2 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS_AB2" 2022-04-22 10:56:35 normalization > 10:56:02.559163 [debug] [Thread-2 ]: Began compiling node model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS_AB2 2022-04-22 10:56:35 normalization > 10:56:02.559385 [debug] [Thread-2 ]: Compiling model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS_AB2 2022-04-22 10:56:35 normalization > 10:56:02.571518 [debug] [Thread-1 ]: SQL status: SUCCESS 17 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:56:02.577186 [debug] [Thread-4 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:02.596410 [debug] [Thread-2 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS_AB2" 2022-04-22 10:56:35 normalization > 10:56:02.597030 [debug] [Thread-4 ]: Began executing node model.airbyte_utils.TICKETS_VIA 2022-04-22 10:56:35 normalization > 10:56:02.601422 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKETS_SATISFACTION_RATING" 2022-04-22 10:56:35 normalization > 10:56:02.613256 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKETS_VIA" 2022-04-22 10:56:35 normalization > 10:56:02.613874 [debug] [Thread-1 ]: On model.airbyte_utils.TICKETS_SATISFACTION_RATING: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_SATISFACTION_RATING"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace temporary table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_SATISFACTION_RATING__dbt_tmp" as 2022-04-22 10:56:35 normalization > (select * from( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > with __dbt__cte__TICKETS_SATISFACTION_RATING_AB1 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to parse JSON blob stored in a single column and extract into separated field columns as described by the JSON Schema 2022-04-22 10:56:35 normalization > -- depends_on: "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_SCD" 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_TICKETS_HASHID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(SATISFACTION_RATING), '"id"')) as ID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(SATISFACTION_RATING), '"url"')) as URL, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(SATISFACTION_RATING), '"score"')) as SCORE, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(SATISFACTION_RATING), '"reason"')) as REASON, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(SATISFACTION_RATING), '"comment"')) as COMMENT, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(SATISFACTION_RATING), '"group_id"')) as GROUP_ID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(SATISFACTION_RATING), '"reason_id"')) as REASON_ID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(SATISFACTION_RATING), '"ticket_id"')) as TICKET_ID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(SATISFACTION_RATING), '"created_at"')) as CREATED_AT, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(SATISFACTION_RATING), '"updated_at"')) as UPDATED_AT, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(SATISFACTION_RATING), '"assignee_id"')) as ASSIGNEE_ID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(SATISFACTION_RATING), '"requester_id"')) as REQUESTER_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_SCD" as table_alias 2022-04-22 10:56:35 normalization > -- SATISFACTION_RATING at tickets/satisfaction_rating 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > and SATISFACTION_RATING is not null 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKETS_SATISFACTION_RATING_AB2 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to cast each column to its adequate SQL type converted from the JSON schema type 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKETS_SATISFACTION_RATING_AB1 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_TICKETS_HASHID, 2022-04-22 10:56:35 normalization > cast(ID as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as ID, 2022-04-22 10:56:35 normalization > cast(URL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as URL, 2022-04-22 10:56:35 normalization > cast(SCORE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as SCORE, 2022-04-22 10:56:35 normalization > cast(REASON as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as REASON, 2022-04-22 10:56:35 normalization > cast(COMMENT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as COMMENT, 2022-04-22 10:56:35 normalization > cast(GROUP_ID as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as GROUP_ID, 2022-04-22 10:56:35 normalization > cast(REASON_ID as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as REASON_ID, 2022-04-22 10:56:35 normalization > cast(TICKET_ID as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as TICKET_ID, 2022-04-22 10:56:35 normalization > case 2022-04-22 10:56:35 normalization > when CREATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{4}' then to_timestamp_tz(CREATED_AT, 'YYYY-MM-DDTHH24:MI:SSTZHTZM') 2022-04-22 10:56:35 normalization > when CREATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{2}' then to_timestamp_tz(CREATED_AT, 'YYYY-MM-DDTHH24:MI:SSTZH') 2022-04-22 10:56:35 normalization > when CREATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{4}' then to_timestamp_tz(CREATED_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZHTZM') 2022-04-22 10:56:35 normalization > when CREATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{2}' then to_timestamp_tz(CREATED_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZH') 2022-04-22 10:56:35 normalization > when CREATED_AT = '' then NULL 2022-04-22 10:56:35 normalization > else to_timestamp_tz(CREATED_AT) 2022-04-22 10:56:35 normalization > end as CREATED_AT 2022-04-22 10:56:35 normalization > , 2022-04-22 10:56:35 normalization > case 2022-04-22 10:56:35 normalization > when UPDATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{4}' then to_timestamp_tz(UPDATED_AT, 'YYYY-MM-DDTHH24:MI:SSTZHTZM') 2022-04-22 10:56:35 normalization > when UPDATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{2}' then to_timestamp_tz(UPDATED_AT, 'YYYY-MM-DDTHH24:MI:SSTZH') 2022-04-22 10:56:35 normalization > when UPDATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{4}' then to_timestamp_tz(UPDATED_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZHTZM') 2022-04-22 10:56:35 normalization > when UPDATED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{2}' then to_timestamp_tz(UPDATED_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZH') 2022-04-22 10:56:35 normalization > when UPDATED_AT = '' then NULL 2022-04-22 10:56:35 normalization > else to_timestamp_tz(UPDATED_AT) 2022-04-22 10:56:35 normalization > end as UPDATED_AT 2022-04-22 10:56:35 normalization > , 2022-04-22 10:56:35 normalization > cast(ASSIGNEE_ID as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as ASSIGNEE_ID, 2022-04-22 10:56:35 normalization > cast(REQUESTER_ID as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as REQUESTER_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKETS_SATISFACTION_RATING_AB1 2022-04-22 10:56:35 normalization > -- SATISFACTION_RATING at tickets/satisfaction_rating 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKETS_SATISFACTION_RATING_AB3 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to build a hash column based on the values of this record 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKETS_SATISFACTION_RATING_AB2 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(_AIRBYTE_TICKETS_HASHID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(URL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(SCORE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(REASON as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(COMMENT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(GROUP_ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(REASON_ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(TICKET_ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(CREATED_AT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(UPDATED_AT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(ASSIGNEE_ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(REQUESTER_ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_SATISFACTION_RATING_HASHID, 2022-04-22 10:56:35 normalization > tmp.* 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKETS_SATISFACTION_RATING_AB2 tmp 2022-04-22 10:56:35 normalization > -- SATISFACTION_RATING at tickets/satisfaction_rating 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > )-- Final base SQL model 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKETS_SATISFACTION_RATING_AB3 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_TICKETS_HASHID, 2022-04-22 10:56:35 normalization > ID, 2022-04-22 10:56:35 normalization > URL, 2022-04-22 10:56:35 normalization > SCORE, 2022-04-22 10:56:35 normalization > REASON, 2022-04-22 10:56:35 normalization > COMMENT, 2022-04-22 10:56:35 normalization > GROUP_ID, 2022-04-22 10:56:35 normalization > REASON_ID, 2022-04-22 10:56:35 normalization > TICKET_ID, 2022-04-22 10:56:35 normalization > CREATED_AT, 2022-04-22 10:56:35 normalization > UPDATED_AT, 2022-04-22 10:56:35 normalization > ASSIGNEE_ID, 2022-04-22 10:56:35 normalization > REQUESTER_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_SATISFACTION_RATING_HASHID 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKETS_SATISFACTION_RATING_AB3 2022-04-22 10:56:35 normalization > -- SATISFACTION_RATING at tickets/satisfaction_rating from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_SCD" 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > and cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) >= 2022-04-22 10:56:35 normalization > cast('2022-04-22 10:49:17.699000-07:00' as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ) order by (_AIRBYTE_EMITTED_AT) 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:56:02.614231 [debug] [Thread-4 ]: On model.airbyte_utils.TICKETS_VIA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_VIA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_VIA" 2022-04-22 10:56:35 normalization > 10:56:02.614505 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:02.616163 [debug] [Thread-2 ]: Finished running node model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS_AB2 2022-04-22 10:56:35 normalization > 10:56:02.616466 [debug] [Thread-2 ]: Began running node model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_AB2 2022-04-22 10:56:35 normalization > 10:56:02.618209 [debug] [Thread-2 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_AB2" 2022-04-22 10:56:35 normalization > 10:56:02.619148 [debug] [Thread-2 ]: Began compiling node model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_AB2 2022-04-22 10:56:35 normalization > 10:56:02.619465 [debug] [Thread-2 ]: Compiling model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_AB2 2022-04-22 10:56:35 normalization > 10:56:02.636950 [debug] [Thread-2 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_AB2" 2022-04-22 10:56:35 normalization > 10:56:02.639072 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:02.639659 [debug] [Thread-2 ]: Finished running node model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_AB2 2022-04-22 10:56:35 normalization > 10:56:02.639883 [debug] [Thread-2 ]: Began running node model.airbyte_utils.SLA_POLICIES_FILTER_ALL_AB3 2022-04-22 10:56:35 normalization > 10:56:02.640241 [debug] [Thread-2 ]: Acquiring new snowflake connection "model.airbyte_utils.SLA_POLICIES_FILTER_ALL_AB3" 2022-04-22 10:56:35 normalization > 10:56:02.640453 [debug] [Thread-2 ]: Began compiling node model.airbyte_utils.SLA_POLICIES_FILTER_ALL_AB3 2022-04-22 10:56:35 normalization > 10:56:02.640678 [debug] [Thread-2 ]: Compiling model.airbyte_utils.SLA_POLICIES_FILTER_ALL_AB3 2022-04-22 10:56:35 normalization > 10:56:02.654952 [debug] [Thread-2 ]: Writing injected SQL for node "model.airbyte_utils.SLA_POLICIES_FILTER_ALL_AB3" 2022-04-22 10:56:35 normalization > 10:56:02.655971 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:02.656470 [debug] [Thread-2 ]: Finished running node model.airbyte_utils.SLA_POLICIES_FILTER_ALL_AB3 2022-04-22 10:56:35 normalization > 10:56:02.656676 [debug] [Thread-2 ]: Began running node model.airbyte_utils.SLA_POLICIES_FILTER_ANY_AB3 2022-04-22 10:56:35 normalization > 10:56:02.657013 [debug] [Thread-2 ]: Acquiring new snowflake connection "model.airbyte_utils.SLA_POLICIES_FILTER_ANY_AB3" 2022-04-22 10:56:35 normalization > 10:56:02.657157 [debug] [Thread-2 ]: Began compiling node model.airbyte_utils.SLA_POLICIES_FILTER_ANY_AB3 2022-04-22 10:56:35 normalization > 10:56:02.657270 [debug] [Thread-2 ]: Compiling model.airbyte_utils.SLA_POLICIES_FILTER_ANY_AB3 2022-04-22 10:56:35 normalization > 10:56:02.671036 [debug] [Thread-2 ]: Writing injected SQL for node "model.airbyte_utils.SLA_POLICIES_FILTER_ANY_AB3" 2022-04-22 10:56:35 normalization > 10:56:02.671677 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:02.672222 [debug] [Thread-2 ]: Finished running node model.airbyte_utils.SLA_POLICIES_FILTER_ANY_AB3 2022-04-22 10:56:35 normalization > 10:56:02.672443 [debug] [Thread-2 ]: Began running node model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_AB3 2022-04-22 10:56:35 normalization > 10:56:02.673506 [debug] [Thread-2 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_AB3" 2022-04-22 10:56:35 normalization > 10:56:02.673719 [debug] [Thread-2 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_AB3 2022-04-22 10:56:35 normalization > 10:56:02.674038 [debug] [Thread-2 ]: Compiling model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_AB3 2022-04-22 10:56:35 normalization > 10:56:02.688373 [debug] [Thread-2 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_AB3" 2022-04-22 10:56:35 normalization > 10:56:02.689091 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:02.689659 [debug] [Thread-2 ]: Finished running node model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_AB3 2022-04-22 10:56:35 normalization > 10:56:02.689938 [debug] [Thread-2 ]: Began running node model.airbyte_utils.TICKET_AUDITS_METADATA_SYSTEM_AB3 2022-04-22 10:56:35 normalization > 10:56:02.690307 [debug] [Thread-2 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_SYSTEM_AB3" 2022-04-22 10:56:35 normalization > 10:56:02.690509 [debug] [Thread-2 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS_METADATA_SYSTEM_AB3 2022-04-22 10:56:35 normalization > 10:56:02.690933 [debug] [Thread-2 ]: Compiling model.airbyte_utils.TICKET_AUDITS_METADATA_SYSTEM_AB3 2022-04-22 10:56:35 normalization > 10:56:02.714419 [debug] [Thread-2 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS_METADATA_SYSTEM_AB3" 2022-04-22 10:56:35 normalization > 10:56:02.715098 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:02.715674 [debug] [Thread-2 ]: Finished running node model.airbyte_utils.TICKET_AUDITS_METADATA_SYSTEM_AB3 2022-04-22 10:56:35 normalization > 10:56:02.715991 [debug] [Thread-2 ]: Began running node model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_AB2 2022-04-22 10:56:35 normalization > 10:56:02.716402 [debug] [Thread-2 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_AB2" 2022-04-22 10:56:35 normalization > 10:56:02.717206 [debug] [Thread-2 ]: Began compiling node model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_AB2 2022-04-22 10:56:35 normalization > 10:56:02.717452 [debug] [Thread-2 ]: Compiling model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_AB2 2022-04-22 10:56:35 normalization > 10:56:02.865284 [debug] [Thread-2 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_AB2" 2022-04-22 10:56:35 normalization > 10:56:02.867259 [debug] [Thread-4 ]: SQL status: SUCCESS 7 in 0.25 seconds 2022-04-22 10:56:35 normalization > 10:56:02.872752 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:02.877858 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKETS_VIA" 2022-04-22 10:56:35 normalization > 10:56:02.878428 [debug] [Thread-2 ]: Finished running node model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_AB2 2022-04-22 10:56:35 normalization > 10:56:02.878742 [debug] [Thread-4 ]: On model.airbyte_utils.TICKETS_VIA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_VIA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace temporary table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_VIA__dbt_tmp" as 2022-04-22 10:56:35 normalization > (select * from( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > with __dbt__cte__TICKETS_VIA_AB1 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to parse JSON blob stored in a single column and extract into separated field columns as described by the JSON Schema 2022-04-22 10:56:35 normalization > -- depends_on: "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_SCD" 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_TICKETS_HASHID, 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > get_path(parse_json(table_alias.VIA), '"source"') 2022-04-22 10:56:35 normalization > as SOURCE, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(VIA), '"channel"')) as CHANNEL, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_SCD" as table_alias 2022-04-22 10:56:35 normalization > -- VIA at tickets/via 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > and VIA is not null 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKETS_VIA_AB2 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to cast each column to its adequate SQL type converted from the JSON schema type 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKETS_VIA_AB1 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_TICKETS_HASHID, 2022-04-22 10:56:35 normalization > cast(SOURCE as 2022-04-22 10:56:35 normalization > variant 2022-04-22 10:56:35 normalization > ) as SOURCE, 2022-04-22 10:56:35 normalization > cast(CHANNEL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as CHANNEL, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKETS_VIA_AB1 2022-04-22 10:56:35 normalization > -- VIA at tickets/via 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKETS_VIA_AB3 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to build a hash column based on the values of this record 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKETS_VIA_AB2 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(_AIRBYTE_TICKETS_HASHID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(SOURCE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(CHANNEL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_VIA_HASHID, 2022-04-22 10:56:35 normalization > tmp.* 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKETS_VIA_AB2 tmp 2022-04-22 10:56:35 normalization > -- VIA at tickets/via 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > )-- Final base SQL model 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKETS_VIA_AB3 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_TICKETS_HASHID, 2022-04-22 10:56:35 normalization > SOURCE, 2022-04-22 10:56:35 normalization > CHANNEL, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_VIA_HASHID 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKETS_VIA_AB3 2022-04-22 10:56:35 normalization > -- VIA at tickets/via from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_SCD" 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > and cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) >= 2022-04-22 10:56:35 normalization > cast('2022-04-22 10:49:17.699000-07:00' as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ) order by (_AIRBYTE_EMITTED_AT) 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:56:02.879087 [debug] [Thread-2 ]: Began running node model.airbyte_utils.TICKET_COMMENTS_METADATA_SYSTEM_AB2 2022-04-22 10:56:35 normalization > 10:56:02.881577 [debug] [Thread-2 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_SYSTEM_AB2" 2022-04-22 10:56:35 normalization > 10:56:02.881801 [debug] [Thread-2 ]: Began compiling node model.airbyte_utils.TICKET_COMMENTS_METADATA_SYSTEM_AB2 2022-04-22 10:56:35 normalization > 10:56:02.882008 [debug] [Thread-2 ]: Compiling model.airbyte_utils.TICKET_COMMENTS_METADATA_SYSTEM_AB2 2022-04-22 10:56:35 normalization > 10:56:02.902883 [debug] [Thread-2 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_COMMENTS_METADATA_SYSTEM_AB2" 2022-04-22 10:56:35 normalization > 10:56:02.905509 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:02.906386 [debug] [Thread-2 ]: Finished running node model.airbyte_utils.TICKET_COMMENTS_METADATA_SYSTEM_AB2 2022-04-22 10:56:35 normalization > 10:56:02.907782 [debug] [Thread-2 ]: Began running node model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_AB3 2022-04-22 10:56:35 normalization > 10:56:02.908554 [debug] [Thread-2 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_AB3" 2022-04-22 10:56:35 normalization > 10:56:02.909104 [debug] [Thread-2 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_AB3 2022-04-22 10:56:35 normalization > 10:56:02.909446 [debug] [Thread-2 ]: Compiling model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_AB3 2022-04-22 10:56:35 normalization > 10:56:02.940700 [debug] [Thread-2 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_AB3" 2022-04-22 10:56:35 normalization > 10:56:02.941925 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:02.942530 [debug] [Thread-2 ]: Finished running node model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_AB3 2022-04-22 10:56:35 normalization > 10:56:02.942780 [debug] [Thread-2 ]: Began running node model.airbyte_utils.TICKET_AUDITS_EVENTS_DATA_AB3 2022-04-22 10:56:35 normalization > 10:56:02.943165 [debug] [Thread-2 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_DATA_AB3" 2022-04-22 10:56:35 normalization > 10:56:02.943373 [debug] [Thread-2 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS_EVENTS_DATA_AB3 2022-04-22 10:56:35 normalization > 10:56:02.943799 [debug] [Thread-2 ]: Compiling model.airbyte_utils.TICKET_AUDITS_EVENTS_DATA_AB3 2022-04-22 10:56:35 normalization > 10:56:02.975304 [debug] [Thread-2 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS_EVENTS_DATA_AB3" 2022-04-22 10:56:35 normalization > 10:56:02.976016 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:02.976639 [debug] [Thread-2 ]: Finished running node model.airbyte_utils.TICKET_AUDITS_EVENTS_DATA_AB3 2022-04-22 10:56:35 normalization > 10:56:02.977045 [debug] [Thread-2 ]: Began running node model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_AB3 2022-04-22 10:56:35 normalization > 10:56:02.977448 [debug] [Thread-2 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_AB3" 2022-04-22 10:56:35 normalization > 10:56:02.977645 [debug] [Thread-2 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_AB3 2022-04-22 10:56:35 normalization > 10:56:02.978053 [debug] [Thread-2 ]: Compiling model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_AB3 2022-04-22 10:56:35 normalization > 10:56:02.992806 [debug] [Thread-2 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_AB3" 2022-04-22 10:56:35 normalization > 10:56:02.993869 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:02.994363 [debug] [Thread-2 ]: Finished running node model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_AB3 2022-04-22 10:56:35 normalization > 10:56:02.994631 [debug] [Thread-2 ]: Began running node model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_AB3 2022-04-22 10:56:35 normalization > 10:56:02.994989 [debug] [Thread-2 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_AB3" 2022-04-22 10:56:35 normalization > 10:56:02.995489 [debug] [Thread-2 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_AB3 2022-04-22 10:56:35 normalization > 10:56:02.995685 [debug] [Thread-2 ]: Compiling model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_AB3 2022-04-22 10:56:35 normalization > 10:56:03.012177 [debug] [Thread-2 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_AB3" 2022-04-22 10:56:35 normalization > 10:56:03.013015 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:03.014534 [debug] [Thread-2 ]: Finished running node model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_AB3 2022-04-22 10:56:35 normalization > 10:56:03.017295 [debug] [Thread-2 ]: Began running node model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS_AB3 2022-04-22 10:56:35 normalization > 10:56:03.018656 [debug] [Thread-2 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS_AB3" 2022-04-22 10:56:35 normalization > 10:56:03.018861 [debug] [Thread-2 ]: Began compiling node model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS_AB3 2022-04-22 10:56:35 normalization > 10:56:03.019005 [debug] [Thread-2 ]: Compiling model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS_AB3 2022-04-22 10:56:35 normalization > 10:56:03.064278 [debug] [Thread-2 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS_AB3" 2022-04-22 10:56:35 normalization > 10:56:03.064823 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:03.065490 [debug] [Thread-2 ]: Finished running node model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS_AB3 2022-04-22 10:56:35 normalization > 10:56:03.065729 [debug] [Thread-2 ]: Began running node model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_AB3 2022-04-22 10:56:35 normalization > 10:56:03.066070 [debug] [Thread-2 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_AB3" 2022-04-22 10:56:35 normalization > 10:56:03.066552 [debug] [Thread-2 ]: Began compiling node model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_AB3 2022-04-22 10:56:35 normalization > 10:56:03.066764 [debug] [Thread-2 ]: Compiling model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_AB3 2022-04-22 10:56:35 normalization > 10:56:03.084697 [debug] [Thread-2 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_AB3" 2022-04-22 10:56:35 normalization > 10:56:03.085354 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:03.085874 [debug] [Thread-2 ]: Finished running node model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_AB3 2022-04-22 10:56:35 normalization > 10:56:03.086192 [debug] [Thread-2 ]: Began running node model.airbyte_utils.SLA_POLICIES_FILTER_ALL 2022-04-22 10:56:35 normalization > 10:56:03.086789 [info ] [Thread-2 ]: 66 of 95 START table model ZENDESK_SUPPORT.SLA_POLICIES_FILTER_ALL...................................................... [RUN] 2022-04-22 10:56:35 normalization > 10:56:03.087889 [debug] [Thread-2 ]: Acquiring new snowflake connection "model.airbyte_utils.SLA_POLICIES_FILTER_ALL" 2022-04-22 10:56:35 normalization > 10:56:03.088212 [debug] [Thread-2 ]: Began compiling node model.airbyte_utils.SLA_POLICIES_FILTER_ALL 2022-04-22 10:56:35 normalization > 10:56:03.088450 [debug] [Thread-2 ]: Compiling model.airbyte_utils.SLA_POLICIES_FILTER_ALL 2022-04-22 10:56:35 normalization > 10:56:03.100784 [debug] [Thread-2 ]: Writing injected SQL for node "model.airbyte_utils.SLA_POLICIES_FILTER_ALL" 2022-04-22 10:56:35 normalization > 10:56:03.112175 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:03.123143 [debug] [Thread-2 ]: Began executing node model.airbyte_utils.SLA_POLICIES_FILTER_ALL 2022-04-22 10:56:35 normalization > 10:56:03.132014 [debug] [Thread-2 ]: Writing runtime SQL for node "model.airbyte_utils.SLA_POLICIES_FILTER_ALL" 2022-04-22 10:56:35 normalization > 10:56:03.138062 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.SLA_POLICIES_FILTER_ALL" 2022-04-22 10:56:35 normalization > 10:56:03.138352 [debug] [Thread-2 ]: On model.airbyte_utils.SLA_POLICIES_FILTER_ALL: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.SLA_POLICIES_FILTER_ALL"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace table "AIRBYTE_DB".ZENDESK_SUPPORT."SLA_POLICIES_FILTER_ALL" as 2022-04-22 10:56:35 normalization > (select * from( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > with __dbt__cte__SLA_POLICIES_FILTER_ALL_AB1 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to parse JSON blob stored in a single column and extract into separated field columns as described by the JSON Schema 2022-04-22 10:56:35 normalization > -- depends_on: "AIRBYTE_DB".ZENDESK_SUPPORT."SLA_POLICIES_FILTER" 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_FILTER_HASHID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json("all".value), '"field"')) as FIELD, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json("all".value), '"value"')) as VALUE, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json("all".value), '"operator"')) as OPERATOR, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."SLA_POLICIES_FILTER" as table_alias 2022-04-22 10:56:35 normalization > -- all at sla_policies/filter/all 2022-04-22 10:56:35 normalization > cross join table(flatten("all")) as "all" 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > and "all" is not null 2022-04-22 10:56:35 normalization > ), __dbt__cte__SLA_POLICIES_FILTER_ALL_AB2 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to cast each column to its adequate SQL type converted from the JSON schema type 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__SLA_POLICIES_FILTER_ALL_AB1 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_FILTER_HASHID, 2022-04-22 10:56:35 normalization > cast(FIELD as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as FIELD, 2022-04-22 10:56:35 normalization > cast(VALUE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as VALUE, 2022-04-22 10:56:35 normalization > cast(OPERATOR as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as OPERATOR, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from __dbt__cte__SLA_POLICIES_FILTER_ALL_AB1 2022-04-22 10:56:35 normalization > -- all at sla_policies/filter/all 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > ), __dbt__cte__SLA_POLICIES_FILTER_ALL_AB3 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to build a hash column based on the values of this record 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__SLA_POLICIES_FILTER_ALL_AB2 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(_AIRBYTE_FILTER_HASHID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(FIELD as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(VALUE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(OPERATOR as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_ALL_HASHID, 2022-04-22 10:56:35 normalization > tmp.* 2022-04-22 10:56:35 normalization > from __dbt__cte__SLA_POLICIES_FILTER_ALL_AB2 tmp 2022-04-22 10:56:35 normalization > -- all at sla_policies/filter/all 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > )-- Final base SQL model 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__SLA_POLICIES_FILTER_ALL_AB3 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_FILTER_HASHID, 2022-04-22 10:56:35 normalization > FIELD, 2022-04-22 10:56:35 normalization > VALUE, 2022-04-22 10:56:35 normalization > OPERATOR, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_ALL_HASHID 2022-04-22 10:56:35 normalization > from __dbt__cte__SLA_POLICIES_FILTER_ALL_AB3 2022-04-22 10:56:35 normalization > -- all at sla_policies/filter/all from "AIRBYTE_DB".ZENDESK_SUPPORT."SLA_POLICIES_FILTER" 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > ) order by (_AIRBYTE_EMITTED_AT) 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:56:03.138859 [debug] [Thread-2 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:56:03.212188 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 0.66 seconds 2022-04-22 10:56:35 normalization > 10:56:03.243715 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKETS_CUSTOM_FIELDS" 2022-04-22 10:56:35 normalization > 10:56:03.265694 [debug] [Thread-3 ]: On model.airbyte_utils.TICKETS_CUSTOM_FIELDS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_CUSTOM_FIELDS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_CUSTOM_FIELDS__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:56:03.372952 [debug] [Thread-3 ]: SQL status: SUCCESS 7 in 0.1 seconds 2022-04-22 10:56:35 normalization > 10:56:03.381088 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKETS_CUSTOM_FIELDS" 2022-04-22 10:56:35 normalization > 10:56:03.383054 [debug] [Thread-3 ]: On model.airbyte_utils.TICKETS_CUSTOM_FIELDS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_CUSTOM_FIELDS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_CUSTOM_FIELDS" 2022-04-22 10:56:35 normalization > 10:56:03.382382 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 0.77 seconds 2022-04-22 10:56:35 normalization > 10:56:03.389666 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKETS_SATISFACTION_RATING" 2022-04-22 10:56:35 normalization > 10:56:03.394686 [debug] [Thread-1 ]: On model.airbyte_utils.TICKETS_SATISFACTION_RATING: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_SATISFACTION_RATING"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_SATISFACTION_RATING__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:56:03.437755 [debug] [Thread-5 ]: SQL status: SUCCESS 16 in 1.5 seconds 2022-04-22 10:56:35 normalization > 10:56:03.449895 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.USERS_PHOTO" 2022-04-22 10:56:35 normalization > 10:56:03.450153 [debug] [Thread-5 ]: On model.airbyte_utils.USERS_PHOTO: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.USERS_PHOTO"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."USERS_PHOTO" 2022-04-22 10:56:35 normalization > 10:56:03.455214 [debug] [Thread-3 ]: SQL status: SUCCESS 7 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:56:03.459921 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKETS_CUSTOM_FIELDS" 2022-04-22 10:56:35 normalization > 10:56:03.460126 [debug] [Thread-3 ]: On model.airbyte_utils.TICKETS_CUSTOM_FIELDS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_CUSTOM_FIELDS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_CUSTOM_FIELDS__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:56:03.496413 [debug] [Thread-1 ]: SQL status: SUCCESS 17 in 0.1 seconds 2022-04-22 10:56:35 normalization > 10:56:03.501769 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKETS_SATISFACTION_RATING" 2022-04-22 10:56:35 normalization > 10:56:03.501997 [debug] [Thread-1 ]: On model.airbyte_utils.TICKETS_SATISFACTION_RATING: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_SATISFACTION_RATING"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_SATISFACTION_RATING" 2022-04-22 10:56:35 normalization > 10:56:03.664357 [debug] [Thread-5 ]: SQL status: SUCCESS 16 in 0.21 seconds 2022-04-22 10:56:35 normalization > 10:56:03.665672 [debug] [Thread-3 ]: SQL status: SUCCESS 7 in 0.21 seconds 2022-04-22 10:56:35 normalization > 10:56:03.676774 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.USERS_PHOTO" 2022-04-22 10:56:35 normalization > 10:56:03.679380 [debug] [Thread-1 ]: SQL status: SUCCESS 17 in 0.18 seconds 2022-04-22 10:56:35 normalization > 10:56:03.684066 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKETS_CUSTOM_FIELDS" 2022-04-22 10:56:35 normalization > 10:56:03.695744 [debug] [Thread-5 ]: On model.airbyte_utils.USERS_PHOTO: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.USERS_PHOTO"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."USERS_PHOTO" 2022-04-22 10:56:35 normalization > 10:56:03.701610 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKETS_SATISFACTION_RATING" 2022-04-22 10:56:35 normalization > 10:56:03.701913 [debug] [Thread-3 ]: On model.airbyte_utils.TICKETS_CUSTOM_FIELDS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_CUSTOM_FIELDS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKETS_CUSTOM_FIELDS" 2022-04-22 10:56:35 normalization > 10:56:03.704187 [debug] [Thread-1 ]: On model.airbyte_utils.TICKETS_SATISFACTION_RATING: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_SATISFACTION_RATING"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_SATISFACTION_RATING__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:56:03.792064 [debug] [Thread-3 ]: SQL status: SUCCESS 7 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:56:03.793325 [debug] [Thread-1 ]: SQL status: SUCCESS 17 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:56:03.807231 [debug] [Thread-3 ]: 2022-04-22 10:56:35 normalization > In "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKETS_CUSTOM_FIELDS": 2022-04-22 10:56:35 normalization > Schema changed: False 2022-04-22 10:56:35 normalization > Source columns not in target: [] 2022-04-22 10:56:35 normalization > Target columns not in source: [] 2022-04-22 10:56:35 normalization > New column types: [] 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 10:56:03.812424 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKETS_SATISFACTION_RATING" 2022-04-22 10:56:35 normalization > 10:56:03.813780 [debug] [Thread-3 ]: Writing runtime SQL for node "model.airbyte_utils.TICKETS_CUSTOM_FIELDS" 2022-04-22 10:56:35 normalization > 10:56:03.814013 [debug] [Thread-1 ]: On model.airbyte_utils.TICKETS_SATISFACTION_RATING: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_SATISFACTION_RATING"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKETS_SATISFACTION_RATING" 2022-04-22 10:56:35 normalization > 10:56:03.816701 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKETS_CUSTOM_FIELDS" 2022-04-22 10:56:35 normalization > 10:56:03.816852 [debug] [Thread-3 ]: On model.airbyte_utils.TICKETS_CUSTOM_FIELDS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_CUSTOM_FIELDS"} */ 2022-04-22 10:56:35 normalization > begin; 2022-04-22 10:56:35 normalization > 10:56:03.844234 [debug] [Thread-4 ]: SQL status: SUCCESS 1 in 0.96 seconds 2022-04-22 10:56:35 normalization > 10:56:03.856480 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKETS_VIA" 2022-04-22 10:56:35 normalization > 10:56:03.856740 [debug] [Thread-4 ]: On model.airbyte_utils.TICKETS_VIA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_VIA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_VIA__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:56:03.883813 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:56:03.884687 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKETS_CUSTOM_FIELDS" 2022-04-22 10:56:35 normalization > 10:56:03.884872 [debug] [Thread-3 ]: On model.airbyte_utils.TICKETS_CUSTOM_FIELDS: insert into "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_CUSTOM_FIELDS" ("_AIRBYTE_TICKETS_HASHID", "ID", "VALUE", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_CUSTOM_FIELDS_HASHID") 2022-04-22 10:56:35 normalization > ( 2022-04-22 10:56:35 normalization > select "_AIRBYTE_TICKETS_HASHID", "ID", "VALUE", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_CUSTOM_FIELDS_HASHID" 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_CUSTOM_FIELDS__dbt_tmp" 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:56:03.887787 [debug] [Thread-1 ]: SQL status: SUCCESS 17 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:56:03.891968 [debug] [Thread-1 ]: 2022-04-22 10:56:35 normalization > In "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKETS_SATISFACTION_RATING": 2022-04-22 10:56:35 normalization > Schema changed: False 2022-04-22 10:56:35 normalization > Source columns not in target: [] 2022-04-22 10:56:35 normalization > Target columns not in source: [] 2022-04-22 10:56:35 normalization > New column types: [] 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 10:56:03.893247 [debug] [Thread-1 ]: Writing runtime SQL for node "model.airbyte_utils.TICKETS_SATISFACTION_RATING" 2022-04-22 10:56:35 normalization > 10:56:03.894283 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKETS_SATISFACTION_RATING" 2022-04-22 10:56:35 normalization > 10:56:03.894439 [debug] [Thread-1 ]: On model.airbyte_utils.TICKETS_SATISFACTION_RATING: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_SATISFACTION_RATING"} */ 2022-04-22 10:56:35 normalization > begin; 2022-04-22 10:56:35 normalization > 10:56:03.938580 [debug] [Thread-4 ]: SQL status: SUCCESS 7 in 0.08 seconds 2022-04-22 10:56:35 normalization > 10:56:03.943537 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKETS_VIA" 2022-04-22 10:56:35 normalization > 10:56:03.943769 [debug] [Thread-4 ]: On model.airbyte_utils.TICKETS_VIA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_VIA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_VIA" 2022-04-22 10:56:35 normalization > 10:56:03.973601 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 0.08 seconds 2022-04-22 10:56:35 normalization > 10:56:03.973961 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKETS_SATISFACTION_RATING" 2022-04-22 10:56:35 normalization > 10:56:03.974082 [debug] [Thread-1 ]: On model.airbyte_utils.TICKETS_SATISFACTION_RATING: insert into "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_SATISFACTION_RATING" ("_AIRBYTE_TICKETS_HASHID", "ID", "URL", "SCORE", "REASON", "COMMENT", "GROUP_ID", "REASON_ID", "TICKET_ID", "CREATED_AT", "UPDATED_AT", "ASSIGNEE_ID", "REQUESTER_ID", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_SATISFACTION_RATING_HASHID") 2022-04-22 10:56:35 normalization > ( 2022-04-22 10:56:35 normalization > select "_AIRBYTE_TICKETS_HASHID", "ID", "URL", "SCORE", "REASON", "COMMENT", "GROUP_ID", "REASON_ID", "TICKET_ID", "CREATED_AT", "UPDATED_AT", "ASSIGNEE_ID", "REQUESTER_ID", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_SATISFACTION_RATING_HASHID" 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_SATISFACTION_RATING__dbt_tmp" 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:56:04.019386 [debug] [Thread-4 ]: SQL status: SUCCESS 7 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:56:04.026100 [debug] [Thread-5 ]: SQL status: SUCCESS 1 in 0.32 seconds 2022-04-22 10:56:35 normalization > 10:56:04.035767 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.USERS_PHOTO" 2022-04-22 10:56:35 normalization > 10:56:04.039476 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKETS_VIA" 2022-04-22 10:56:35 normalization > 10:56:04.039805 [debug] [Thread-5 ]: On model.airbyte_utils.USERS_PHOTO: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.USERS_PHOTO"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."USERS_PHOTO" 2022-04-22 10:56:35 normalization > 10:56:04.040088 [debug] [Thread-4 ]: On model.airbyte_utils.TICKETS_VIA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_VIA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_VIA__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:56:04.136411 [debug] [Thread-4 ]: SQL status: SUCCESS 7 in 0.08 seconds 2022-04-22 10:56:35 normalization > 10:56:04.137132 [debug] [Thread-5 ]: SQL status: SUCCESS 16 in 0.08 seconds 2022-04-22 10:56:35 normalization > 10:56:04.145163 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKETS_VIA" 2022-04-22 10:56:35 normalization > 10:56:04.148413 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.USERS_PHOTO" 2022-04-22 10:56:35 normalization > 10:56:04.148680 [debug] [Thread-4 ]: On model.airbyte_utils.TICKETS_VIA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_VIA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKETS_VIA" 2022-04-22 10:56:35 normalization > 10:56:04.148881 [debug] [Thread-5 ]: On model.airbyte_utils.USERS_PHOTO: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.USERS_PHOTO"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."USERS_PHOTO" 2022-04-22 10:56:35 normalization > 10:56:04.216999 [debug] [Thread-4 ]: SQL status: SUCCESS 7 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:56:04.219911 [debug] [Thread-4 ]: 2022-04-22 10:56:35 normalization > In "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKETS_VIA": 2022-04-22 10:56:35 normalization > Schema changed: False 2022-04-22 10:56:35 normalization > Source columns not in target: [] 2022-04-22 10:56:35 normalization > Target columns not in source: [] 2022-04-22 10:56:35 normalization > New column types: [] 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 10:56:04.221214 [debug] [Thread-4 ]: Writing runtime SQL for node "model.airbyte_utils.TICKETS_VIA" 2022-04-22 10:56:35 normalization > 10:56:04.221898 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKETS_VIA" 2022-04-22 10:56:35 normalization > 10:56:04.222030 [debug] [Thread-4 ]: On model.airbyte_utils.TICKETS_VIA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_VIA"} */ 2022-04-22 10:56:35 normalization > begin; 2022-04-22 10:56:35 normalization > 10:56:04.231475 [debug] [Thread-5 ]: SQL status: SUCCESS 1 in 0.08 seconds 2022-04-22 10:56:35 normalization > 10:56:04.240381 [debug] [Thread-5 ]: Writing injected SQL for node "model.airbyte_utils.USERS_PHOTO" 2022-04-22 10:56:35 normalization > 10:56:04.240749 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:04.240913 [debug] [Thread-5 ]: Began executing node model.airbyte_utils.USERS_PHOTO 2022-04-22 10:56:35 normalization > 10:56:04.248875 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.USERS_PHOTO" 2022-04-22 10:56:35 normalization > 10:56:04.249113 [debug] [Thread-5 ]: On model.airbyte_utils.USERS_PHOTO: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.USERS_PHOTO"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."USERS_PHOTO" 2022-04-22 10:56:35 normalization > 10:56:04.365593 [debug] [Thread-3 ]: SQL status: SUCCESS 2720 in 0.48 seconds 2022-04-22 10:56:35 normalization > 10:56:04.365959 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKETS_CUSTOM_FIELDS" 2022-04-22 10:56:35 normalization > 10:56:04.366117 [debug] [Thread-3 ]: On model.airbyte_utils.TICKETS_CUSTOM_FIELDS: commit; 2022-04-22 10:56:35 normalization > 10:56:04.370332 [debug] [Thread-4 ]: SQL status: SUCCESS 1 in 0.15 seconds 2022-04-22 10:56:35 normalization > 10:56:04.370580 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKETS_VIA" 2022-04-22 10:56:35 normalization > 10:56:04.370688 [debug] [Thread-4 ]: On model.airbyte_utils.TICKETS_VIA: insert into "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_VIA" ("_AIRBYTE_TICKETS_HASHID", "SOURCE", "CHANNEL", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_VIA_HASHID") 2022-04-22 10:56:35 normalization > ( 2022-04-22 10:56:35 normalization > select "_AIRBYTE_TICKETS_HASHID", "SOURCE", "CHANNEL", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_VIA_HASHID" 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_VIA__dbt_tmp" 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:56:04.387771 [debug] [Thread-5 ]: SQL status: SUCCESS 16 in 0.14 seconds 2022-04-22 10:56:35 normalization > 10:56:04.400739 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.USERS_PHOTO" 2022-04-22 10:56:35 normalization > 10:56:04.401028 [debug] [Thread-5 ]: On model.airbyte_utils.USERS_PHOTO: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.USERS_PHOTO"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace temporary table "AIRBYTE_DB".ZENDESK_SUPPORT."USERS_PHOTO__dbt_tmp" as 2022-04-22 10:56:35 normalization > (select * from( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > with __dbt__cte__USERS_PHOTO_AB1 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to parse JSON blob stored in a single column and extract into separated field columns as described by the JSON Schema 2022-04-22 10:56:35 normalization > -- depends_on: "AIRBYTE_DB".ZENDESK_SUPPORT."USERS_SCD" 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_USERS_HASHID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(PHOTO), '"id"')) as ID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(PHOTO), '"url"')) as URL, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(PHOTO), '"size"')) as SIZE, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(PHOTO), '"width"')) as WIDTH, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(PHOTO), '"height"')) as HEIGHT, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(PHOTO), '"inline"')) as INLINE, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(PHOTO), '"file_name"')) as FILE_NAME, 2022-04-22 10:56:35 normalization > get_path(parse_json(PHOTO), '"thumbnails"') as THUMBNAILS, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(PHOTO), '"content_url"')) as CONTENT_URL, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(PHOTO), '"content_type"')) as CONTENT_TYPE, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(PHOTO), '"mapped_content_url"')) as MAPPED_CONTENT_URL, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."USERS_SCD" as table_alias 2022-04-22 10:56:35 normalization > -- PHOTO at users/photo 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > and PHOTO is not null 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__USERS_PHOTO_AB2 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to cast each column to its adequate SQL type converted from the JSON schema type 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__USERS_PHOTO_AB1 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_USERS_HASHID, 2022-04-22 10:56:35 normalization > cast(ID as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as ID, 2022-04-22 10:56:35 normalization > cast(URL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as URL, 2022-04-22 10:56:35 normalization > cast(SIZE as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as SIZE, 2022-04-22 10:56:35 normalization > cast(WIDTH as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as WIDTH, 2022-04-22 10:56:35 normalization > cast(HEIGHT as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as HEIGHT, 2022-04-22 10:56:35 normalization > cast(INLINE as boolean) as INLINE, 2022-04-22 10:56:35 normalization > cast(FILE_NAME as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as FILE_NAME, 2022-04-22 10:56:35 normalization > THUMBNAILS, 2022-04-22 10:56:35 normalization > cast(CONTENT_URL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as CONTENT_URL, 2022-04-22 10:56:35 normalization > cast(CONTENT_TYPE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as CONTENT_TYPE, 2022-04-22 10:56:35 normalization > cast(MAPPED_CONTENT_URL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as MAPPED_CONTENT_URL, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from __dbt__cte__USERS_PHOTO_AB1 2022-04-22 10:56:35 normalization > -- PHOTO at users/photo 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__USERS_PHOTO_AB3 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to build a hash column based on the values of this record 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__USERS_PHOTO_AB2 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(_AIRBYTE_USERS_HASHID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(URL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(SIZE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(WIDTH as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(HEIGHT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(INLINE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(FILE_NAME as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(THUMBNAILS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(CONTENT_URL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(CONTENT_TYPE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(MAPPED_CONTENT_URL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_PHOTO_HASHID, 2022-04-22 10:56:35 normalization > tmp.* 2022-04-22 10:56:35 normalization > from __dbt__cte__USERS_PHOTO_AB2 tmp 2022-04-22 10:56:35 normalization > -- PHOTO at users/photo 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > )-- Final base SQL model 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__USERS_PHOTO_AB3 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_USERS_HASHID, 2022-04-22 10:56:35 normalization > ID, 2022-04-22 10:56:35 normalization > URL, 2022-04-22 10:56:35 normalization > SIZE, 2022-04-22 10:56:35 normalization > WIDTH, 2022-04-22 10:56:35 normalization > HEIGHT, 2022-04-22 10:56:35 normalization > INLINE, 2022-04-22 10:56:35 normalization > FILE_NAME, 2022-04-22 10:56:35 normalization > THUMBNAILS, 2022-04-22 10:56:35 normalization > CONTENT_URL, 2022-04-22 10:56:35 normalization > CONTENT_TYPE, 2022-04-22 10:56:35 normalization > MAPPED_CONTENT_URL, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_PHOTO_HASHID 2022-04-22 10:56:35 normalization > from __dbt__cte__USERS_PHOTO_AB3 2022-04-22 10:56:35 normalization > -- PHOTO at users/photo from "AIRBYTE_DB".ZENDESK_SUPPORT."USERS_SCD" 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > and cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) >= 2022-04-22 10:56:35 normalization > cast('2022-04-22 10:49:19.093000-07:00' as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ) order by (_AIRBYTE_EMITTED_AT) 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:56:04.468507 [debug] [Thread-1 ]: SQL status: SUCCESS 80 in 0.49 seconds 2022-04-22 10:56:35 normalization > 10:56:04.468811 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKETS_SATISFACTION_RATING" 2022-04-22 10:56:35 normalization > 10:56:04.468975 [debug] [Thread-1 ]: On model.airbyte_utils.TICKETS_SATISFACTION_RATING: commit; 2022-04-22 10:56:35 normalization > 10:56:04.571366 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 1.43 seconds 2022-04-22 10:56:35 normalization > 10:56:04.571687 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.SLA_POLICIES_FILTER_ALL" 2022-04-22 10:56:35 normalization > 10:56:04.571805 [debug] [Thread-2 ]: On model.airbyte_utils.SLA_POLICIES_FILTER_ALL: alter table "AIRBYTE_DB".ZENDESK_SUPPORT."SLA_POLICIES_FILTER_ALL" cluster by (_AIRBYTE_EMITTED_AT); 2022-04-22 10:56:35 normalization > 10:56:04.672073 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 0.31 seconds 2022-04-22 10:56:35 normalization > 10:56:04.675731 [debug] [Thread-3 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:04.675974 [debug] [Thread-3 ]: On model.airbyte_utils.TICKETS_CUSTOM_FIELDS: Close 2022-04-22 10:56:35 normalization > 10:56:04.714165 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 0.25 seconds 2022-04-22 10:56:35 normalization > 10:56:04.717701 [debug] [Thread-1 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:04.717963 [debug] [Thread-1 ]: On model.airbyte_utils.TICKETS_SATISFACTION_RATING: Close 2022-04-22 10:56:35 normalization > 10:56:04.762129 [debug] [Thread-4 ]: SQL status: SUCCESS 80 in 0.39 seconds 2022-04-22 10:56:35 normalization > 10:56:04.762423 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKETS_VIA" 2022-04-22 10:56:35 normalization > 10:56:04.762537 [debug] [Thread-4 ]: On model.airbyte_utils.TICKETS_VIA: commit; 2022-04-22 10:56:35 normalization > 10:56:04.792606 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 0.22 seconds 2022-04-22 10:56:35 normalization > 10:56:04.795952 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:04.796236 [debug] [Thread-2 ]: On model.airbyte_utils.SLA_POLICIES_FILTER_ALL: Close 2022-04-22 10:56:35 normalization > 10:56:04.803472 [info ] [Thread-3 ]: 55 of 95 OK created incremental model ZENDESK_SUPPORT.TICKETS_CUSTOM_FIELDS............................................. [SUCCESS 1 in 4.53s] 2022-04-22 10:56:35 normalization > 10:56:04.803952 [debug] [Thread-3 ]: Finished running node model.airbyte_utils.TICKETS_CUSTOM_FIELDS 2022-04-22 10:56:35 normalization > 10:56:04.804254 [debug] [Thread-3 ]: Began running node model.airbyte_utils.SLA_POLICIES_FILTER_ANY 2022-04-22 10:56:35 normalization > 10:56:04.805551 [info ] [Thread-3 ]: 67 of 95 START table model ZENDESK_SUPPORT.SLA_POLICIES_FILTER_ANY...................................................... [RUN] 2022-04-22 10:56:35 normalization > 10:56:04.806619 [debug] [Thread-3 ]: Acquiring new snowflake connection "model.airbyte_utils.SLA_POLICIES_FILTER_ANY" 2022-04-22 10:56:35 normalization > 10:56:04.806830 [debug] [Thread-3 ]: Began compiling node model.airbyte_utils.SLA_POLICIES_FILTER_ANY 2022-04-22 10:56:35 normalization > 10:56:04.806993 [debug] [Thread-3 ]: Compiling model.airbyte_utils.SLA_POLICIES_FILTER_ANY 2022-04-22 10:56:35 normalization > 10:56:04.816686 [debug] [Thread-3 ]: Writing injected SQL for node "model.airbyte_utils.SLA_POLICIES_FILTER_ANY" 2022-04-22 10:56:35 normalization > 10:56:04.817053 [debug] [Thread-3 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:04.817194 [debug] [Thread-3 ]: Began executing node model.airbyte_utils.SLA_POLICIES_FILTER_ANY 2022-04-22 10:56:35 normalization > 10:56:04.824872 [debug] [Thread-3 ]: Writing runtime SQL for node "model.airbyte_utils.SLA_POLICIES_FILTER_ANY" 2022-04-22 10:56:35 normalization > 10:56:04.831233 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.SLA_POLICIES_FILTER_ANY" 2022-04-22 10:56:35 normalization > 10:56:04.832506 [info ] [Thread-1 ]: 56 of 95 OK created incremental model ZENDESK_SUPPORT.TICKETS_SATISFACTION_RATING....................................... [SUCCESS 1 in 4.15s] 2022-04-22 10:56:35 normalization > 10:56:04.832694 [debug] [Thread-3 ]: On model.airbyte_utils.SLA_POLICIES_FILTER_ANY: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.SLA_POLICIES_FILTER_ANY"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace table "AIRBYTE_DB".ZENDESK_SUPPORT."SLA_POLICIES_FILTER_ANY" as 2022-04-22 10:56:35 normalization > (select * from( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > with __dbt__cte__SLA_POLICIES_FILTER_ANY_AB1 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to parse JSON blob stored in a single column and extract into separated field columns as described by the JSON Schema 2022-04-22 10:56:35 normalization > -- depends_on: "AIRBYTE_DB".ZENDESK_SUPPORT."SLA_POLICIES_FILTER" 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_FILTER_HASHID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json("any".value), '"field"')) as FIELD, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json("any".value), '"value"')) as VALUE, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json("any".value), '"operator"')) as OPERATOR, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."SLA_POLICIES_FILTER" as table_alias 2022-04-22 10:56:35 normalization > -- any at sla_policies/filter/any 2022-04-22 10:56:35 normalization > cross join table(flatten("any")) as "any" 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > and "any" is not null 2022-04-22 10:56:35 normalization > ), __dbt__cte__SLA_POLICIES_FILTER_ANY_AB2 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to cast each column to its adequate SQL type converted from the JSON schema type 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__SLA_POLICIES_FILTER_ANY_AB1 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_FILTER_HASHID, 2022-04-22 10:56:35 normalization > cast(FIELD as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as FIELD, 2022-04-22 10:56:35 normalization > cast(VALUE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as VALUE, 2022-04-22 10:56:35 normalization > cast(OPERATOR as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as OPERATOR, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from __dbt__cte__SLA_POLICIES_FILTER_ANY_AB1 2022-04-22 10:56:35 normalization > -- any at sla_policies/filter/any 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > ), __dbt__cte__SLA_POLICIES_FILTER_ANY_AB3 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to build a hash column based on the values of this record 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__SLA_POLICIES_FILTER_ANY_AB2 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(_AIRBYTE_FILTER_HASHID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(FIELD as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(VALUE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(OPERATOR as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_ANY_HASHID, 2022-04-22 10:56:35 normalization > tmp.* 2022-04-22 10:56:35 normalization > from __dbt__cte__SLA_POLICIES_FILTER_ANY_AB2 tmp 2022-04-22 10:56:35 normalization > -- any at sla_policies/filter/any 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > )-- Final base SQL model 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__SLA_POLICIES_FILTER_ANY_AB3 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_FILTER_HASHID, 2022-04-22 10:56:35 normalization > FIELD, 2022-04-22 10:56:35 normalization > VALUE, 2022-04-22 10:56:35 normalization > OPERATOR, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_ANY_HASHID 2022-04-22 10:56:35 normalization > from __dbt__cte__SLA_POLICIES_FILTER_ANY_AB3 2022-04-22 10:56:35 normalization > -- any at sla_policies/filter/any from "AIRBYTE_DB".ZENDESK_SUPPORT."SLA_POLICIES_FILTER" 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > ) order by (_AIRBYTE_EMITTED_AT) 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:56:04.834033 [debug] [Thread-3 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:56:04.834342 [debug] [Thread-1 ]: Finished running node model.airbyte_utils.TICKETS_SATISFACTION_RATING 2022-04-22 10:56:35 normalization > 10:56:04.836734 [debug] [Thread-1 ]: Began running node model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS 2022-04-22 10:56:35 normalization > 10:56:04.837911 [info ] [Thread-1 ]: 68 of 95 START incremental model ZENDESK_SUPPORT.TICKET_AUDITS_METADATA_FLAGS_OPTIONS................................... [RUN] 2022-04-22 10:56:35 normalization > 10:56:04.838678 [debug] [Thread-1 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS" 2022-04-22 10:56:35 normalization > 10:56:04.838879 [debug] [Thread-1 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS 2022-04-22 10:56:35 normalization > 10:56:04.839011 [debug] [Thread-1 ]: Compiling model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS 2022-04-22 10:56:35 normalization > 10:56:04.856003 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS" 2022-04-22 10:56:35 normalization > 10:56:04.856402 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA_FLAGS_OPTIONS" 2022-04-22 10:56:35 normalization > 10:56:04.856654 [debug] [Thread-1 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:56:04.921753 [info ] [Thread-2 ]: 66 of 95 OK created table model ZENDESK_SUPPORT.SLA_POLICIES_FILTER_ALL................................................. [SUCCESS 1 in 1.83s] 2022-04-22 10:56:35 normalization > 10:56:04.947653 [debug] [Thread-2 ]: Finished running node model.airbyte_utils.SLA_POLICIES_FILTER_ALL 2022-04-22 10:56:35 normalization > 10:56:04.959478 [debug] [Thread-2 ]: Began running node model.airbyte_utils.TICKET_AUDITS_METADATA_SYSTEM 2022-04-22 10:56:35 normalization > 10:56:04.960210 [info ] [Thread-2 ]: 69 of 95 START incremental model ZENDESK_SUPPORT.TICKET_AUDITS_METADATA_SYSTEM.......................................... [RUN] 2022-04-22 10:56:35 normalization > 10:56:04.983433 [debug] [Thread-4 ]: SQL status: SUCCESS 1 in 0.22 seconds 2022-04-22 10:56:35 normalization > 10:56:04.987084 [debug] [Thread-4 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:04.992585 [debug] [Thread-4 ]: On model.airbyte_utils.TICKETS_VIA: Close 2022-04-22 10:56:35 normalization > 10:56:05.010222 [debug] [Thread-2 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_SYSTEM" 2022-04-22 10:56:35 normalization > 10:56:05.037435 [debug] [Thread-2 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS_METADATA_SYSTEM 2022-04-22 10:56:35 normalization > 10:56:05.043033 [debug] [Thread-2 ]: Compiling model.airbyte_utils.TICKET_AUDITS_METADATA_SYSTEM 2022-04-22 10:56:35 normalization > 10:56:05.073890 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_SYSTEM" 2022-04-22 10:56:35 normalization > 10:56:05.101480 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA_SYSTEM: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_METADATA_SYSTEM"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA_SYSTEM" 2022-04-22 10:56:35 normalization > 10:56:05.107301 [debug] [Thread-2 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:56:05.227200 [info ] [Thread-4 ]: 64 of 95 OK created incremental model ZENDESK_SUPPORT.TICKETS_VIA....................................................... [SUCCESS 1 in 3.89s] 2022-04-22 10:56:35 normalization > 10:56:05.228464 [debug] [Thread-4 ]: Finished running node model.airbyte_utils.TICKETS_VIA 2022-04-22 10:56:35 normalization > 10:56:05.229135 [debug] [Thread-4 ]: Began running node model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_AB3 2022-04-22 10:56:35 normalization > 10:56:05.247167 [debug] [Thread-4 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_AB3" 2022-04-22 10:56:35 normalization > 10:56:05.264751 [debug] [Thread-4 ]: Began compiling node model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_AB3 2022-04-22 10:56:35 normalization > 10:56:05.265340 [debug] [Thread-4 ]: Compiling model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_AB3 2022-04-22 10:56:35 normalization > 10:56:05.294281 [debug] [Thread-4 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_AB3" 2022-04-22 10:56:35 normalization > 10:56:05.313389 [debug] [Thread-4 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:05.314962 [debug] [Thread-4 ]: Finished running node model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_AB3 2022-04-22 10:56:35 normalization > 10:56:05.315835 [debug] [Thread-4 ]: Began running node model.airbyte_utils.TICKET_COMMENTS_METADATA_SYSTEM_AB3 2022-04-22 10:56:35 normalization > 10:56:05.318467 [debug] [Thread-4 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_SYSTEM_AB3" 2022-04-22 10:56:35 normalization > 10:56:05.324152 [debug] [Thread-4 ]: Began compiling node model.airbyte_utils.TICKET_COMMENTS_METADATA_SYSTEM_AB3 2022-04-22 10:56:35 normalization > 10:56:05.324669 [debug] [Thread-4 ]: Compiling model.airbyte_utils.TICKET_COMMENTS_METADATA_SYSTEM_AB3 2022-04-22 10:56:35 normalization > 10:56:05.382156 [debug] [Thread-4 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_COMMENTS_METADATA_SYSTEM_AB3" 2022-04-22 10:56:35 normalization > 10:56:05.383000 [debug] [Thread-4 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:05.384122 [debug] [Thread-4 ]: Finished running node model.airbyte_utils.TICKET_COMMENTS_METADATA_SYSTEM_AB3 2022-04-22 10:56:35 normalization > 10:56:05.421015 [debug] [Thread-4 ]: Began running node model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS 2022-04-22 10:56:35 normalization > 10:56:05.428958 [info ] [Thread-4 ]: 70 of 95 START incremental model ZENDESK_SUPPORT.TICKET_AUDITS_EVENTS_ATTACHMENTS....................................... [RUN] 2022-04-22 10:56:35 normalization > 10:56:05.445777 [debug] [Thread-4 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS" 2022-04-22 10:56:35 normalization > 10:56:05.457725 [debug] [Thread-4 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS 2022-04-22 10:56:35 normalization > 10:56:05.463433 [debug] [Thread-4 ]: Compiling model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS 2022-04-22 10:56:35 normalization > 10:56:05.499637 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS" 2022-04-22 10:56:35 normalization > 10:56:05.515954 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_ATTACHMENTS" 2022-04-22 10:56:35 normalization > 10:56:05.526584 [debug] [Thread-4 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:56:05.577218 [debug] [Thread-5 ]: SQL status: SUCCESS 1 in 1.18 seconds 2022-04-22 10:56:35 normalization > 10:56:05.588319 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.USERS_PHOTO" 2022-04-22 10:56:35 normalization > 10:56:05.593949 [debug] [Thread-5 ]: On model.airbyte_utils.USERS_PHOTO: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.USERS_PHOTO"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."USERS_PHOTO__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:56:05.742301 [debug] [Thread-5 ]: SQL status: SUCCESS 16 in 0.11 seconds 2022-04-22 10:56:35 normalization > 10:56:05.763905 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.USERS_PHOTO" 2022-04-22 10:56:35 normalization > 10:56:05.764612 [debug] [Thread-5 ]: On model.airbyte_utils.USERS_PHOTO: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.USERS_PHOTO"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."USERS_PHOTO" 2022-04-22 10:56:35 normalization > 10:56:05.833435 [debug] [Thread-5 ]: SQL status: SUCCESS 16 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:56:05.847569 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.USERS_PHOTO" 2022-04-22 10:56:35 normalization > 10:56:05.848406 [debug] [Thread-5 ]: On model.airbyte_utils.USERS_PHOTO: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.USERS_PHOTO"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."USERS_PHOTO__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:56:05.936879 [debug] [Thread-5 ]: SQL status: SUCCESS 16 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:56:05.943343 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.USERS_PHOTO" 2022-04-22 10:56:35 normalization > 10:56:05.949877 [debug] [Thread-5 ]: On model.airbyte_utils.USERS_PHOTO: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.USERS_PHOTO"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"."ZENDESK_SUPPORT"."USERS_PHOTO" 2022-04-22 10:56:35 normalization > 10:56:06.016977 [debug] [Thread-5 ]: SQL status: SUCCESS 16 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:56:06.027933 [debug] [Thread-5 ]: 2022-04-22 10:56:35 normalization > In "AIRBYTE_DB"."ZENDESK_SUPPORT"."USERS_PHOTO": 2022-04-22 10:56:35 normalization > Schema changed: False 2022-04-22 10:56:35 normalization > Source columns not in target: [] 2022-04-22 10:56:35 normalization > Target columns not in source: [] 2022-04-22 10:56:35 normalization > New column types: [] 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 10:56:06.031867 [debug] [Thread-5 ]: Writing runtime SQL for node "model.airbyte_utils.USERS_PHOTO" 2022-04-22 10:56:35 normalization > 10:56:06.034163 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.USERS_PHOTO" 2022-04-22 10:56:35 normalization > 10:56:06.034405 [debug] [Thread-5 ]: On model.airbyte_utils.USERS_PHOTO: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.USERS_PHOTO"} */ 2022-04-22 10:56:35 normalization > begin; 2022-04-22 10:56:35 normalization > 10:56:06.125850 [debug] [Thread-5 ]: SQL status: SUCCESS 1 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:56:06.126555 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.USERS_PHOTO" 2022-04-22 10:56:35 normalization > 10:56:06.126831 [debug] [Thread-5 ]: On model.airbyte_utils.USERS_PHOTO: insert into "AIRBYTE_DB".ZENDESK_SUPPORT."USERS_PHOTO" ("_AIRBYTE_USERS_HASHID", "ID", "URL", "SIZE", "WIDTH", "HEIGHT", "INLINE", "FILE_NAME", "THUMBNAILS", "CONTENT_URL", "CONTENT_TYPE", "MAPPED_CONTENT_URL", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_PHOTO_HASHID") 2022-04-22 10:56:35 normalization > ( 2022-04-22 10:56:35 normalization > select "_AIRBYTE_USERS_HASHID", "ID", "URL", "SIZE", "WIDTH", "HEIGHT", "INLINE", "FILE_NAME", "THUMBNAILS", "CONTENT_URL", "CONTENT_TYPE", "MAPPED_CONTENT_URL", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_PHOTO_HASHID" 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."USERS_PHOTO__dbt_tmp" 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:56:06.491371 [debug] [Thread-1 ]: SQL status: SUCCESS 7 in 1.63 seconds 2022-04-22 10:56:35 normalization > 10:56:06.492127 [debug] [Thread-4 ]: SQL status: SUCCESS 16 in 0.97 seconds 2022-04-22 10:56:35 normalization > 10:56:06.507883 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS" 2022-04-22 10:56:35 normalization > 10:56:06.521364 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS" 2022-04-22 10:56:35 normalization > 10:56:06.521665 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA_FLAGS_OPTIONS" 2022-04-22 10:56:35 normalization > 10:56:06.521938 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_ATTACHMENTS" 2022-04-22 10:56:35 normalization > 10:56:06.585519 [debug] [Thread-4 ]: SQL status: SUCCESS 16 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:56:06.586808 [debug] [Thread-2 ]: SQL status: SUCCESS 13 in 1.48 seconds 2022-04-22 10:56:35 normalization > 10:56:06.590317 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS" 2022-04-22 10:56:35 normalization > 10:56:06.600712 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_SYSTEM" 2022-04-22 10:56:35 normalization > 10:56:06.600940 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_ATTACHMENTS" 2022-04-22 10:56:35 normalization > 10:56:06.601171 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA_SYSTEM: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_METADATA_SYSTEM"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA_SYSTEM" 2022-04-22 10:56:35 normalization > 10:56:06.677577 [debug] [Thread-1 ]: SQL status: SUCCESS 7 in 0.16 seconds 2022-04-22 10:56:35 normalization > 10:56:06.680321 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS" 2022-04-22 10:56:35 normalization > 10:56:06.680514 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA_FLAGS_OPTIONS" 2022-04-22 10:56:35 normalization > 10:56:06.695275 [debug] [Thread-5 ]: SQL status: SUCCESS 250 in 0.57 seconds 2022-04-22 10:56:35 normalization > 10:56:06.695550 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.USERS_PHOTO" 2022-04-22 10:56:35 normalization > 10:56:06.695663 [debug] [Thread-5 ]: On model.airbyte_utils.USERS_PHOTO: commit; 2022-04-22 10:56:35 normalization > 10:56:06.716450 [debug] [Thread-2 ]: SQL status: SUCCESS 13 in 0.11 seconds 2022-04-22 10:56:35 normalization > 10:56:06.719541 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_SYSTEM" 2022-04-22 10:56:35 normalization > 10:56:06.719784 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA_SYSTEM: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_METADATA_SYSTEM"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA_SYSTEM" 2022-04-22 10:56:35 normalization > 10:56:06.902217 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 0.22 seconds 2022-04-22 10:56:35 normalization > 10:56:06.912536 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS" 2022-04-22 10:56:35 normalization > 10:56:06.912795 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA_FLAGS_OPTIONS" 2022-04-22 10:56:35 normalization > 10:56:06.929225 [debug] [Thread-5 ]: SQL status: SUCCESS 1 in 0.23 seconds 2022-04-22 10:56:35 normalization > 10:56:06.933037 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:06.933334 [debug] [Thread-5 ]: On model.airbyte_utils.USERS_PHOTO: Close 2022-04-22 10:56:35 normalization > 10:56:06.959009 [debug] [Thread-1 ]: SQL status: SUCCESS 7 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:56:06.961934 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS" 2022-04-22 10:56:35 normalization > 10:56:06.962123 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA_FLAGS_OPTIONS" 2022-04-22 10:56:35 normalization > 10:56:07.026336 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:56:07.033790 [info ] [Thread-5 ]: 65 of 95 OK created incremental model ZENDESK_SUPPORT.USERS_PHOTO....................................................... [SUCCESS 1 in 5.12s] 2022-04-22 10:56:35 normalization > 10:56:07.035516 [debug] [Thread-1 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS" 2022-04-22 10:56:35 normalization > 10:56:07.036347 [debug] [Thread-5 ]: Finished running node model.airbyte_utils.USERS_PHOTO 2022-04-22 10:56:35 normalization > 10:56:07.036656 [debug] [Thread-5 ]: Began running node model.airbyte_utils.TICKET_AUDITS_EVENTS_DATA 2022-04-22 10:56:35 normalization > 10:56:07.037473 [info ] [Thread-5 ]: 71 of 95 START incremental model ZENDESK_SUPPORT.TICKET_AUDITS_EVENTS_DATA.............................................. [RUN] 2022-04-22 10:56:35 normalization > 10:56:07.038517 [debug] [Thread-5 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_DATA" 2022-04-22 10:56:35 normalization > 10:56:07.038836 [debug] [Thread-5 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS_EVENTS_DATA 2022-04-22 10:56:35 normalization > 10:56:07.039035 [debug] [Thread-5 ]: Compiling model.airbyte_utils.TICKET_AUDITS_EVENTS_DATA 2022-04-22 10:56:35 normalization > 10:56:07.044457 [debug] [Thread-1 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:07.054599 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_DATA" 2022-04-22 10:56:35 normalization > 10:56:07.054921 [debug] [Thread-1 ]: Began executing node model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS 2022-04-22 10:56:35 normalization > 10:56:07.055162 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_DATA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_DATA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_DATA" 2022-04-22 10:56:35 normalization > 10:56:07.063098 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS" 2022-04-22 10:56:35 normalization > 10:56:07.064016 [debug] [Thread-5 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:56:07.064619 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 2.23 seconds 2022-04-22 10:56:35 normalization > 10:56:07.064839 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA_FLAGS_OPTIONS" 2022-04-22 10:56:35 normalization > 10:56:07.067163 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.SLA_POLICIES_FILTER_ANY" 2022-04-22 10:56:35 normalization > 10:56:07.069346 [debug] [Thread-3 ]: On model.airbyte_utils.SLA_POLICIES_FILTER_ANY: alter table "AIRBYTE_DB".ZENDESK_SUPPORT."SLA_POLICIES_FILTER_ANY" cluster by (_AIRBYTE_EMITTED_AT); 2022-04-22 10:56:35 normalization > 10:56:07.136592 [debug] [Thread-1 ]: SQL status: SUCCESS 7 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:56:07.175142 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS" 2022-04-22 10:56:35 normalization > 10:56:07.180639 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace temporary table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA_FLAGS_OPTIONS__dbt_tmp" as 2022-04-22 10:56:35 normalization > (select * from( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > with __dbt__cte__TICKET_AUDITS_METADATA_FLAGS_OPTIONS_AB1 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to parse JSON blob stored in a single column and extract into separated field columns as described by the JSON Schema 2022-04-22 10:56:35 normalization > -- depends_on: "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA" 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_METADATA_HASHID, 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > get_path(parse_json(table_alias.FLAGS_OPTIONS), '"2"') 2022-04-22 10:56:35 normalization > as "2", 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > get_path(parse_json(table_alias.FLAGS_OPTIONS), '"11"') 2022-04-22 10:56:35 normalization > as "11", 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA" as table_alias 2022-04-22 10:56:35 normalization > -- FLAGS_OPTIONS at ticket_audits/metadata/flags_options 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > and FLAGS_OPTIONS is not null 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKET_AUDITS_METADATA_FLAGS_OPTIONS_AB2 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to cast each column to its adequate SQL type converted from the JSON schema type 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_AUDITS_METADATA_FLAGS_OPTIONS_AB1 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_METADATA_HASHID, 2022-04-22 10:56:35 normalization > cast("2" as 2022-04-22 10:56:35 normalization > variant 2022-04-22 10:56:35 normalization > ) as "2", 2022-04-22 10:56:35 normalization > cast("11" as 2022-04-22 10:56:35 normalization > variant 2022-04-22 10:56:35 normalization > ) as "11", 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_AUDITS_METADATA_FLAGS_OPTIONS_AB1 2022-04-22 10:56:35 normalization > -- FLAGS_OPTIONS at ticket_audits/metadata/flags_options 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKET_AUDITS_METADATA_FLAGS_OPTIONS_AB3 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to build a hash column based on the values of this record 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_AUDITS_METADATA_FLAGS_OPTIONS_AB2 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(_AIRBYTE_METADATA_HASHID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast("2" as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast("11" as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_FLAGS_OPTIONS_HASHID, 2022-04-22 10:56:35 normalization > tmp.* 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_AUDITS_METADATA_FLAGS_OPTIONS_AB2 tmp 2022-04-22 10:56:35 normalization > -- FLAGS_OPTIONS at ticket_audits/metadata/flags_options 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > )-- Final base SQL model 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_AUDITS_METADATA_FLAGS_OPTIONS_AB3 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_METADATA_HASHID, 2022-04-22 10:56:35 normalization > "2", 2022-04-22 10:56:35 normalization > "11", 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_FLAGS_OPTIONS_HASHID 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_AUDITS_METADATA_FLAGS_OPTIONS_AB3 2022-04-22 10:56:35 normalization > -- FLAGS_OPTIONS at ticket_audits/metadata/flags_options from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA" 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > and cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) >= 2022-04-22 10:56:35 normalization > cast('2022-04-21 22:53:36.552000-07:00' as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ) order by (_AIRBYTE_EMITTED_AT) 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:56:07.192510 [debug] [Thread-4 ]: SQL status: SUCCESS 1 in 0.59 seconds 2022-04-22 10:56:35 normalization > 10:56:07.217485 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 0.15 seconds 2022-04-22 10:56:35 normalization > 10:56:07.239308 [debug] [Thread-3 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:07.239793 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS" 2022-04-22 10:56:35 normalization > 10:56:07.241647 [debug] [Thread-3 ]: On model.airbyte_utils.SLA_POLICIES_FILTER_ANY: Close 2022-04-22 10:56:35 normalization > 10:56:07.243640 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_ATTACHMENTS" 2022-04-22 10:56:35 normalization > 10:56:07.268784 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 0.55 seconds 2022-04-22 10:56:35 normalization > 10:56:07.306242 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_SYSTEM" 2022-04-22 10:56:35 normalization > 10:56:07.308968 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA_SYSTEM: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_METADATA_SYSTEM"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA_SYSTEM" 2022-04-22 10:56:35 normalization > 10:56:07.334418 [debug] [Thread-4 ]: SQL status: SUCCESS 16 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:56:07.337710 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS" 2022-04-22 10:56:35 normalization > 10:56:07.337992 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_ATTACHMENTS" 2022-04-22 10:56:35 normalization > 10:56:07.373394 [debug] [Thread-2 ]: SQL status: SUCCESS 13 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:56:07.380172 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_SYSTEM" 2022-04-22 10:56:35 normalization > 10:56:07.382640 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA_SYSTEM: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_METADATA_SYSTEM"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA_SYSTEM" 2022-04-22 10:56:35 normalization > 10:56:07.394421 [info ] [Thread-3 ]: 67 of 95 OK created table model ZENDESK_SUPPORT.SLA_POLICIES_FILTER_ANY................................................. [SUCCESS 1 in 2.59s] 2022-04-22 10:56:35 normalization > 10:56:07.394852 [debug] [Thread-3 ]: Finished running node model.airbyte_utils.SLA_POLICIES_FILTER_ANY 2022-04-22 10:56:35 normalization > 10:56:07.395184 [debug] [Thread-3 ]: Began running node model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA 2022-04-22 10:56:35 normalization > 10:56:07.395762 [info ] [Thread-3 ]: 72 of 95 START incremental model ZENDESK_SUPPORT.TICKET_AUDITS_EVENTS_VIA............................................... [RUN] 2022-04-22 10:56:35 normalization > 10:56:07.397105 [debug] [Thread-4 ]: SQL status: SUCCESS 1 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:56:07.397562 [debug] [Thread-3 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA" 2022-04-22 10:56:35 normalization > 10:56:07.402948 [debug] [Thread-3 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA 2022-04-22 10:56:35 normalization > 10:56:07.407922 [debug] [Thread-4 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS" 2022-04-22 10:56:35 normalization > 10:56:07.408137 [debug] [Thread-3 ]: Compiling model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA 2022-04-22 10:56:35 normalization > 10:56:07.409761 [debug] [Thread-4 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:07.414791 [debug] [Thread-4 ]: Began executing node model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS 2022-04-22 10:56:35 normalization > 10:56:07.419733 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS" 2022-04-22 10:56:35 normalization > 10:56:07.419911 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_ATTACHMENTS" 2022-04-22 10:56:35 normalization > 10:56:07.619808 [debug] [Thread-4 ]: SQL status: SUCCESS 16 in 0.2 seconds 2022-04-22 10:56:35 normalization > 10:56:07.620462 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 0.24 seconds 2022-04-22 10:56:35 normalization > 10:56:07.643355 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS" 2022-04-22 10:56:35 normalization > 10:56:07.647190 [debug] [Thread-2 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS_METADATA_SYSTEM" 2022-04-22 10:56:35 normalization > 10:56:07.662412 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA" 2022-04-22 10:56:35 normalization > 10:56:07.662904 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace temporary table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_ATTACHMENTS__dbt_tmp" as 2022-04-22 10:56:35 normalization > (select * from( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > with __dbt__cte__TICKET_AUDITS_EVENTS_ATTACHMENTS_AB1 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to parse JSON blob stored in a single column and extract into separated field columns as described by the JSON Schema 2022-04-22 10:56:35 normalization > -- depends_on: "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS" 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_EVENTS_HASHID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(ATTACHMENTS.value), '"id"')) as ID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(ATTACHMENTS.value), '"url"')) as URL, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(ATTACHMENTS.value), '"size"')) as SIZE, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(ATTACHMENTS.value), '"width"')) as WIDTH, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(ATTACHMENTS.value), '"height"')) as HEIGHT, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(ATTACHMENTS.value), '"inline"')) as INLINE, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(ATTACHMENTS.value), '"file_name"')) as FILE_NAME, 2022-04-22 10:56:35 normalization > get_path(parse_json(ATTACHMENTS.value), '"thumbnails"') as THUMBNAILS, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(ATTACHMENTS.value), '"content_url"')) as CONTENT_URL, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(ATTACHMENTS.value), '"content_type"')) as CONTENT_TYPE, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(ATTACHMENTS.value), '"mapped_content_url"')) as MAPPED_CONTENT_URL, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS" as table_alias 2022-04-22 10:56:35 normalization > -- ATTACHMENTS at ticket_audits/events/attachments 2022-04-22 10:56:35 normalization > cross join table(flatten(ATTACHMENTS)) as ATTACHMENTS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > and ATTACHMENTS is not null 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKET_AUDITS_EVENTS_ATTACHMENTS_AB2 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to cast each column to its adequate SQL type converted from the JSON schema type 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_AUDITS_EVENTS_ATTACHMENTS_AB1 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_EVENTS_HASHID, 2022-04-22 10:56:35 normalization > cast(ID as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as ID, 2022-04-22 10:56:35 normalization > cast(URL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as URL, 2022-04-22 10:56:35 normalization > cast(SIZE as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as SIZE, 2022-04-22 10:56:35 normalization > cast(WIDTH as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as WIDTH, 2022-04-22 10:56:35 normalization > cast(HEIGHT as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as HEIGHT, 2022-04-22 10:56:35 normalization > cast(INLINE as boolean) as INLINE, 2022-04-22 10:56:35 normalization > cast(FILE_NAME as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as FILE_NAME, 2022-04-22 10:56:35 normalization > THUMBNAILS, 2022-04-22 10:56:35 normalization > cast(CONTENT_URL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as CONTENT_URL, 2022-04-22 10:56:35 normalization > cast(CONTENT_TYPE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as CONTENT_TYPE, 2022-04-22 10:56:35 normalization > cast(MAPPED_CONTENT_URL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as MAPPED_CONTENT_URL, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_AUDITS_EVENTS_ATTACHMENTS_AB1 2022-04-22 10:56:35 normalization > -- ATTACHMENTS at ticket_audits/events/attachments 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKET_AUDITS_EVENTS_ATTACHMENTS_AB3 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to build a hash column based on the values of this record 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_AUDITS_EVENTS_ATTACHMENTS_AB2 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(_AIRBYTE_EVENTS_HASHID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(URL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(SIZE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(WIDTH as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(HEIGHT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(INLINE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(FILE_NAME as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(THUMBNAILS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(CONTENT_URL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(CONTENT_TYPE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(MAPPED_CONTENT_URL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_ATTACHMENTS_HASHID, 2022-04-22 10:56:35 normalization > tmp.* 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_AUDITS_EVENTS_ATTACHMENTS_AB2 tmp 2022-04-22 10:56:35 normalization > -- ATTACHMENTS at ticket_audits/events/attachments 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > )-- Final base SQL model 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_AUDITS_EVENTS_ATTACHMENTS_AB3 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_EVENTS_HASHID, 2022-04-22 10:56:35 normalization > ID, 2022-04-22 10:56:35 normalization > URL, 2022-04-22 10:56:35 normalization > SIZE, 2022-04-22 10:56:35 normalization > WIDTH, 2022-04-22 10:56:35 normalization > HEIGHT, 2022-04-22 10:56:35 normalization > INLINE, 2022-04-22 10:56:35 normalization > FILE_NAME, 2022-04-22 10:56:35 normalization > THUMBNAILS, 2022-04-22 10:56:35 normalization > CONTENT_URL, 2022-04-22 10:56:35 normalization > CONTENT_TYPE, 2022-04-22 10:56:35 normalization > MAPPED_CONTENT_URL, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_ATTACHMENTS_HASHID 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_AUDITS_EVENTS_ATTACHMENTS_AB3 2022-04-22 10:56:35 normalization > -- ATTACHMENTS at ticket_audits/events/attachments from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS" 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > and cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) >= 2022-04-22 10:56:35 normalization > cast('2022-04-22 10:47:49.697000-07:00' as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ) order by (_AIRBYTE_EMITTED_AT) 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:56:07.663493 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_VIA" 2022-04-22 10:56:35 normalization > 10:56:07.663948 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:07.667083 [debug] [Thread-3 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:56:07.667359 [debug] [Thread-2 ]: Began executing node model.airbyte_utils.TICKET_AUDITS_METADATA_SYSTEM 2022-04-22 10:56:35 normalization > 10:56:07.674984 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_SYSTEM" 2022-04-22 10:56:35 normalization > 10:56:07.675178 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA_SYSTEM: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_METADATA_SYSTEM"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA_SYSTEM" 2022-04-22 10:56:35 normalization > 10:56:07.729940 [debug] [Thread-2 ]: SQL status: SUCCESS 13 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:56:07.742952 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_SYSTEM" 2022-04-22 10:56:35 normalization > 10:56:07.760315 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA_SYSTEM: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_METADATA_SYSTEM"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace temporary table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA_SYSTEM__dbt_tmp" as 2022-04-22 10:56:35 normalization > (select * from( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > with __dbt__cte__TICKET_AUDITS_METADATA_SYSTEM_AB1 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to parse JSON blob stored in a single column and extract into separated field columns as described by the JSON Schema 2022-04-22 10:56:35 normalization > -- depends_on: "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA" 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_METADATA_HASHID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(SYSTEM), '"client"')) as CLIENT, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(SYSTEM), '"latitude"')) as LATITUDE, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(SYSTEM), '"location"')) as LOCATION, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(SYSTEM), '"longitude"')) as LONGITUDE, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(SYSTEM), '"ip_address"')) as IP_ADDRESS, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(SYSTEM), '"message_id"')) as MESSAGE_ID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(SYSTEM), '"raw_email_identifier"')) as RAW_EMAIL_IDENTIFIER, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(SYSTEM), '"json_email_identifier"')) as JSON_EMAIL_IDENTIFIER, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA" as table_alias 2022-04-22 10:56:35 normalization > -- SYSTEM at ticket_audits/metadata/system 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > and SYSTEM is not null 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKET_AUDITS_METADATA_SYSTEM_AB2 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to cast each column to its adequate SQL type converted from the JSON schema type 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_AUDITS_METADATA_SYSTEM_AB1 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_METADATA_HASHID, 2022-04-22 10:56:35 normalization > cast(CLIENT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as CLIENT, 2022-04-22 10:56:35 normalization > cast(LATITUDE as 2022-04-22 10:56:35 normalization > float 2022-04-22 10:56:35 normalization > ) as LATITUDE, 2022-04-22 10:56:35 normalization > cast(LOCATION as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as LOCATION, 2022-04-22 10:56:35 normalization > cast(LONGITUDE as 2022-04-22 10:56:35 normalization > float 2022-04-22 10:56:35 normalization > ) as LONGITUDE, 2022-04-22 10:56:35 normalization > cast(IP_ADDRESS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as IP_ADDRESS, 2022-04-22 10:56:35 normalization > cast(MESSAGE_ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as MESSAGE_ID, 2022-04-22 10:56:35 normalization > cast(RAW_EMAIL_IDENTIFIER as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as RAW_EMAIL_IDENTIFIER, 2022-04-22 10:56:35 normalization > cast(JSON_EMAIL_IDENTIFIER as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as JSON_EMAIL_IDENTIFIER, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_AUDITS_METADATA_SYSTEM_AB1 2022-04-22 10:56:35 normalization > -- SYSTEM at ticket_audits/metadata/system 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKET_AUDITS_METADATA_SYSTEM_AB3 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to build a hash column based on the values of this record 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_AUDITS_METADATA_SYSTEM_AB2 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(_AIRBYTE_METADATA_HASHID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(CLIENT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(LATITUDE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(LOCATION as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(LONGITUDE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(IP_ADDRESS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(MESSAGE_ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(RAW_EMAIL_IDENTIFIER as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(JSON_EMAIL_IDENTIFIER as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_SYSTEM_HASHID, 2022-04-22 10:56:35 normalization > tmp.* 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_AUDITS_METADATA_SYSTEM_AB2 tmp 2022-04-22 10:56:35 normalization > -- SYSTEM at ticket_audits/metadata/system 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > )-- Final base SQL model 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_AUDITS_METADATA_SYSTEM_AB3 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_METADATA_HASHID, 2022-04-22 10:56:35 normalization > CLIENT, 2022-04-22 10:56:35 normalization > LATITUDE, 2022-04-22 10:56:35 normalization > LOCATION, 2022-04-22 10:56:35 normalization > LONGITUDE, 2022-04-22 10:56:35 normalization > IP_ADDRESS, 2022-04-22 10:56:35 normalization > MESSAGE_ID, 2022-04-22 10:56:35 normalization > RAW_EMAIL_IDENTIFIER, 2022-04-22 10:56:35 normalization > JSON_EMAIL_IDENTIFIER, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_SYSTEM_HASHID 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_AUDITS_METADATA_SYSTEM_AB3 2022-04-22 10:56:35 normalization > -- SYSTEM at ticket_audits/metadata/system from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA" 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > and cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) >= 2022-04-22 10:56:35 normalization > cast('2022-04-22 10:47:49.699000-07:00' as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ) order by (_AIRBYTE_EMITTED_AT) 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:56:07.892752 [debug] [Thread-5 ]: SQL status: SUCCESS 14 in 0.83 seconds 2022-04-22 10:56:35 normalization > 10:56:07.920253 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_DATA" 2022-04-22 10:56:35 normalization > 10:56:07.935985 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_DATA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_DATA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_DATA" 2022-04-22 10:56:35 normalization > 10:56:08.005051 [debug] [Thread-5 ]: SQL status: SUCCESS 14 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:56:08.014887 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_DATA" 2022-04-22 10:56:35 normalization > 10:56:08.015883 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_DATA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_DATA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_DATA" 2022-04-22 10:56:35 normalization > 10:56:08.017480 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 0.8 seconds 2022-04-22 10:56:35 normalization > 10:56:08.025114 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS" 2022-04-22 10:56:35 normalization > 10:56:08.025722 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA_FLAGS_OPTIONS__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:56:08.100028 [debug] [Thread-1 ]: SQL status: SUCCESS 7 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:56:08.104748 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS" 2022-04-22 10:56:35 normalization > 10:56:08.105007 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA_FLAGS_OPTIONS" 2022-04-22 10:56:35 normalization > 10:56:08.176386 [debug] [Thread-1 ]: SQL status: SUCCESS 7 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:56:08.181133 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS" 2022-04-22 10:56:35 normalization > 10:56:08.181353 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA_FLAGS_OPTIONS__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:56:08.234731 [debug] [Thread-3 ]: SQL status: SUCCESS 7 in 0.57 seconds 2022-04-22 10:56:35 normalization > 10:56:08.244926 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA" 2022-04-22 10:56:35 normalization > 10:56:08.245310 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_VIA" 2022-04-22 10:56:35 normalization > 10:56:08.246975 [debug] [Thread-1 ]: SQL status: SUCCESS 7 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:56:08.252468 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS" 2022-04-22 10:56:35 normalization > 10:56:08.253249 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_AUDITS_METADATA_FLAGS_OPTIONS" 2022-04-22 10:56:35 normalization > 10:56:08.307140 [debug] [Thread-1 ]: SQL status: SUCCESS 7 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:56:08.309877 [debug] [Thread-1 ]: 2022-04-22 10:56:35 normalization > In "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_AUDITS_METADATA_FLAGS_OPTIONS": 2022-04-22 10:56:35 normalization > Schema changed: False 2022-04-22 10:56:35 normalization > Source columns not in target: [] 2022-04-22 10:56:35 normalization > Target columns not in source: [] 2022-04-22 10:56:35 normalization > New column types: [] 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 10:56:08.310942 [debug] [Thread-1 ]: Writing runtime SQL for node "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS" 2022-04-22 10:56:35 normalization > 10:56:08.311682 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS" 2022-04-22 10:56:35 normalization > 10:56:08.311823 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS"} */ 2022-04-22 10:56:35 normalization > begin; 2022-04-22 10:56:35 normalization > 10:56:08.314907 [debug] [Thread-3 ]: SQL status: SUCCESS 7 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:56:08.317564 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA" 2022-04-22 10:56:35 normalization > 10:56:08.317721 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_VIA" 2022-04-22 10:56:35 normalization > 10:56:08.422348 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 0.11 seconds 2022-04-22 10:56:35 normalization > 10:56:08.422676 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS" 2022-04-22 10:56:35 normalization > 10:56:08.422789 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS: insert into "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA_FLAGS_OPTIONS" ("_AIRBYTE_METADATA_HASHID", "2", "11", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_FLAGS_OPTIONS_HASHID") 2022-04-22 10:56:35 normalization > ( 2022-04-22 10:56:35 normalization > select "_AIRBYTE_METADATA_HASHID", "2", "11", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_FLAGS_OPTIONS_HASHID" 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA_FLAGS_OPTIONS__dbt_tmp" 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:56:08.451032 [debug] [Thread-5 ]: SQL status: SUCCESS 1 in 0.43 seconds 2022-04-22 10:56:35 normalization > 10:56:08.465339 [debug] [Thread-4 ]: SQL status: SUCCESS 1 in 0.8 seconds 2022-04-22 10:56:35 normalization > 10:56:08.475444 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS" 2022-04-22 10:56:35 normalization > 10:56:08.478844 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_DATA" 2022-04-22 10:56:35 normalization > 10:56:08.479164 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_ATTACHMENTS__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:56:08.479387 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_DATA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_DATA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_DATA" 2022-04-22 10:56:35 normalization > 10:56:08.534262 [debug] [Thread-5 ]: SQL status: SUCCESS 14 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:56:08.537421 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_DATA" 2022-04-22 10:56:35 normalization > 10:56:08.537633 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_DATA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_DATA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_DATA" 2022-04-22 10:56:35 normalization > 10:56:08.573141 [debug] [Thread-4 ]: SQL status: SUCCESS 16 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:56:08.578490 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS" 2022-04-22 10:56:35 normalization > 10:56:08.578713 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_ATTACHMENTS" 2022-04-22 10:56:35 normalization > 10:56:08.613453 [debug] [Thread-5 ]: SQL status: SUCCESS 1 in 0.08 seconds 2022-04-22 10:56:35 normalization > 10:56:08.622853 [debug] [Thread-5 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS_EVENTS_DATA" 2022-04-22 10:56:35 normalization > 10:56:08.623281 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:08.623438 [debug] [Thread-5 ]: Began executing node model.airbyte_utils.TICKET_AUDITS_EVENTS_DATA 2022-04-22 10:56:35 normalization > 10:56:08.629226 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_DATA" 2022-04-22 10:56:35 normalization > 10:56:08.629536 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_DATA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_DATA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_DATA" 2022-04-22 10:56:35 normalization > 10:56:08.632135 [debug] [Thread-4 ]: SQL status: SUCCESS 16 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:56:08.637773 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS" 2022-04-22 10:56:35 normalization > 10:56:08.638116 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_ATTACHMENTS__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:56:08.677157 [debug] [Thread-5 ]: SQL status: SUCCESS 14 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:56:08.689520 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_DATA" 2022-04-22 10:56:35 normalization > 10:56:08.689785 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_DATA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_DATA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace temporary table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_DATA__dbt_tmp" as 2022-04-22 10:56:35 normalization > (select * from( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > with __dbt__cte__TICKET_AUDITS_EVENTS_DATA_AB1 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to parse JSON blob stored in a single column and extract into separated field columns as described by the JSON Schema 2022-04-22 10:56:35 normalization > -- depends_on: "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS" 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_EVENTS_HASHID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(DATA), '"to"')) as "to", 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(DATA), '"from"')) as "from", 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(DATA), '"started_at"')) as STARTED_AT, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(DATA), '"call_duration"')) as CALL_DURATION, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(DATA), '"recording_url"')) as RECORDING_URL, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(DATA), '"answered_by_id"')) as ANSWERED_BY_ID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(DATA), '"answered_by_name"')) as ANSWERED_BY_NAME, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(DATA), '"transcription_text"')) as TRANSCRIPTION_TEXT, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(DATA), '"transcription_status"')) as TRANSCRIPTION_STATUS, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS" as table_alias 2022-04-22 10:56:35 normalization > -- DATA at ticket_audits/events/data 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > and DATA is not null 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKET_AUDITS_EVENTS_DATA_AB2 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to cast each column to its adequate SQL type converted from the JSON schema type 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_AUDITS_EVENTS_DATA_AB1 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_EVENTS_HASHID, 2022-04-22 10:56:35 normalization > cast("to" as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as "to", 2022-04-22 10:56:35 normalization > cast("from" as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as "from", 2022-04-22 10:56:35 normalization > case 2022-04-22 10:56:35 normalization > when STARTED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{4}' then to_timestamp_tz(STARTED_AT, 'YYYY-MM-DDTHH24:MI:SSTZHTZM') 2022-04-22 10:56:35 normalization > when STARTED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}(\\+|-)\\d{2}' then to_timestamp_tz(STARTED_AT, 'YYYY-MM-DDTHH24:MI:SSTZH') 2022-04-22 10:56:35 normalization > when STARTED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{4}' then to_timestamp_tz(STARTED_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZHTZM') 2022-04-22 10:56:35 normalization > when STARTED_AT regexp '\\d{4}-\\d{2}-\\d{2}T(\\d{2}:){2}\\d{2}\\.\\d{1,7}(\\+|-)\\d{2}' then to_timestamp_tz(STARTED_AT, 'YYYY-MM-DDTHH24:MI:SS.FFTZH') 2022-04-22 10:56:35 normalization > when STARTED_AT = '' then NULL 2022-04-22 10:56:35 normalization > else to_timestamp_tz(STARTED_AT) 2022-04-22 10:56:35 normalization > end as STARTED_AT 2022-04-22 10:56:35 normalization > , 2022-04-22 10:56:35 normalization > cast(CALL_DURATION as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as CALL_DURATION, 2022-04-22 10:56:35 normalization > cast(RECORDING_URL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as RECORDING_URL, 2022-04-22 10:56:35 normalization > cast(ANSWERED_BY_ID as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as ANSWERED_BY_ID, 2022-04-22 10:56:35 normalization > cast(ANSWERED_BY_NAME as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as ANSWERED_BY_NAME, 2022-04-22 10:56:35 normalization > cast(TRANSCRIPTION_TEXT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as TRANSCRIPTION_TEXT, 2022-04-22 10:56:35 normalization > cast(TRANSCRIPTION_STATUS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as TRANSCRIPTION_STATUS, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_AUDITS_EVENTS_DATA_AB1 2022-04-22 10:56:35 normalization > -- DATA at ticket_audits/events/data 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKET_AUDITS_EVENTS_DATA_AB3 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to build a hash column based on the values of this record 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_AUDITS_EVENTS_DATA_AB2 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(_AIRBYTE_EVENTS_HASHID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast("to" as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast("from" as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(STARTED_AT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(CALL_DURATION as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(RECORDING_URL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(ANSWERED_BY_ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(ANSWERED_BY_NAME as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(TRANSCRIPTION_TEXT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(TRANSCRIPTION_STATUS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_DATA_HASHID, 2022-04-22 10:56:35 normalization > tmp.* 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_AUDITS_EVENTS_DATA_AB2 tmp 2022-04-22 10:56:35 normalization > -- DATA at ticket_audits/events/data 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > )-- Final base SQL model 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_AUDITS_EVENTS_DATA_AB3 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_EVENTS_HASHID, 2022-04-22 10:56:35 normalization > "to", 2022-04-22 10:56:35 normalization > "from", 2022-04-22 10:56:35 normalization > STARTED_AT, 2022-04-22 10:56:35 normalization > CALL_DURATION, 2022-04-22 10:56:35 normalization > RECORDING_URL, 2022-04-22 10:56:35 normalization > ANSWERED_BY_ID, 2022-04-22 10:56:35 normalization > ANSWERED_BY_NAME, 2022-04-22 10:56:35 normalization > TRANSCRIPTION_TEXT, 2022-04-22 10:56:35 normalization > TRANSCRIPTION_STATUS, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_DATA_HASHID 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_AUDITS_EVENTS_DATA_AB3 2022-04-22 10:56:35 normalization > -- DATA at ticket_audits/events/data from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS" 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > and cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) >= 2022-04-22 10:56:35 normalization > cast('2022-04-22 10:47:49.649000-07:00' as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ) order by (_AIRBYTE_EMITTED_AT) 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:56:08.703107 [debug] [Thread-4 ]: SQL status: SUCCESS 16 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:56:08.710446 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS" 2022-04-22 10:56:35 normalization > 10:56:08.710659 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_AUDITS_EVENTS_ATTACHMENTS" 2022-04-22 10:56:35 normalization > 10:56:08.732329 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 0.97 seconds 2022-04-22 10:56:35 normalization > 10:56:08.736678 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_SYSTEM" 2022-04-22 10:56:35 normalization > 10:56:08.736882 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA_SYSTEM: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_METADATA_SYSTEM"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA_SYSTEM__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:56:08.764568 [debug] [Thread-4 ]: SQL status: SUCCESS 16 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:56:08.768688 [debug] [Thread-4 ]: 2022-04-22 10:56:35 normalization > In "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_AUDITS_EVENTS_ATTACHMENTS": 2022-04-22 10:56:35 normalization > Schema changed: False 2022-04-22 10:56:35 normalization > Source columns not in target: [] 2022-04-22 10:56:35 normalization > Target columns not in source: [] 2022-04-22 10:56:35 normalization > New column types: [] 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 10:56:08.769937 [debug] [Thread-4 ]: Writing runtime SQL for node "model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS" 2022-04-22 10:56:35 normalization > 10:56:08.770705 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS" 2022-04-22 10:56:35 normalization > 10:56:08.770840 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS"} */ 2022-04-22 10:56:35 normalization > begin; 2022-04-22 10:56:35 normalization > 10:56:08.802758 [debug] [Thread-2 ]: SQL status: SUCCESS 13 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:56:08.808545 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_SYSTEM" 2022-04-22 10:56:35 normalization > 10:56:08.808783 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA_SYSTEM: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_METADATA_SYSTEM"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA_SYSTEM" 2022-04-22 10:56:35 normalization > 10:56:08.846349 [debug] [Thread-4 ]: SQL status: SUCCESS 1 in 0.08 seconds 2022-04-22 10:56:35 normalization > 10:56:08.846679 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS" 2022-04-22 10:56:35 normalization > 10:56:08.846800 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS: insert into "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_ATTACHMENTS" ("_AIRBYTE_EVENTS_HASHID", "ID", "URL", "SIZE", "WIDTH", "HEIGHT", "INLINE", "FILE_NAME", "THUMBNAILS", "CONTENT_URL", "CONTENT_TYPE", "MAPPED_CONTENT_URL", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_ATTACHMENTS_HASHID") 2022-04-22 10:56:35 normalization > ( 2022-04-22 10:56:35 normalization > select "_AIRBYTE_EVENTS_HASHID", "ID", "URL", "SIZE", "WIDTH", "HEIGHT", "INLINE", "FILE_NAME", "THUMBNAILS", "CONTENT_URL", "CONTENT_TYPE", "MAPPED_CONTENT_URL", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_ATTACHMENTS_HASHID" 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_ATTACHMENTS__dbt_tmp" 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:56:08.861606 [debug] [Thread-2 ]: SQL status: SUCCESS 13 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:56:08.867013 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_SYSTEM" 2022-04-22 10:56:35 normalization > 10:56:08.867225 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA_SYSTEM: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_METADATA_SYSTEM"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA_SYSTEM__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:56:08.871510 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 0.45 seconds 2022-04-22 10:56:35 normalization > 10:56:08.871726 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS" 2022-04-22 10:56:35 normalization > 10:56:08.871860 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS: commit; 2022-04-22 10:56:35 normalization > 10:56:08.914890 [debug] [Thread-2 ]: SQL status: SUCCESS 13 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:56:08.920022 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_SYSTEM" 2022-04-22 10:56:35 normalization > 10:56:08.920238 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA_SYSTEM: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_METADATA_SYSTEM"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_AUDITS_METADATA_SYSTEM" 2022-04-22 10:56:35 normalization > 10:56:08.972297 [debug] [Thread-2 ]: SQL status: SUCCESS 13 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:56:08.975866 [debug] [Thread-2 ]: 2022-04-22 10:56:35 normalization > In "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_AUDITS_METADATA_SYSTEM": 2022-04-22 10:56:35 normalization > Schema changed: False 2022-04-22 10:56:35 normalization > Source columns not in target: [] 2022-04-22 10:56:35 normalization > Target columns not in source: [] 2022-04-22 10:56:35 normalization > New column types: [] 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 10:56:08.977110 [debug] [Thread-2 ]: Writing runtime SQL for node "model.airbyte_utils.TICKET_AUDITS_METADATA_SYSTEM" 2022-04-22 10:56:35 normalization > 10:56:08.977894 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_SYSTEM" 2022-04-22 10:56:35 normalization > 10:56:08.978033 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA_SYSTEM: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_METADATA_SYSTEM"} */ 2022-04-22 10:56:35 normalization > begin; 2022-04-22 10:56:35 normalization > 10:56:09.024251 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 0.71 seconds 2022-04-22 10:56:35 normalization > 10:56:09.036747 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA" 2022-04-22 10:56:35 normalization > 10:56:09.037036 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_VIA" 2022-04-22 10:56:35 normalization > 10:56:09.070561 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:56:09.070893 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_SYSTEM" 2022-04-22 10:56:35 normalization > 10:56:09.071007 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA_SYSTEM: insert into "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA_SYSTEM" ("_AIRBYTE_METADATA_HASHID", "CLIENT", "LATITUDE", "LOCATION", "LONGITUDE", "IP_ADDRESS", "MESSAGE_ID", "RAW_EMAIL_IDENTIFIER", "JSON_EMAIL_IDENTIFIER", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_SYSTEM_HASHID") 2022-04-22 10:56:35 normalization > ( 2022-04-22 10:56:35 normalization > select "_AIRBYTE_METADATA_HASHID", "CLIENT", "LATITUDE", "LOCATION", "LONGITUDE", "IP_ADDRESS", "MESSAGE_ID", "RAW_EMAIL_IDENTIFIER", "JSON_EMAIL_IDENTIFIER", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_SYSTEM_HASHID" 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA_SYSTEM__dbt_tmp" 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:56:09.105142 [debug] [Thread-3 ]: SQL status: SUCCESS 7 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:56:09.107879 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA" 2022-04-22 10:56:35 normalization > 10:56:09.108086 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_VIA" 2022-04-22 10:56:35 normalization > 10:56:09.129991 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 0.26 seconds 2022-04-22 10:56:35 normalization > 10:56:09.133984 [debug] [Thread-1 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:09.134274 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS: Close 2022-04-22 10:56:35 normalization > 10:56:09.180414 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:56:09.188611 [debug] [Thread-3 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA" 2022-04-22 10:56:35 normalization > 10:56:09.189065 [debug] [Thread-3 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:09.189239 [debug] [Thread-3 ]: Began executing node model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA 2022-04-22 10:56:35 normalization > 10:56:09.196561 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA" 2022-04-22 10:56:35 normalization > 10:56:09.196744 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_VIA" 2022-04-22 10:56:35 normalization > 10:56:09.262961 [info ] [Thread-1 ]: 68 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_AUDITS_METADATA_FLAGS_OPTIONS.............................. [SUCCESS 1 in 4.42s] 2022-04-22 10:56:35 normalization > 10:56:09.263536 [debug] [Thread-1 ]: Finished running node model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS 2022-04-22 10:56:35 normalization > 10:56:09.263792 [debug] [Thread-1 ]: Began running node model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE 2022-04-22 10:56:35 normalization > 10:56:09.264122 [info ] [Thread-1 ]: 73 of 95 START incremental model ZENDESK_SUPPORT.TICKET_AUDITS_VIA_SOURCE............................................... [RUN] 2022-04-22 10:56:35 normalization > 10:56:09.265618 [debug] [Thread-1 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:09.265862 [debug] [Thread-1 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE 2022-04-22 10:56:35 normalization > 10:56:09.266245 [debug] [Thread-1 ]: Compiling model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE 2022-04-22 10:56:35 normalization > 10:56:09.292419 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:09.292808 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:09.293182 [debug] [Thread-1 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:56:09.327133 [debug] [Thread-4 ]: SQL status: SUCCESS 9 in 0.48 seconds 2022-04-22 10:56:35 normalization > 10:56:09.327549 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS" 2022-04-22 10:56:35 normalization > 10:56:09.327712 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS: commit; 2022-04-22 10:56:35 normalization > 10:56:09.562826 [debug] [Thread-3 ]: SQL status: SUCCESS 7 in 0.37 seconds 2022-04-22 10:56:35 normalization > 10:56:09.585588 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA" 2022-04-22 10:56:35 normalization > 10:56:09.586269 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace temporary table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_VIA__dbt_tmp" as 2022-04-22 10:56:35 normalization > (select * from( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > with __dbt__cte__TICKET_AUDITS_EVENTS_VIA_AB1 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to parse JSON blob stored in a single column and extract into separated field columns as described by the JSON Schema 2022-04-22 10:56:35 normalization > -- depends_on: "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS" 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_EVENTS_HASHID, 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > get_path(parse_json(table_alias.VIA), '"source"') 2022-04-22 10:56:35 normalization > as SOURCE, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(VIA), '"channel"')) as CHANNEL, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS" as table_alias 2022-04-22 10:56:35 normalization > -- VIA at ticket_audits/events/via 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > and VIA is not null 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKET_AUDITS_EVENTS_VIA_AB2 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to cast each column to its adequate SQL type converted from the JSON schema type 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_AUDITS_EVENTS_VIA_AB1 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_EVENTS_HASHID, 2022-04-22 10:56:35 normalization > cast(SOURCE as 2022-04-22 10:56:35 normalization > variant 2022-04-22 10:56:35 normalization > ) as SOURCE, 2022-04-22 10:56:35 normalization > cast(CHANNEL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as CHANNEL, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_AUDITS_EVENTS_VIA_AB1 2022-04-22 10:56:35 normalization > -- VIA at ticket_audits/events/via 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKET_AUDITS_EVENTS_VIA_AB3 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to build a hash column based on the values of this record 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_AUDITS_EVENTS_VIA_AB2 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(_AIRBYTE_EVENTS_HASHID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(SOURCE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(CHANNEL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_VIA_HASHID, 2022-04-22 10:56:35 normalization > tmp.* 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_AUDITS_EVENTS_VIA_AB2 tmp 2022-04-22 10:56:35 normalization > -- VIA at ticket_audits/events/via 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > )-- Final base SQL model 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_AUDITS_EVENTS_VIA_AB3 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_EVENTS_HASHID, 2022-04-22 10:56:35 normalization > SOURCE, 2022-04-22 10:56:35 normalization > CHANNEL, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_VIA_HASHID 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_AUDITS_EVENTS_VIA_AB3 2022-04-22 10:56:35 normalization > -- VIA at ticket_audits/events/via from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS" 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > and cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) >= 2022-04-22 10:56:35 normalization > cast('2022-04-22 10:47:49.699000-07:00' as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ) order by (_AIRBYTE_EMITTED_AT) 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:56:09.594469 [debug] [Thread-4 ]: SQL status: SUCCESS 1 in 0.27 seconds 2022-04-22 10:56:35 normalization > 10:56:09.595760 [debug] [Thread-2 ]: SQL status: SUCCESS 133 in 0.52 seconds 2022-04-22 10:56:35 normalization > 10:56:09.600863 [debug] [Thread-4 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:09.601400 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_SYSTEM" 2022-04-22 10:56:35 normalization > 10:56:09.601695 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS: Close 2022-04-22 10:56:35 normalization > 10:56:09.601935 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA_SYSTEM: commit; 2022-04-22 10:56:35 normalization > 10:56:09.749341 [debug] [Thread-5 ]: SQL status: SUCCESS 1 in 1.06 seconds 2022-04-22 10:56:35 normalization > 10:56:09.759058 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_DATA" 2022-04-22 10:56:35 normalization > 10:56:09.759482 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_DATA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_DATA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_DATA__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:56:09.766451 [info ] [Thread-4 ]: 70 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_AUDITS_EVENTS_ATTACHMENTS.................................. [SUCCESS 1 in 4.32s] 2022-04-22 10:56:35 normalization > 10:56:09.766918 [debug] [Thread-4 ]: Finished running node model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS 2022-04-22 10:56:35 normalization > 10:56:09.767116 [debug] [Thread-4 ]: Began running node model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS 2022-04-22 10:56:35 normalization > 10:56:09.767566 [info ] [Thread-4 ]: 74 of 95 START incremental model ZENDESK_SUPPORT.TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS................................. [RUN] 2022-04-22 10:56:35 normalization > 10:56:09.769667 [debug] [Thread-4 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS" 2022-04-22 10:56:35 normalization > 10:56:09.769892 [debug] [Thread-4 ]: Began compiling node model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS 2022-04-22 10:56:35 normalization > 10:56:09.770030 [debug] [Thread-4 ]: Compiling model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS 2022-04-22 10:56:35 normalization > 10:56:09.793016 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS" 2022-04-22 10:56:35 normalization > 10:56:09.793384 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS" 2022-04-22 10:56:35 normalization > 10:56:09.793596 [debug] [Thread-4 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:56:09.876748 [debug] [Thread-5 ]: SQL status: SUCCESS 14 in 0.12 seconds 2022-04-22 10:56:35 normalization > 10:56:09.890610 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 0.28 seconds 2022-04-22 10:56:35 normalization > 10:56:09.911551 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_DATA" 2022-04-22 10:56:35 normalization > 10:56:09.928694 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:09.952805 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_DATA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_DATA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_DATA" 2022-04-22 10:56:35 normalization > 10:56:09.974563 [debug] [Thread-1 ]: SQL status: SUCCESS 8 in 0.68 seconds 2022-04-22 10:56:35 normalization > 10:56:10.000283 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA_SYSTEM: Close 2022-04-22 10:56:35 normalization > 10:56:10.070760 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:10.071657 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:10.136501 [debug] [Thread-5 ]: SQL status: SUCCESS 14 in 0.12 seconds 2022-04-22 10:56:35 normalization > 10:56:10.172645 [debug] [Thread-1 ]: SQL status: SUCCESS 8 in 0.1 seconds 2022-04-22 10:56:35 normalization > 10:56:10.194379 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:10.194930 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:10.198848 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_DATA" 2022-04-22 10:56:35 normalization > 10:56:10.200134 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_DATA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_DATA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_DATA__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:56:10.221560 [info ] [Thread-2 ]: 69 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_AUDITS_METADATA_SYSTEM..................................... [SUCCESS 1 in 5.21s] 2022-04-22 10:56:35 normalization > 10:56:10.226195 [debug] [Thread-2 ]: Finished running node model.airbyte_utils.TICKET_AUDITS_METADATA_SYSTEM 2022-04-22 10:56:35 normalization > 10:56:10.226497 [debug] [Thread-2 ]: Began running node model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE 2022-04-22 10:56:35 normalization > 10:56:10.227330 [info ] [Thread-2 ]: 75 of 95 START incremental model ZENDESK_SUPPORT.TICKET_COMMENTS_VIA_SOURCE............................................. [RUN] 2022-04-22 10:56:35 normalization > 10:56:10.228344 [debug] [Thread-2 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:10.229115 [debug] [Thread-2 ]: Began compiling node model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE 2022-04-22 10:56:35 normalization > 10:56:10.229437 [debug] [Thread-2 ]: Compiling model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE 2022-04-22 10:56:35 normalization > 10:56:10.262834 [debug] [Thread-5 ]: SQL status: SUCCESS 14 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:56:10.271969 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_DATA" 2022-04-22 10:56:35 normalization > 10:56:10.272328 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_DATA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_DATA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_AUDITS_EVENTS_DATA" 2022-04-22 10:56:35 normalization > 10:56:10.298065 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:10.301674 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:10.301911 [debug] [Thread-2 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:56:10.363563 [debug] [Thread-5 ]: SQL status: SUCCESS 14 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:56:10.406686 [debug] [Thread-5 ]: 2022-04-22 10:56:35 normalization > In "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_AUDITS_EVENTS_DATA": 2022-04-22 10:56:35 normalization > Schema changed: False 2022-04-22 10:56:35 normalization > Source columns not in target: [] 2022-04-22 10:56:35 normalization > Target columns not in source: [] 2022-04-22 10:56:35 normalization > New column types: [] 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 10:56:10.407735 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 0.82 seconds 2022-04-22 10:56:35 normalization > 10:56:10.417784 [debug] [Thread-5 ]: Writing runtime SQL for node "model.airbyte_utils.TICKET_AUDITS_EVENTS_DATA" 2022-04-22 10:56:35 normalization > 10:56:10.436738 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_DATA" 2022-04-22 10:56:35 normalization > 10:56:10.437068 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_DATA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_DATA"} */ 2022-04-22 10:56:35 normalization > begin; 2022-04-22 10:56:35 normalization > 10:56:10.435293 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA" 2022-04-22 10:56:35 normalization > 10:56:10.458604 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_VIA__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:56:10.545215 [debug] [Thread-3 ]: SQL status: SUCCESS 7 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:56:10.559211 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA" 2022-04-22 10:56:35 normalization > 10:56:10.559587 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_VIA" 2022-04-22 10:56:35 normalization > 10:56:10.638593 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 0.44 seconds 2022-04-22 10:56:35 normalization > 10:56:10.651420 [debug] [Thread-5 ]: SQL status: SUCCESS 1 in 0.21 seconds 2022-04-22 10:56:35 normalization > 10:56:10.651851 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_DATA" 2022-04-22 10:56:35 normalization > 10:56:10.652071 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_DATA: insert into "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_DATA" ("_AIRBYTE_EVENTS_HASHID", "to", "from", "STARTED_AT", "CALL_DURATION", "RECORDING_URL", "ANSWERED_BY_ID", "ANSWERED_BY_NAME", "TRANSCRIPTION_TEXT", "TRANSCRIPTION_STATUS", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_DATA_HASHID") 2022-04-22 10:56:35 normalization > ( 2022-04-22 10:56:35 normalization > select "_AIRBYTE_EVENTS_HASHID", "to", "from", "STARTED_AT", "CALL_DURATION", "RECORDING_URL", "ANSWERED_BY_ID", "ANSWERED_BY_NAME", "TRANSCRIPTION_TEXT", "TRANSCRIPTION_STATUS", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_DATA_HASHID" 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_DATA__dbt_tmp" 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:56:10.656491 [debug] [Thread-3 ]: SQL status: SUCCESS 7 in 0.1 seconds 2022-04-22 10:56:35 normalization > 10:56:10.683399 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:10.685956 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:10.685424 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA" 2022-04-22 10:56:35 normalization > 10:56:10.689221 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_VIA__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:56:10.746240 [debug] [Thread-1 ]: SQL status: SUCCESS 8 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:56:10.750763 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:10.751066 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:10.795152 [debug] [Thread-3 ]: SQL status: SUCCESS 7 in 0.11 seconds 2022-04-22 10:56:35 normalization > 10:56:10.802792 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA" 2022-04-22 10:56:35 normalization > 10:56:10.803123 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_AUDITS_EVENTS_VIA" 2022-04-22 10:56:35 normalization > 10:56:10.810352 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:56:10.823110 [debug] [Thread-1 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:10.823684 [debug] [Thread-1 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:10.837141 [debug] [Thread-1 ]: Began executing node model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE 2022-04-22 10:56:35 normalization > 10:56:10.850095 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:10.864051 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:10.863683 [debug] [Thread-3 ]: SQL status: SUCCESS 7 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:56:10.871412 [debug] [Thread-3 ]: 2022-04-22 10:56:35 normalization > In "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_AUDITS_EVENTS_VIA": 2022-04-22 10:56:35 normalization > Schema changed: False 2022-04-22 10:56:35 normalization > Source columns not in target: [] 2022-04-22 10:56:35 normalization > Target columns not in source: [] 2022-04-22 10:56:35 normalization > New column types: [] 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 10:56:10.873575 [debug] [Thread-3 ]: Writing runtime SQL for node "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA" 2022-04-22 10:56:35 normalization > 10:56:10.875631 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA" 2022-04-22 10:56:35 normalization > 10:56:10.875883 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA"} */ 2022-04-22 10:56:35 normalization > begin; 2022-04-22 10:56:35 normalization > 10:56:10.937547 [debug] [Thread-1 ]: SQL status: SUCCESS 8 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:56:10.959201 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:10.959584 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace temporary table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_VIA_SOURCE__dbt_tmp" as 2022-04-22 10:56:35 normalization > (select * from( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > with __dbt__cte__TICKET_AUDITS_VIA_SOURCE_AB1 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to parse JSON blob stored in a single column and extract into separated field columns as described by the JSON Schema 2022-04-22 10:56:35 normalization > -- depends_on: "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_VIA" 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_VIA_HASHID, 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > get_path(parse_json(table_alias.SOURCE), '"to"') 2022-04-22 10:56:35 normalization > as "to", 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(SOURCE), '"rel"')) as REL, 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > get_path(parse_json(table_alias.SOURCE), '"from"') 2022-04-22 10:56:35 normalization > as "from", 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_VIA" as table_alias 2022-04-22 10:56:35 normalization > -- SOURCE at ticket_audits/via/source 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > and SOURCE is not null 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKET_AUDITS_VIA_SOURCE_AB2 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to cast each column to its adequate SQL type converted from the JSON schema type 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_AUDITS_VIA_SOURCE_AB1 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_VIA_HASHID, 2022-04-22 10:56:35 normalization > cast("to" as 2022-04-22 10:56:35 normalization > variant 2022-04-22 10:56:35 normalization > ) as "to", 2022-04-22 10:56:35 normalization > cast(REL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as REL, 2022-04-22 10:56:35 normalization > cast("from" as 2022-04-22 10:56:35 normalization > variant 2022-04-22 10:56:35 normalization > ) as "from", 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_AUDITS_VIA_SOURCE_AB1 2022-04-22 10:56:35 normalization > -- SOURCE at ticket_audits/via/source 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKET_AUDITS_VIA_SOURCE_AB3 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to build a hash column based on the values of this record 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_AUDITS_VIA_SOURCE_AB2 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(_AIRBYTE_VIA_HASHID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast("to" as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(REL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast("from" as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_SOURCE_HASHID, 2022-04-22 10:56:35 normalization > tmp.* 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_AUDITS_VIA_SOURCE_AB2 tmp 2022-04-22 10:56:35 normalization > -- SOURCE at ticket_audits/via/source 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > )-- Final base SQL model 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_AUDITS_VIA_SOURCE_AB3 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_VIA_HASHID, 2022-04-22 10:56:35 normalization > "to", 2022-04-22 10:56:35 normalization > REL, 2022-04-22 10:56:35 normalization > "from", 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_SOURCE_HASHID 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_AUDITS_VIA_SOURCE_AB3 2022-04-22 10:56:35 normalization > -- SOURCE at ticket_audits/via/source from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_VIA" 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > and cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) >= 2022-04-22 10:56:35 normalization > cast('2022-04-22 10:47:49.699000-07:00' as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ) order by (_AIRBYTE_EMITTED_AT) 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:56:10.973418 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 0.1 seconds 2022-04-22 10:56:35 normalization > 10:56:10.973867 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA" 2022-04-22 10:56:35 normalization > 10:56:10.974113 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA: insert into "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_VIA" ("_AIRBYTE_EVENTS_HASHID", "SOURCE", "CHANNEL", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_VIA_HASHID") 2022-04-22 10:56:35 normalization > ( 2022-04-22 10:56:35 normalization > select "_AIRBYTE_EVENTS_HASHID", "SOURCE", "CHANNEL", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_VIA_HASHID" 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_VIA__dbt_tmp" 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:56:11.095544 [debug] [Thread-4 ]: SQL status: SUCCESS 15 in 1.3 seconds 2022-04-22 10:56:35 normalization > 10:56:11.111420 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS" 2022-04-22 10:56:35 normalization > 10:56:11.113127 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS" 2022-04-22 10:56:35 normalization > 10:56:11.122236 [debug] [Thread-5 ]: SQL status: SUCCESS 2 in 0.47 seconds 2022-04-22 10:56:35 normalization > 10:56:11.122578 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_DATA" 2022-04-22 10:56:35 normalization > 10:56:11.122770 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_DATA: commit; 2022-04-22 10:56:35 normalization > 10:56:11.165196 [debug] [Thread-2 ]: SQL status: SUCCESS 8 in 0.86 seconds 2022-04-22 10:56:35 normalization > 10:56:11.175375 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:11.175632 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:11.194280 [debug] [Thread-4 ]: SQL status: SUCCESS 15 in 0.08 seconds 2022-04-22 10:56:35 normalization > 10:56:11.199631 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS" 2022-04-22 10:56:35 normalization > 10:56:11.199961 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS" 2022-04-22 10:56:35 normalization > 10:56:11.247931 [debug] [Thread-2 ]: SQL status: SUCCESS 8 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:56:11.252634 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:11.252964 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:11.391694 [debug] [Thread-5 ]: SQL status: SUCCESS 1 in 0.27 seconds 2022-04-22 10:56:35 normalization > 10:56:11.398007 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:11.398347 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_DATA: Close 2022-04-22 10:56:35 normalization > 10:56:11.459567 [debug] [Thread-4 ]: SQL status: SUCCESS 1 in 0.26 seconds 2022-04-22 10:56:35 normalization > 10:56:11.479526 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS" 2022-04-22 10:56:35 normalization > 10:56:11.479892 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS" 2022-04-22 10:56:35 normalization > 10:56:11.499363 [info ] [Thread-5 ]: 71 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_AUDITS_EVENTS_DATA......................................... [SUCCESS 1 in 4.46s] 2022-04-22 10:56:35 normalization > 10:56:11.499902 [debug] [Thread-5 ]: Finished running node model.airbyte_utils.TICKET_AUDITS_EVENTS_DATA 2022-04-22 10:56:35 normalization > 10:56:11.500192 [debug] [Thread-5 ]: Began running node model.airbyte_utils.TICKETS_VIA_SOURCE_AB1 2022-04-22 10:56:35 normalization > 10:56:11.500698 [debug] [Thread-5 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKETS_VIA_SOURCE_AB1" 2022-04-22 10:56:35 normalization > 10:56:11.500881 [debug] [Thread-5 ]: Began compiling node model.airbyte_utils.TICKETS_VIA_SOURCE_AB1 2022-04-22 10:56:35 normalization > 10:56:11.501250 [debug] [Thread-5 ]: Compiling model.airbyte_utils.TICKETS_VIA_SOURCE_AB1 2022-04-22 10:56:35 normalization > 10:56:11.511306 [debug] [Thread-5 ]: Writing injected SQL for node "model.airbyte_utils.TICKETS_VIA_SOURCE_AB1" 2022-04-22 10:56:35 normalization > 10:56:11.511689 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:11.512117 [debug] [Thread-5 ]: Finished running node model.airbyte_utils.TICKETS_VIA_SOURCE_AB1 2022-04-22 10:56:35 normalization > 10:56:11.512312 [debug] [Thread-5 ]: Began running node model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS 2022-04-22 10:56:35 normalization > 10:56:11.512858 [info ] [Thread-5 ]: 76 of 95 START incremental model ZENDESK_SUPPORT.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS................................. [RUN] 2022-04-22 10:56:35 normalization > 10:56:11.513509 [debug] [Thread-5 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS" 2022-04-22 10:56:35 normalization > 10:56:11.513703 [debug] [Thread-5 ]: Began compiling node model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS 2022-04-22 10:56:35 normalization > 10:56:11.513891 [debug] [Thread-5 ]: Compiling model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS 2022-04-22 10:56:35 normalization > 10:56:11.533481 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS" 2022-04-22 10:56:35 normalization > 10:56:11.533747 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA_FLAGS_OPTIONS" 2022-04-22 10:56:35 normalization > 10:56:11.533860 [debug] [Thread-5 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:56:11.537698 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 0.28 seconds 2022-04-22 10:56:35 normalization > 10:56:11.547973 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:11.548456 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:11.550708 [debug] [Thread-3 ]: SQL status: SUCCESS 283 in 0.58 seconds 2022-04-22 10:56:35 normalization > 10:56:11.551792 [debug] [Thread-4 ]: SQL status: SUCCESS 15 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:56:11.553930 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA" 2022-04-22 10:56:35 normalization > 10:56:11.557435 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS" 2022-04-22 10:56:35 normalization > 10:56:11.557875 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA: commit; 2022-04-22 10:56:35 normalization > 10:56:11.558220 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS" 2022-04-22 10:56:35 normalization > 10:56:11.625775 [debug] [Thread-2 ]: SQL status: SUCCESS 8 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:56:11.645775 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:11.657437 [debug] [Thread-4 ]: SQL status: SUCCESS 1 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:56:11.677579 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:11.720301 [debug] [Thread-4 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS" 2022-04-22 10:56:35 normalization > 10:56:11.766444 [debug] [Thread-4 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:11.770743 [debug] [Thread-4 ]: Began executing node model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS 2022-04-22 10:56:35 normalization > 10:56:11.801849 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS" 2022-04-22 10:56:35 normalization > 10:56:11.810705 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS" 2022-04-22 10:56:35 normalization > 10:56:11.810411 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 0.25 seconds 2022-04-22 10:56:35 normalization > 10:56:11.808681 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:56:11.833859 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 0.87 seconds 2022-04-22 10:56:35 normalization > 10:56:11.840799 [debug] [Thread-3 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:11.841190 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA: Close 2022-04-22 10:56:35 normalization > 10:56:11.846831 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:11.847183 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_VIA_SOURCE__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:56:11.867514 [debug] [Thread-2 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:11.877453 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:11.883512 [debug] [Thread-2 ]: Began executing node model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE 2022-04-22 10:56:35 normalization > 10:56:11.893072 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:11.903594 [debug] [Thread-4 ]: SQL status: SUCCESS 15 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:56:11.905567 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:11.936349 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS" 2022-04-22 10:56:35 normalization > 10:56:11.939439 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace temporary table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS__dbt_tmp" as 2022-04-22 10:56:35 normalization > (select * from( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > with __dbt__cte__TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS_AB1 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to parse JSON blob stored in a single column and extract into separated field columns as described by the JSON Schema 2022-04-22 10:56:35 normalization > -- depends_on: "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_ATTACHMENTS" 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_ATTACHMENTS_HASHID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(THUMBNAILS.value), '"id"')) as ID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(THUMBNAILS.value), '"url"')) as URL, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(THUMBNAILS.value), '"size"')) as SIZE, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(THUMBNAILS.value), '"width"')) as WIDTH, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(THUMBNAILS.value), '"height"')) as HEIGHT, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(THUMBNAILS.value), '"inline"')) as INLINE, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(THUMBNAILS.value), '"file_name"')) as FILE_NAME, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(THUMBNAILS.value), '"content_url"')) as CONTENT_URL, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(THUMBNAILS.value), '"content_type"')) as CONTENT_TYPE, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(THUMBNAILS.value), '"mapped_content_url"')) as MAPPED_CONTENT_URL, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_ATTACHMENTS" as table_alias 2022-04-22 10:56:35 normalization > -- THUMBNAILS at ticket_comments/attachments/thumbnails 2022-04-22 10:56:35 normalization > cross join table(flatten(THUMBNAILS)) as THUMBNAILS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > and THUMBNAILS is not null 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS_AB2 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to cast each column to its adequate SQL type converted from the JSON schema type 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS_AB1 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_ATTACHMENTS_HASHID, 2022-04-22 10:56:35 normalization > cast(ID as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as ID, 2022-04-22 10:56:35 normalization > cast(URL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as URL, 2022-04-22 10:56:35 normalization > cast(SIZE as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as SIZE, 2022-04-22 10:56:35 normalization > cast(WIDTH as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as WIDTH, 2022-04-22 10:56:35 normalization > cast(HEIGHT as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as HEIGHT, 2022-04-22 10:56:35 normalization > cast(INLINE as boolean) as INLINE, 2022-04-22 10:56:35 normalization > cast(FILE_NAME as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as FILE_NAME, 2022-04-22 10:56:35 normalization > cast(CONTENT_URL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as CONTENT_URL, 2022-04-22 10:56:35 normalization > cast(CONTENT_TYPE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as CONTENT_TYPE, 2022-04-22 10:56:35 normalization > cast(MAPPED_CONTENT_URL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as MAPPED_CONTENT_URL, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS_AB1 2022-04-22 10:56:35 normalization > -- THUMBNAILS at ticket_comments/attachments/thumbnails 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS_AB3 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to build a hash column based on the values of this record 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS_AB2 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(_AIRBYTE_ATTACHMENTS_HASHID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(URL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(SIZE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(WIDTH as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(HEIGHT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(INLINE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(FILE_NAME as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(CONTENT_URL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(CONTENT_TYPE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(MAPPED_CONTENT_URL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_THUMBNAILS_HASHID, 2022-04-22 10:56:35 normalization > tmp.* 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS_AB2 tmp 2022-04-22 10:56:35 normalization > -- THUMBNAILS at ticket_comments/attachments/thumbnails 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > )-- Final base SQL model 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS_AB3 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_ATTACHMENTS_HASHID, 2022-04-22 10:56:35 normalization > ID, 2022-04-22 10:56:35 normalization > URL, 2022-04-22 10:56:35 normalization > SIZE, 2022-04-22 10:56:35 normalization > WIDTH, 2022-04-22 10:56:35 normalization > HEIGHT, 2022-04-22 10:56:35 normalization > INLINE, 2022-04-22 10:56:35 normalization > FILE_NAME, 2022-04-22 10:56:35 normalization > CONTENT_URL, 2022-04-22 10:56:35 normalization > CONTENT_TYPE, 2022-04-22 10:56:35 normalization > MAPPED_CONTENT_URL, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_THUMBNAILS_HASHID 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS_AB3 2022-04-22 10:56:35 normalization > -- THUMBNAILS at ticket_comments/attachments/thumbnails from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_ATTACHMENTS" 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > and cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) >= 2022-04-22 10:56:35 normalization > cast('2022-04-22 10:49:12.218000-07:00' as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ) order by (_AIRBYTE_EMITTED_AT) 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:56:11.973616 [debug] [Thread-1 ]: SQL status: SUCCESS 8 in 0.13 seconds 2022-04-22 10:56:35 normalization > 10:56:11.981894 [info ] [Thread-3 ]: 72 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_AUDITS_EVENTS_VIA.......................................... [SUCCESS 1 in 4.58s] 2022-04-22 10:56:35 normalization > 10:56:11.982580 [debug] [Thread-3 ]: Finished running node model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA 2022-04-22 10:56:35 normalization > 10:56:11.982890 [debug] [Thread-3 ]: Began running node model.airbyte_utils.TICKET_COMMENTS_METADATA_SYSTEM 2022-04-22 10:56:35 normalization > 10:56:11.983798 [info ] [Thread-3 ]: 77 of 95 START incremental model ZENDESK_SUPPORT.TICKET_COMMENTS_METADATA_SYSTEM........................................ [RUN] 2022-04-22 10:56:35 normalization > 10:56:11.984935 [debug] [Thread-3 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_SYSTEM" 2022-04-22 10:56:35 normalization > 10:56:11.999837 [debug] [Thread-3 ]: Began compiling node model.airbyte_utils.TICKET_COMMENTS_METADATA_SYSTEM 2022-04-22 10:56:35 normalization > 10:56:12.000173 [debug] [Thread-3 ]: Compiling model.airbyte_utils.TICKET_COMMENTS_METADATA_SYSTEM 2022-04-22 10:56:35 normalization > 10:56:11.989104 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:12.014633 [debug] [Thread-2 ]: SQL status: SUCCESS 8 in 0.08 seconds 2022-04-22 10:56:35 normalization > 10:56:12.156564 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_SYSTEM" 2022-04-22 10:56:35 normalization > 10:56:12.159253 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:12.170401 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA_SYSTEM: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_METADATA_SYSTEM"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA_SYSTEM" 2022-04-22 10:56:35 normalization > 10:56:12.176791 [debug] [Thread-3 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:56:12.186045 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:12.187419 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace temporary table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_VIA_SOURCE__dbt_tmp" as 2022-04-22 10:56:35 normalization > (select * from( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > with __dbt__cte__TICKET_COMMENTS_VIA_SOURCE_AB1 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to parse JSON blob stored in a single column and extract into separated field columns as described by the JSON Schema 2022-04-22 10:56:35 normalization > -- depends_on: "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_VIA" 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_VIA_HASHID, 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > get_path(parse_json(table_alias.SOURCE), '"to"') 2022-04-22 10:56:35 normalization > as "to", 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(SOURCE), '"rel"')) as REL, 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > get_path(parse_json(table_alias.SOURCE), '"from"') 2022-04-22 10:56:35 normalization > as "from", 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_VIA" as table_alias 2022-04-22 10:56:35 normalization > -- SOURCE at ticket_comments/via/source 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > and SOURCE is not null 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKET_COMMENTS_VIA_SOURCE_AB2 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to cast each column to its adequate SQL type converted from the JSON schema type 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_COMMENTS_VIA_SOURCE_AB1 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_VIA_HASHID, 2022-04-22 10:56:35 normalization > cast("to" as 2022-04-22 10:56:35 normalization > variant 2022-04-22 10:56:35 normalization > ) as "to", 2022-04-22 10:56:35 normalization > cast(REL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as REL, 2022-04-22 10:56:35 normalization > cast("from" as 2022-04-22 10:56:35 normalization > variant 2022-04-22 10:56:35 normalization > ) as "from", 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_COMMENTS_VIA_SOURCE_AB1 2022-04-22 10:56:35 normalization > -- SOURCE at ticket_comments/via/source 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKET_COMMENTS_VIA_SOURCE_AB3 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to build a hash column based on the values of this record 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_COMMENTS_VIA_SOURCE_AB2 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(_AIRBYTE_VIA_HASHID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast("to" as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(REL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast("from" as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_SOURCE_HASHID, 2022-04-22 10:56:35 normalization > tmp.* 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_COMMENTS_VIA_SOURCE_AB2 tmp 2022-04-22 10:56:35 normalization > -- SOURCE at ticket_comments/via/source 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > )-- Final base SQL model 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_COMMENTS_VIA_SOURCE_AB3 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_VIA_HASHID, 2022-04-22 10:56:35 normalization > "to", 2022-04-22 10:56:35 normalization > REL, 2022-04-22 10:56:35 normalization > "from", 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_SOURCE_HASHID 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_COMMENTS_VIA_SOURCE_AB3 2022-04-22 10:56:35 normalization > -- SOURCE at ticket_comments/via/source from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_VIA" 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > and cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) >= 2022-04-22 10:56:35 normalization > cast('2022-04-22 10:49:13.404000-07:00' as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ) order by (_AIRBYTE_EMITTED_AT) 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:56:12.249357 [debug] [Thread-1 ]: SQL status: SUCCESS 8 in 0.08 seconds 2022-04-22 10:56:35 normalization > 10:56:12.257873 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:12.258208 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_VIA_SOURCE__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:56:12.338395 [debug] [Thread-1 ]: SQL status: SUCCESS 8 in 0.08 seconds 2022-04-22 10:56:35 normalization > 10:56:12.351642 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:12.367428 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_AUDITS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:12.481519 [debug] [Thread-5 ]: SQL status: SUCCESS 7 in 0.95 seconds 2022-04-22 10:56:35 normalization > 10:56:12.496684 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS" 2022-04-22 10:56:35 normalization > 10:56:12.498880 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA_FLAGS_OPTIONS" 2022-04-22 10:56:35 normalization > 10:56:12.516966 [debug] [Thread-1 ]: SQL status: SUCCESS 8 in 0.13 seconds 2022-04-22 10:56:35 normalization > 10:56:12.519770 [debug] [Thread-1 ]: 2022-04-22 10:56:35 normalization > In "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_AUDITS_VIA_SOURCE": 2022-04-22 10:56:35 normalization > Schema changed: False 2022-04-22 10:56:35 normalization > Source columns not in target: [] 2022-04-22 10:56:35 normalization > Target columns not in source: [] 2022-04-22 10:56:35 normalization > New column types: [] 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 10:56:12.520992 [debug] [Thread-1 ]: Writing runtime SQL for node "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:12.521680 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:12.521811 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE"} */ 2022-04-22 10:56:35 normalization > begin; 2022-04-22 10:56:35 normalization > 10:56:12.563014 [debug] [Thread-5 ]: SQL status: SUCCESS 7 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:56:12.570018 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS" 2022-04-22 10:56:35 normalization > 10:56:12.570358 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA_FLAGS_OPTIONS" 2022-04-22 10:56:35 normalization > 10:56:12.601757 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 0.08 seconds 2022-04-22 10:56:35 normalization > 10:56:12.602097 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:12.602220 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE: insert into "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_VIA_SOURCE" ("_AIRBYTE_VIA_HASHID", "to", "REL", "from", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_SOURCE_HASHID") 2022-04-22 10:56:35 normalization > ( 2022-04-22 10:56:35 normalization > select "_AIRBYTE_VIA_HASHID", "to", "REL", "from", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_SOURCE_HASHID" 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_VIA_SOURCE__dbt_tmp" 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:56:12.775285 [debug] [Thread-4 ]: SQL status: SUCCESS 1 in 0.84 seconds 2022-04-22 10:56:35 normalization > 10:56:12.790875 [debug] [Thread-5 ]: SQL status: SUCCESS 1 in 0.22 seconds 2022-04-22 10:56:35 normalization > 10:56:12.792459 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS" 2022-04-22 10:56:35 normalization > 10:56:12.803590 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:56:12.816947 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS" 2022-04-22 10:56:35 normalization > 10:56:12.817301 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA_FLAGS_OPTIONS" 2022-04-22 10:56:35 normalization > 10:56:12.869477 [debug] [Thread-5 ]: SQL status: SUCCESS 7 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:56:12.874088 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS" 2022-04-22 10:56:35 normalization > 10:56:12.874416 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA_FLAGS_OPTIONS" 2022-04-22 10:56:35 normalization > 10:56:12.892665 [debug] [Thread-4 ]: SQL status: SUCCESS 15 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:56:12.901664 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS" 2022-04-22 10:56:35 normalization > 10:56:12.902002 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS" 2022-04-22 10:56:35 normalization > 10:56:12.933568 [debug] [Thread-3 ]: SQL status: SUCCESS 13 in 0.76 seconds 2022-04-22 10:56:35 normalization > 10:56:12.943324 [debug] [Thread-5 ]: SQL status: SUCCESS 1 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:56:12.958615 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_SYSTEM" 2022-04-22 10:56:35 normalization > 10:56:12.959297 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 0.77 seconds 2022-04-22 10:56:35 normalization > 10:56:12.966386 [debug] [Thread-4 ]: SQL status: SUCCESS 15 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:56:12.966659 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA_SYSTEM: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_METADATA_SYSTEM"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA_SYSTEM" 2022-04-22 10:56:35 normalization > 10:56:12.968608 [debug] [Thread-5 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS" 2022-04-22 10:56:35 normalization > 10:56:12.984160 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:12.987782 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_VIA_SOURCE__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:56:12.982199 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS" 2022-04-22 10:56:35 normalization > 10:56:12.990809 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:56:12.993417 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:12.993688 [debug] [Thread-5 ]: Began executing node model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS 2022-04-22 10:56:35 normalization > 10:56:13.004449 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS" 2022-04-22 10:56:35 normalization > 10:56:13.004925 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA_FLAGS_OPTIONS" 2022-04-22 10:56:35 normalization > 10:56:13.033428 [debug] [Thread-3 ]: SQL status: SUCCESS 13 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:56:13.038666 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_SYSTEM" 2022-04-22 10:56:35 normalization > 10:56:13.039003 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA_SYSTEM: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_METADATA_SYSTEM"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA_SYSTEM" 2022-04-22 10:56:35 normalization > 10:56:13.057283 [debug] [Thread-4 ]: SQL status: SUCCESS 15 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:56:13.066540 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS" 2022-04-22 10:56:35 normalization > 10:56:13.069711 [debug] [Thread-5 ]: SQL status: SUCCESS 7 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:56:13.070628 [debug] [Thread-2 ]: SQL status: SUCCESS 8 in 0.08 seconds 2022-04-22 10:56:35 normalization > 10:56:13.070930 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS" 2022-04-22 10:56:35 normalization > 10:56:13.083981 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:13.100254 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS" 2022-04-22 10:56:35 normalization > 10:56:13.100780 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:13.105125 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace temporary table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA_FLAGS_OPTIONS__dbt_tmp" as 2022-04-22 10:56:35 normalization > (select * from( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > with __dbt__cte__TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_AB1 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to parse JSON blob stored in a single column and extract into separated field columns as described by the JSON Schema 2022-04-22 10:56:35 normalization > -- depends_on: "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA" 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_METADATA_HASHID, 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > get_path(parse_json(table_alias.FLAGS_OPTIONS), '"2"') 2022-04-22 10:56:35 normalization > as "2", 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > get_path(parse_json(table_alias.FLAGS_OPTIONS), '"11"') 2022-04-22 10:56:35 normalization > as "11", 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA" as table_alias 2022-04-22 10:56:35 normalization > -- FLAGS_OPTIONS at ticket_comments/metadata/flags_options 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > and FLAGS_OPTIONS is not null 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_AB2 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to cast each column to its adequate SQL type converted from the JSON schema type 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_AB1 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_METADATA_HASHID, 2022-04-22 10:56:35 normalization > cast("2" as 2022-04-22 10:56:35 normalization > variant 2022-04-22 10:56:35 normalization > ) as "2", 2022-04-22 10:56:35 normalization > cast("11" as 2022-04-22 10:56:35 normalization > variant 2022-04-22 10:56:35 normalization > ) as "11", 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_AB1 2022-04-22 10:56:35 normalization > -- FLAGS_OPTIONS at ticket_comments/metadata/flags_options 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_AB3 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to build a hash column based on the values of this record 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_AB2 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(_AIRBYTE_METADATA_HASHID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast("2" as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast("11" as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_FLAGS_OPTIONS_HASHID, 2022-04-22 10:56:35 normalization > tmp.* 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_AB2 tmp 2022-04-22 10:56:35 normalization > -- FLAGS_OPTIONS at ticket_comments/metadata/flags_options 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > )-- Final base SQL model 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_AB3 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_METADATA_HASHID, 2022-04-22 10:56:35 normalization > "2", 2022-04-22 10:56:35 normalization > "11", 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_FLAGS_OPTIONS_HASHID 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_AB3 2022-04-22 10:56:35 normalization > -- FLAGS_OPTIONS at ticket_comments/metadata/flags_options from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA" 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > and cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) >= 2022-04-22 10:56:35 normalization > cast('2022-04-21 22:54:53.446000-07:00' as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ) order by (_AIRBYTE_EMITTED_AT) 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:56:13.109552 [debug] [Thread-1 ]: SQL status: SUCCESS 133 in 0.51 seconds 2022-04-22 10:56:35 normalization > 10:56:13.122020 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:13.122345 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE: commit; 2022-04-22 10:56:35 normalization > 10:56:13.156010 [debug] [Thread-4 ]: SQL status: SUCCESS 15 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:56:13.159914 [debug] [Thread-4 ]: 2022-04-22 10:56:35 normalization > In "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS": 2022-04-22 10:56:35 normalization > Schema changed: False 2022-04-22 10:56:35 normalization > Source columns not in target: [] 2022-04-22 10:56:35 normalization > Target columns not in source: [] 2022-04-22 10:56:35 normalization > New column types: [] 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 10:56:13.161226 [debug] [Thread-4 ]: Writing runtime SQL for node "model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS" 2022-04-22 10:56:35 normalization > 10:56:13.162012 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS" 2022-04-22 10:56:35 normalization > 10:56:13.162152 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS"} */ 2022-04-22 10:56:35 normalization > begin; 2022-04-22 10:56:35 normalization > 10:56:13.182017 [debug] [Thread-2 ]: SQL status: SUCCESS 8 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:56:13.187339 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:13.187606 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_VIA_SOURCE__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:56:13.242968 [debug] [Thread-2 ]: SQL status: SUCCESS 8 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:56:13.247893 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:13.248165 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_COMMENTS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:13.258504 [debug] [Thread-4 ]: SQL status: SUCCESS 1 in 0.1 seconds 2022-04-22 10:56:35 normalization > 10:56:13.258834 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS" 2022-04-22 10:56:35 normalization > 10:56:13.258947 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS: insert into "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS" ("_AIRBYTE_ATTACHMENTS_HASHID", "ID", "URL", "SIZE", "WIDTH", "HEIGHT", "INLINE", "FILE_NAME", "CONTENT_URL", "CONTENT_TYPE", "MAPPED_CONTENT_URL", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_THUMBNAILS_HASHID") 2022-04-22 10:56:35 normalization > ( 2022-04-22 10:56:35 normalization > select "_AIRBYTE_ATTACHMENTS_HASHID", "ID", "URL", "SIZE", "WIDTH", "HEIGHT", "INLINE", "FILE_NAME", "CONTENT_URL", "CONTENT_TYPE", "MAPPED_CONTENT_URL", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_THUMBNAILS_HASHID" 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS__dbt_tmp" 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:56:13.312550 [debug] [Thread-2 ]: SQL status: SUCCESS 8 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:56:13.317310 [debug] [Thread-2 ]: 2022-04-22 10:56:35 normalization > In "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_COMMENTS_VIA_SOURCE": 2022-04-22 10:56:35 normalization > Schema changed: False 2022-04-22 10:56:35 normalization > Source columns not in target: [] 2022-04-22 10:56:35 normalization > Target columns not in source: [] 2022-04-22 10:56:35 normalization > New column types: [] 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 10:56:13.319088 [debug] [Thread-2 ]: Writing runtime SQL for node "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:13.320172 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:13.320404 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE"} */ 2022-04-22 10:56:35 normalization > begin; 2022-04-22 10:56:35 normalization > 10:56:13.354395 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 0.32 seconds 2022-04-22 10:56:35 normalization > 10:56:13.373336 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_SYSTEM" 2022-04-22 10:56:35 normalization > 10:56:13.374983 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 0.25 seconds 2022-04-22 10:56:35 normalization > 10:56:13.375778 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA_SYSTEM: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_METADATA_SYSTEM"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA_SYSTEM" 2022-04-22 10:56:35 normalization > 10:56:13.381071 [debug] [Thread-1 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:13.395514 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE: Close 2022-04-22 10:56:35 normalization > 10:56:13.413888 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:56:13.414186 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:13.414300 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE: insert into "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_VIA_SOURCE" ("_AIRBYTE_VIA_HASHID", "to", "REL", "from", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_SOURCE_HASHID") 2022-04-22 10:56:35 normalization > ( 2022-04-22 10:56:35 normalization > select "_AIRBYTE_VIA_HASHID", "to", "REL", "from", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_SOURCE_HASHID" 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_VIA_SOURCE__dbt_tmp" 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:56:13.462734 [debug] [Thread-3 ]: SQL status: SUCCESS 13 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:56:13.465804 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_SYSTEM" 2022-04-22 10:56:35 normalization > 10:56:13.466005 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA_SYSTEM: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_METADATA_SYSTEM"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA_SYSTEM" 2022-04-22 10:56:35 normalization > 10:56:13.507679 [info ] [Thread-1 ]: 73 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_AUDITS_VIA_SOURCE.......................................... [SUCCESS 1 in 4.24s] 2022-04-22 10:56:35 normalization > 10:56:13.508721 [debug] [Thread-1 ]: Finished running node model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE 2022-04-22 10:56:35 normalization > 10:56:13.509704 [debug] [Thread-1 ]: Began running node model.airbyte_utils.USERS_PHOTO_THUMBNAILS_AB1 2022-04-22 10:56:35 normalization > 10:56:13.510739 [debug] [Thread-1 ]: Acquiring new snowflake connection "model.airbyte_utils.USERS_PHOTO_THUMBNAILS_AB1" 2022-04-22 10:56:35 normalization > 10:56:13.510966 [debug] [Thread-1 ]: Began compiling node model.airbyte_utils.USERS_PHOTO_THUMBNAILS_AB1 2022-04-22 10:56:35 normalization > 10:56:13.511186 [debug] [Thread-1 ]: Compiling model.airbyte_utils.USERS_PHOTO_THUMBNAILS_AB1 2022-04-22 10:56:35 normalization > 10:56:13.542160 [debug] [Thread-1 ]: Writing injected SQL for node "model.airbyte_utils.USERS_PHOTO_THUMBNAILS_AB1" 2022-04-22 10:56:35 normalization > 10:56:13.543681 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 0.08 seconds 2022-04-22 10:56:35 normalization > 10:56:13.559720 [debug] [Thread-1 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:13.560773 [debug] [Thread-1 ]: Finished running node model.airbyte_utils.USERS_PHOTO_THUMBNAILS_AB1 2022-04-22 10:56:35 normalization > 10:56:13.561184 [debug] [Thread-1 ]: Began running node model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_AB1 2022-04-22 10:56:35 normalization > 10:56:13.562782 [debug] [Thread-1 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_AB1" 2022-04-22 10:56:35 normalization > 10:56:13.563011 [debug] [Thread-1 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_AB1 2022-04-22 10:56:35 normalization > 10:56:13.563224 [debug] [Thread-1 ]: Compiling model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_AB1 2022-04-22 10:56:35 normalization > 10:56:13.575818 [debug] [Thread-3 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_COMMENTS_METADATA_SYSTEM" 2022-04-22 10:56:35 normalization > 10:56:13.584251 [debug] [Thread-3 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:13.584514 [debug] [Thread-3 ]: Began executing node model.airbyte_utils.TICKET_COMMENTS_METADATA_SYSTEM 2022-04-22 10:56:35 normalization > 10:56:13.583614 [debug] [Thread-1 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_AB1" 2022-04-22 10:56:35 normalization > 10:56:13.594686 [debug] [Thread-1 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:13.595364 [debug] [Thread-1 ]: Finished running node model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_AB1 2022-04-22 10:56:35 normalization > 10:56:13.595690 [debug] [Thread-1 ]: Began running node model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2_AB1 2022-04-22 10:56:35 normalization > 10:56:13.596470 [debug] [Thread-1 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2_AB1" 2022-04-22 10:56:35 normalization > 10:56:13.596676 [debug] [Thread-1 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2_AB1 2022-04-22 10:56:35 normalization > 10:56:13.596854 [debug] [Thread-1 ]: Compiling model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2_AB1 2022-04-22 10:56:35 normalization > 10:56:13.594079 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_SYSTEM" 2022-04-22 10:56:35 normalization > 10:56:13.612807 [debug] [Thread-1 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2_AB1" 2022-04-22 10:56:35 normalization > 10:56:13.613303 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA_SYSTEM: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_METADATA_SYSTEM"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA_SYSTEM" 2022-04-22 10:56:35 normalization > 10:56:13.614565 [debug] [Thread-1 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:13.615298 [debug] [Thread-1 ]: Finished running node model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2_AB1 2022-04-22 10:56:35 normalization > 10:56:13.615638 [debug] [Thread-1 ]: Began running node model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS_AB1 2022-04-22 10:56:35 normalization > 10:56:13.618316 [debug] [Thread-1 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS_AB1" 2022-04-22 10:56:35 normalization > 10:56:13.618546 [debug] [Thread-1 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS_AB1 2022-04-22 10:56:35 normalization > 10:56:13.618751 [debug] [Thread-1 ]: Compiling model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS_AB1 2022-04-22 10:56:35 normalization > 10:56:13.648931 [debug] [Thread-1 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS_AB1" 2022-04-22 10:56:35 normalization > 10:56:13.649398 [debug] [Thread-1 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:13.649840 [debug] [Thread-1 ]: Finished running node model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS_AB1 2022-04-22 10:56:35 normalization > 10:56:13.650043 [debug] [Thread-1 ]: Began running node model.airbyte_utils.TICKETS_VIA_SOURCE_AB2 2022-04-22 10:56:35 normalization > 10:56:13.650713 [debug] [Thread-1 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKETS_VIA_SOURCE_AB2" 2022-04-22 10:56:35 normalization > 10:56:13.650901 [debug] [Thread-1 ]: Began compiling node model.airbyte_utils.TICKETS_VIA_SOURCE_AB2 2022-04-22 10:56:35 normalization > 10:56:13.651026 [debug] [Thread-1 ]: Compiling model.airbyte_utils.TICKETS_VIA_SOURCE_AB2 2022-04-22 10:56:35 normalization > 10:56:13.664540 [debug] [Thread-1 ]: Writing injected SQL for node "model.airbyte_utils.TICKETS_VIA_SOURCE_AB2" 2022-04-22 10:56:35 normalization > 10:56:13.664987 [debug] [Thread-1 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:13.665440 [debug] [Thread-1 ]: Finished running node model.airbyte_utils.TICKETS_VIA_SOURCE_AB2 2022-04-22 10:56:35 normalization > 10:56:13.665637 [debug] [Thread-1 ]: Began running node model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_AB1 2022-04-22 10:56:35 normalization > 10:56:13.665936 [debug] [Thread-1 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_AB1" 2022-04-22 10:56:35 normalization > 10:56:13.666284 [debug] [Thread-1 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_AB1 2022-04-22 10:56:35 normalization > 10:56:13.666578 [debug] [Thread-1 ]: Compiling model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_AB1 2022-04-22 10:56:35 normalization > 10:56:13.677065 [debug] [Thread-1 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_AB1" 2022-04-22 10:56:35 normalization > 10:56:13.677525 [debug] [Thread-1 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:13.678090 [debug] [Thread-1 ]: Finished running node model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_AB1 2022-04-22 10:56:35 normalization > 10:56:13.678377 [debug] [Thread-1 ]: Began running node model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_FROM_AB1 2022-04-22 10:56:35 normalization > 10:56:13.678863 [debug] [Thread-1 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_FROM_AB1" 2022-04-22 10:56:35 normalization > 10:56:13.679388 [debug] [Thread-1 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_FROM_AB1 2022-04-22 10:56:35 normalization > 10:56:13.686636 [debug] [Thread-3 ]: SQL status: SUCCESS 13 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:56:13.686947 [debug] [Thread-1 ]: Compiling model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_FROM_AB1 2022-04-22 10:56:35 normalization > 10:56:13.711802 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_SYSTEM" 2022-04-22 10:56:35 normalization > 10:56:13.727785 [debug] [Thread-1 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_FROM_AB1" 2022-04-22 10:56:35 normalization > 10:56:13.728676 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA_SYSTEM: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_METADATA_SYSTEM"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace temporary table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA_SYSTEM__dbt_tmp" as 2022-04-22 10:56:35 normalization > (select * from( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > with __dbt__cte__TICKET_COMMENTS_METADATA_SYSTEM_AB1 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to parse JSON blob stored in a single column and extract into separated field columns as described by the JSON Schema 2022-04-22 10:56:35 normalization > -- depends_on: "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA" 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_METADATA_HASHID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(SYSTEM), '"client"')) as CLIENT, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(SYSTEM), '"latitude"')) as LATITUDE, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(SYSTEM), '"location"')) as LOCATION, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(SYSTEM), '"longitude"')) as LONGITUDE, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(SYSTEM), '"ip_address"')) as IP_ADDRESS, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(SYSTEM), '"message_id"')) as MESSAGE_ID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(SYSTEM), '"raw_email_identifier"')) as RAW_EMAIL_IDENTIFIER, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(SYSTEM), '"json_email_identifier"')) as JSON_EMAIL_IDENTIFIER, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA" as table_alias 2022-04-22 10:56:35 normalization > -- SYSTEM at ticket_comments/metadata/system 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > and SYSTEM is not null 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKET_COMMENTS_METADATA_SYSTEM_AB2 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to cast each column to its adequate SQL type converted from the JSON schema type 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_COMMENTS_METADATA_SYSTEM_AB1 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_METADATA_HASHID, 2022-04-22 10:56:35 normalization > cast(CLIENT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as CLIENT, 2022-04-22 10:56:35 normalization > cast(LATITUDE as 2022-04-22 10:56:35 normalization > float 2022-04-22 10:56:35 normalization > ) as LATITUDE, 2022-04-22 10:56:35 normalization > cast(LOCATION as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as LOCATION, 2022-04-22 10:56:35 normalization > cast(LONGITUDE as 2022-04-22 10:56:35 normalization > float 2022-04-22 10:56:35 normalization > ) as LONGITUDE, 2022-04-22 10:56:35 normalization > cast(IP_ADDRESS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as IP_ADDRESS, 2022-04-22 10:56:35 normalization > cast(MESSAGE_ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as MESSAGE_ID, 2022-04-22 10:56:35 normalization > cast(RAW_EMAIL_IDENTIFIER as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as RAW_EMAIL_IDENTIFIER, 2022-04-22 10:56:35 normalization > cast(JSON_EMAIL_IDENTIFIER as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as JSON_EMAIL_IDENTIFIER, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_COMMENTS_METADATA_SYSTEM_AB1 2022-04-22 10:56:35 normalization > -- SYSTEM at ticket_comments/metadata/system 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKET_COMMENTS_METADATA_SYSTEM_AB3 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to build a hash column based on the values of this record 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_COMMENTS_METADATA_SYSTEM_AB2 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(_AIRBYTE_METADATA_HASHID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(CLIENT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(LATITUDE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(LOCATION as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(LONGITUDE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(IP_ADDRESS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(MESSAGE_ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(RAW_EMAIL_IDENTIFIER as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(JSON_EMAIL_IDENTIFIER as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_SYSTEM_HASHID, 2022-04-22 10:56:35 normalization > tmp.* 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_COMMENTS_METADATA_SYSTEM_AB2 tmp 2022-04-22 10:56:35 normalization > -- SYSTEM at ticket_comments/metadata/system 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > )-- Final base SQL model 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_COMMENTS_METADATA_SYSTEM_AB3 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_METADATA_HASHID, 2022-04-22 10:56:35 normalization > CLIENT, 2022-04-22 10:56:35 normalization > LATITUDE, 2022-04-22 10:56:35 normalization > LOCATION, 2022-04-22 10:56:35 normalization > LONGITUDE, 2022-04-22 10:56:35 normalization > IP_ADDRESS, 2022-04-22 10:56:35 normalization > MESSAGE_ID, 2022-04-22 10:56:35 normalization > RAW_EMAIL_IDENTIFIER, 2022-04-22 10:56:35 normalization > JSON_EMAIL_IDENTIFIER, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_SYSTEM_HASHID 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_COMMENTS_METADATA_SYSTEM_AB3 2022-04-22 10:56:35 normalization > -- SYSTEM at ticket_comments/metadata/system from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA" 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > and cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) >= 2022-04-22 10:56:35 normalization > cast('2022-04-22 10:49:13.404000-07:00' as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ) order by (_AIRBYTE_EMITTED_AT) 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:56:13.729338 [debug] [Thread-4 ]: SQL status: SUCCESS 4 in 0.47 seconds 2022-04-22 10:56:35 normalization > 10:56:13.730287 [debug] [Thread-1 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:13.730560 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS" 2022-04-22 10:56:35 normalization > 10:56:13.731121 [debug] [Thread-1 ]: Finished running node model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_FROM_AB1 2022-04-22 10:56:35 normalization > 10:56:13.732368 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS: commit; 2022-04-22 10:56:35 normalization > 10:56:13.732673 [debug] [Thread-1 ]: Began running node model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_TO_AB1 2022-04-22 10:56:35 normalization > 10:56:13.734508 [debug] [Thread-1 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_TO_AB1" 2022-04-22 10:56:35 normalization > 10:56:13.734919 [debug] [Thread-1 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_TO_AB1 2022-04-22 10:56:35 normalization > 10:56:13.735205 [debug] [Thread-1 ]: Compiling model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_TO_AB1 2022-04-22 10:56:35 normalization > 10:56:13.745531 [debug] [Thread-1 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_TO_AB1" 2022-04-22 10:56:35 normalization > 10:56:13.746617 [debug] [Thread-1 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:13.747082 [debug] [Thread-1 ]: Finished running node model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_TO_AB1 2022-04-22 10:56:35 normalization > 10:56:13.747282 [debug] [Thread-1 ]: Began running node model.airbyte_utils.USERS_PHOTO_THUMBNAILS_AB2 2022-04-22 10:56:35 normalization > 10:56:13.747809 [debug] [Thread-1 ]: Acquiring new snowflake connection "model.airbyte_utils.USERS_PHOTO_THUMBNAILS_AB2" 2022-04-22 10:56:35 normalization > 10:56:13.747975 [debug] [Thread-1 ]: Began compiling node model.airbyte_utils.USERS_PHOTO_THUMBNAILS_AB2 2022-04-22 10:56:35 normalization > 10:56:13.748291 [debug] [Thread-1 ]: Compiling model.airbyte_utils.USERS_PHOTO_THUMBNAILS_AB2 2022-04-22 10:56:35 normalization > 10:56:13.770190 [debug] [Thread-1 ]: Writing injected SQL for node "model.airbyte_utils.USERS_PHOTO_THUMBNAILS_AB2" 2022-04-22 10:56:35 normalization > 10:56:13.770667 [debug] [Thread-1 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:13.771182 [debug] [Thread-1 ]: Finished running node model.airbyte_utils.USERS_PHOTO_THUMBNAILS_AB2 2022-04-22 10:56:35 normalization > 10:56:13.771439 [debug] [Thread-1 ]: Began running node model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_AB2 2022-04-22 10:56:35 normalization > 10:56:13.771990 [debug] [Thread-1 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_AB2" 2022-04-22 10:56:35 normalization > 10:56:13.772304 [debug] [Thread-1 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_AB2 2022-04-22 10:56:35 normalization > 10:56:13.772448 [debug] [Thread-1 ]: Compiling model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_AB2 2022-04-22 10:56:35 normalization > 10:56:13.783528 [debug] [Thread-1 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_AB2" 2022-04-22 10:56:35 normalization > 10:56:13.783864 [debug] [Thread-1 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:13.784240 [debug] [Thread-1 ]: Finished running node model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_AB2 2022-04-22 10:56:35 normalization > 10:56:13.784430 [debug] [Thread-1 ]: Began running node model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2_AB2 2022-04-22 10:56:35 normalization > 10:56:13.784943 [debug] [Thread-1 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2_AB2" 2022-04-22 10:56:35 normalization > 10:56:13.785241 [debug] [Thread-1 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2_AB2 2022-04-22 10:56:35 normalization > 10:56:13.785388 [debug] [Thread-1 ]: Compiling model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2_AB2 2022-04-22 10:56:35 normalization > 10:56:13.795110 [debug] [Thread-1 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2_AB2" 2022-04-22 10:56:35 normalization > 10:56:13.795429 [debug] [Thread-1 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:13.795848 [debug] [Thread-1 ]: Finished running node model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2_AB2 2022-04-22 10:56:35 normalization > 10:56:13.796040 [debug] [Thread-1 ]: Began running node model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS_AB2 2022-04-22 10:56:35 normalization > 10:56:13.796378 [debug] [Thread-1 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS_AB2" 2022-04-22 10:56:35 normalization > 10:56:13.796704 [debug] [Thread-1 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS_AB2 2022-04-22 10:56:35 normalization > 10:56:13.797018 [debug] [Thread-1 ]: Compiling model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS_AB2 2022-04-22 10:56:35 normalization > 10:56:13.827231 [debug] [Thread-1 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS_AB2" 2022-04-22 10:56:35 normalization > 10:56:13.827683 [debug] [Thread-1 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:13.828187 [debug] [Thread-1 ]: Finished running node model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS_AB2 2022-04-22 10:56:35 normalization > 10:56:13.828406 [debug] [Thread-1 ]: Began running node model.airbyte_utils.TICKETS_VIA_SOURCE_AB3 2022-04-22 10:56:35 normalization > 10:56:13.829002 [debug] [Thread-1 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKETS_VIA_SOURCE_AB3" 2022-04-22 10:56:35 normalization > 10:56:13.829361 [debug] [Thread-1 ]: Began compiling node model.airbyte_utils.TICKETS_VIA_SOURCE_AB3 2022-04-22 10:56:35 normalization > 10:56:13.829495 [debug] [Thread-1 ]: Compiling model.airbyte_utils.TICKETS_VIA_SOURCE_AB3 2022-04-22 10:56:35 normalization > 10:56:13.845070 [debug] [Thread-1 ]: Writing injected SQL for node "model.airbyte_utils.TICKETS_VIA_SOURCE_AB3" 2022-04-22 10:56:35 normalization > 10:56:13.845461 [debug] [Thread-1 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:13.845880 [debug] [Thread-1 ]: Finished running node model.airbyte_utils.TICKETS_VIA_SOURCE_AB3 2022-04-22 10:56:35 normalization > 10:56:13.846089 [debug] [Thread-1 ]: Began running node model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_AB2 2022-04-22 10:56:35 normalization > 10:56:13.846844 [debug] [Thread-1 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_AB2" 2022-04-22 10:56:35 normalization > 10:56:13.847067 [debug] [Thread-1 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_AB2 2022-04-22 10:56:35 normalization > 10:56:13.847197 [debug] [Thread-1 ]: Compiling model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_AB2 2022-04-22 10:56:35 normalization > 10:56:13.860256 [debug] [Thread-1 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_AB2" 2022-04-22 10:56:35 normalization > 10:56:13.860633 [debug] [Thread-1 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:13.861041 [debug] [Thread-1 ]: Finished running node model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_AB2 2022-04-22 10:56:35 normalization > 10:56:13.861226 [debug] [Thread-1 ]: Began running node model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_FROM_AB2 2022-04-22 10:56:35 normalization > 10:56:13.861526 [debug] [Thread-1 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_FROM_AB2" 2022-04-22 10:56:35 normalization > 10:56:13.861867 [debug] [Thread-1 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_FROM_AB2 2022-04-22 10:56:35 normalization > 10:56:13.862144 [debug] [Thread-1 ]: Compiling model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_FROM_AB2 2022-04-22 10:56:35 normalization > 10:56:13.879263 [debug] [Thread-1 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_FROM_AB2" 2022-04-22 10:56:35 normalization > 10:56:13.879659 [debug] [Thread-1 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:13.880066 [debug] [Thread-1 ]: Finished running node model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_FROM_AB2 2022-04-22 10:56:35 normalization > 10:56:13.880265 [debug] [Thread-1 ]: Began running node model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_TO_AB2 2022-04-22 10:56:35 normalization > 10:56:13.880560 [debug] [Thread-1 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_TO_AB2" 2022-04-22 10:56:35 normalization > 10:56:13.880721 [debug] [Thread-1 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_TO_AB2 2022-04-22 10:56:35 normalization > 10:56:13.880850 [debug] [Thread-1 ]: Compiling model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_TO_AB2 2022-04-22 10:56:35 normalization > 10:56:13.892431 [debug] [Thread-1 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_TO_AB2" 2022-04-22 10:56:35 normalization > 10:56:13.893842 [debug] [Thread-2 ]: SQL status: SUCCESS 42 in 0.48 seconds 2022-04-22 10:56:35 normalization > 10:56:13.894225 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:13.894378 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE: commit; 2022-04-22 10:56:35 normalization > 10:56:13.896281 [debug] [Thread-1 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:13.896715 [debug] [Thread-1 ]: Finished running node model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_TO_AB2 2022-04-22 10:56:35 normalization > 10:56:13.896946 [debug] [Thread-1 ]: Began running node model.airbyte_utils.USERS_PHOTO_THUMBNAILS_AB3 2022-04-22 10:56:35 normalization > 10:56:13.897529 [debug] [Thread-1 ]: Acquiring new snowflake connection "model.airbyte_utils.USERS_PHOTO_THUMBNAILS_AB3" 2022-04-22 10:56:35 normalization > 10:56:13.897880 [debug] [Thread-1 ]: Began compiling node model.airbyte_utils.USERS_PHOTO_THUMBNAILS_AB3 2022-04-22 10:56:35 normalization > 10:56:13.898081 [debug] [Thread-1 ]: Compiling model.airbyte_utils.USERS_PHOTO_THUMBNAILS_AB3 2022-04-22 10:56:35 normalization > 10:56:13.912489 [debug] [Thread-5 ]: SQL status: SUCCESS 1 in 0.79 seconds 2022-04-22 10:56:35 normalization > 10:56:13.919426 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS" 2022-04-22 10:56:35 normalization > 10:56:13.924959 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA_FLAGS_OPTIONS__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:56:13.947021 [debug] [Thread-1 ]: Writing injected SQL for node "model.airbyte_utils.USERS_PHOTO_THUMBNAILS_AB3" 2022-04-22 10:56:35 normalization > 10:56:13.949269 [debug] [Thread-1 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:13.949813 [debug] [Thread-1 ]: Finished running node model.airbyte_utils.USERS_PHOTO_THUMBNAILS_AB3 2022-04-22 10:56:35 normalization > 10:56:13.950013 [debug] [Thread-1 ]: Began running node model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_AB3 2022-04-22 10:56:35 normalization > 10:56:13.950751 [debug] [Thread-1 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_AB3" 2022-04-22 10:56:35 normalization > 10:56:13.950903 [debug] [Thread-1 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_AB3 2022-04-22 10:56:35 normalization > 10:56:13.951025 [debug] [Thread-1 ]: Compiling model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_AB3 2022-04-22 10:56:35 normalization > 10:56:13.965555 [debug] [Thread-1 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_AB3" 2022-04-22 10:56:35 normalization > 10:56:13.966022 [debug] [Thread-1 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:13.966517 [debug] [Thread-1 ]: Finished running node model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_AB3 2022-04-22 10:56:35 normalization > 10:56:13.966733 [debug] [Thread-1 ]: Began running node model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2_AB3 2022-04-22 10:56:35 normalization > 10:56:13.967290 [debug] [Thread-1 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2_AB3" 2022-04-22 10:56:35 normalization > 10:56:13.967599 [debug] [Thread-1 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2_AB3 2022-04-22 10:56:35 normalization > 10:56:13.967735 [debug] [Thread-1 ]: Compiling model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2_AB3 2022-04-22 10:56:35 normalization > 10:56:13.980287 [debug] [Thread-1 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2_AB3" 2022-04-22 10:56:35 normalization > 10:56:13.980686 [debug] [Thread-1 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:13.981149 [debug] [Thread-1 ]: Finished running node model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2_AB3 2022-04-22 10:56:35 normalization > 10:56:13.981358 [debug] [Thread-1 ]: Began running node model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS_AB3 2022-04-22 10:56:35 normalization > 10:56:13.981697 [debug] [Thread-1 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS_AB3" 2022-04-22 10:56:35 normalization > 10:56:13.981874 [debug] [Thread-1 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS_AB3 2022-04-22 10:56:35 normalization > 10:56:13.982008 [debug] [Thread-1 ]: Compiling model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS_AB3 2022-04-22 10:56:35 normalization > 10:56:14.010068 [debug] [Thread-4 ]: SQL status: SUCCESS 1 in 0.28 seconds 2022-04-22 10:56:35 normalization > 10:56:14.010854 [debug] [Thread-1 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS_AB3" 2022-04-22 10:56:35 normalization > 10:56:14.014682 [debug] [Thread-4 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:14.016245 [debug] [Thread-5 ]: SQL status: SUCCESS 7 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:56:14.016735 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS: Close 2022-04-22 10:56:35 normalization > 10:56:14.017060 [debug] [Thread-1 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:14.023988 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS" 2022-04-22 10:56:35 normalization > 10:56:14.026205 [debug] [Thread-1 ]: Finished running node model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS_AB3 2022-04-22 10:56:35 normalization > 10:56:14.027396 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA_FLAGS_OPTIONS" 2022-04-22 10:56:35 normalization > 10:56:14.027693 [debug] [Thread-1 ]: Began running node model.airbyte_utils.TICKETS_VIA_SOURCE 2022-04-22 10:56:35 normalization > 10:56:14.030641 [info ] [Thread-1 ]: 78 of 95 START incremental model ZENDESK_SUPPORT.TICKETS_VIA_SOURCE..................................................... [RUN] 2022-04-22 10:56:35 normalization > 10:56:14.032065 [debug] [Thread-1 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKETS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:14.032289 [debug] [Thread-1 ]: Began compiling node model.airbyte_utils.TICKETS_VIA_SOURCE 2022-04-22 10:56:35 normalization > 10:56:14.032480 [debug] [Thread-1 ]: Compiling model.airbyte_utils.TICKETS_VIA_SOURCE 2022-04-22 10:56:35 normalization > 10:56:14.051366 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKETS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:14.051640 [debug] [Thread-1 ]: On model.airbyte_utils.TICKETS_VIA_SOURCE: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_VIA_SOURCE"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:14.051831 [debug] [Thread-1 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:56:14.115759 [debug] [Thread-5 ]: SQL status: SUCCESS 7 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:56:14.149114 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS" 2022-04-22 10:56:35 normalization > 10:56:14.161982 [info ] [Thread-4 ]: 74 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS............................ [SUCCESS 1 in 4.39s] 2022-04-22 10:56:35 normalization > 10:56:14.171332 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA_FLAGS_OPTIONS__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:56:14.197602 [debug] [Thread-4 ]: Finished running node model.airbyte_utils.TICKET_COMMENTS_ATTACHMENTS_THUMBNAILS 2022-04-22 10:56:35 normalization > 10:56:14.209506 [debug] [Thread-4 ]: Began running node model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_AB3 2022-04-22 10:56:35 normalization > 10:56:14.221948 [debug] [Thread-4 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_AB3" 2022-04-22 10:56:35 normalization > 10:56:14.222418 [debug] [Thread-4 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_AB3 2022-04-22 10:56:35 normalization > 10:56:14.222704 [debug] [Thread-4 ]: Compiling model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_AB3 2022-04-22 10:56:35 normalization > 10:56:14.243989 [debug] [Thread-4 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_AB3" 2022-04-22 10:56:35 normalization > 10:56:14.258924 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 0.36 seconds 2022-04-22 10:56:35 normalization > 10:56:14.265119 [debug] [Thread-4 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:14.271052 [debug] [Thread-4 ]: Finished running node model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_AB3 2022-04-22 10:56:35 normalization > 10:56:14.271353 [debug] [Thread-4 ]: Began running node model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_FROM_AB3 2022-04-22 10:56:35 normalization > 10:56:14.270296 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:14.272420 [debug] [Thread-4 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_FROM_AB3" 2022-04-22 10:56:35 normalization > 10:56:14.272807 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE: Close 2022-04-22 10:56:35 normalization > 10:56:14.273227 [debug] [Thread-4 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_FROM_AB3 2022-04-22 10:56:35 normalization > 10:56:14.276070 [debug] [Thread-4 ]: Compiling model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_FROM_AB3 2022-04-22 10:56:35 normalization > 10:56:14.299367 [debug] [Thread-5 ]: SQL status: SUCCESS 7 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:56:14.309939 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS" 2022-04-22 10:56:35 normalization > 10:56:14.311863 [debug] [Thread-4 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_FROM_AB3" 2022-04-22 10:56:35 normalization > 10:56:14.312546 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_COMMENTS_METADATA_FLAGS_OPTIONS" 2022-04-22 10:56:35 normalization > 10:56:14.314409 [debug] [Thread-4 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:14.314961 [debug] [Thread-4 ]: Finished running node model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_FROM_AB3 2022-04-22 10:56:35 normalization > 10:56:14.316179 [debug] [Thread-4 ]: Began running node model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_TO_AB3 2022-04-22 10:56:35 normalization > 10:56:14.317430 [debug] [Thread-4 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_TO_AB3" 2022-04-22 10:56:35 normalization > 10:56:14.317650 [debug] [Thread-4 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_TO_AB3 2022-04-22 10:56:35 normalization > 10:56:14.318011 [debug] [Thread-4 ]: Compiling model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_TO_AB3 2022-04-22 10:56:35 normalization > 10:56:14.332205 [debug] [Thread-4 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_TO_AB3" 2022-04-22 10:56:35 normalization > 10:56:14.333234 [debug] [Thread-4 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:14.333779 [debug] [Thread-4 ]: Finished running node model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_TO_AB3 2022-04-22 10:56:35 normalization > 10:56:14.334007 [debug] [Thread-4 ]: Began running node model.airbyte_utils.USERS_PHOTO_THUMBNAILS 2022-04-22 10:56:35 normalization > 10:56:14.334319 [info ] [Thread-4 ]: 79 of 95 START incremental model ZENDESK_SUPPORT.USERS_PHOTO_THUMBNAILS................................................. [RUN] 2022-04-22 10:56:35 normalization > 10:56:14.335129 [debug] [Thread-4 ]: Acquiring new snowflake connection "model.airbyte_utils.USERS_PHOTO_THUMBNAILS" 2022-04-22 10:56:35 normalization > 10:56:14.335597 [debug] [Thread-4 ]: Began compiling node model.airbyte_utils.USERS_PHOTO_THUMBNAILS 2022-04-22 10:56:35 normalization > 10:56:14.335854 [debug] [Thread-4 ]: Compiling model.airbyte_utils.USERS_PHOTO_THUMBNAILS 2022-04-22 10:56:35 normalization > 10:56:14.354667 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.USERS_PHOTO_THUMBNAILS" 2022-04-22 10:56:35 normalization > 10:56:14.355224 [debug] [Thread-4 ]: On model.airbyte_utils.USERS_PHOTO_THUMBNAILS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.USERS_PHOTO_THUMBNAILS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."USERS_PHOTO_THUMBNAILS" 2022-04-22 10:56:35 normalization > 10:56:14.355432 [debug] [Thread-4 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:56:14.386969 [debug] [Thread-5 ]: SQL status: SUCCESS 7 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:56:14.405689 [debug] [Thread-5 ]: 2022-04-22 10:56:35 normalization > In "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_COMMENTS_METADATA_FLAGS_OPTIONS": 2022-04-22 10:56:35 normalization > Schema changed: False 2022-04-22 10:56:35 normalization > Source columns not in target: [] 2022-04-22 10:56:35 normalization > Target columns not in source: [] 2022-04-22 10:56:35 normalization > New column types: [] 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 10:56:14.418460 [debug] [Thread-5 ]: Writing runtime SQL for node "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS" 2022-04-22 10:56:35 normalization > 10:56:14.437608 [info ] [Thread-2 ]: 75 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_COMMENTS_VIA_SOURCE........................................ [SUCCESS 1 in 4.21s] 2022-04-22 10:56:35 normalization > 10:56:14.443823 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS" 2022-04-22 10:56:35 normalization > 10:56:14.450008 [debug] [Thread-2 ]: Finished running node model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE 2022-04-22 10:56:35 normalization > 10:56:14.450330 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS"} */ 2022-04-22 10:56:35 normalization > begin; 2022-04-22 10:56:35 normalization > 10:56:14.465959 [debug] [Thread-2 ]: Began running node model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11 2022-04-22 10:56:35 normalization > 10:56:14.482848 [info ] [Thread-2 ]: 80 of 95 START incremental model ZENDESK_SUPPORT.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11................................ [RUN] 2022-04-22 10:56:35 normalization > 10:56:14.495591 [debug] [Thread-2 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11" 2022-04-22 10:56:35 normalization > 10:56:14.509608 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 0.78 seconds 2022-04-22 10:56:35 normalization > 10:56:14.527947 [debug] [Thread-2 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11 2022-04-22 10:56:35 normalization > 10:56:14.542878 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_SYSTEM" 2022-04-22 10:56:35 normalization > 10:56:14.544054 [debug] [Thread-2 ]: Compiling model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11 2022-04-22 10:56:35 normalization > 10:56:14.544405 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA_SYSTEM: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_METADATA_SYSTEM"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA_SYSTEM__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:56:14.570675 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11" 2022-04-22 10:56:35 normalization > 10:56:14.573784 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11" 2022-04-22 10:56:35 normalization > 10:56:14.574027 [debug] [Thread-2 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:56:14.653504 [debug] [Thread-5 ]: SQL status: SUCCESS 1 in 0.17 seconds 2022-04-22 10:56:35 normalization > 10:56:14.664354 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS" 2022-04-22 10:56:35 normalization > 10:56:14.664726 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS: insert into "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA_FLAGS_OPTIONS" ("_AIRBYTE_METADATA_HASHID", "2", "11", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_FLAGS_OPTIONS_HASHID") 2022-04-22 10:56:35 normalization > ( 2022-04-22 10:56:35 normalization > select "_AIRBYTE_METADATA_HASHID", "2", "11", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_FLAGS_OPTIONS_HASHID" 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA_FLAGS_OPTIONS__dbt_tmp" 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:56:14.867591 [debug] [Thread-3 ]: SQL status: SUCCESS 13 in 0.31 seconds 2022-04-22 10:56:35 normalization > 10:56:14.872666 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_SYSTEM" 2022-04-22 10:56:35 normalization > 10:56:14.874096 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA_SYSTEM: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_METADATA_SYSTEM"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA_SYSTEM" 2022-04-22 10:56:35 normalization > 10:56:14.940842 [debug] [Thread-3 ]: SQL status: SUCCESS 13 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:56:14.947061 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_SYSTEM" 2022-04-22 10:56:35 normalization > 10:56:14.947611 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA_SYSTEM: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_METADATA_SYSTEM"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA_SYSTEM__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:56:14.999337 [debug] [Thread-3 ]: SQL status: SUCCESS 13 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:56:15.004976 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_SYSTEM" 2022-04-22 10:56:35 normalization > 10:56:15.005374 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA_SYSTEM: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_METADATA_SYSTEM"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_COMMENTS_METADATA_SYSTEM" 2022-04-22 10:56:35 normalization > 10:56:15.060032 [debug] [Thread-3 ]: SQL status: SUCCESS 13 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:56:15.065791 [debug] [Thread-3 ]: 2022-04-22 10:56:35 normalization > In "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_COMMENTS_METADATA_SYSTEM": 2022-04-22 10:56:35 normalization > Schema changed: False 2022-04-22 10:56:35 normalization > Source columns not in target: [] 2022-04-22 10:56:35 normalization > Target columns not in source: [] 2022-04-22 10:56:35 normalization > New column types: [] 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 10:56:15.067119 [debug] [Thread-3 ]: Writing runtime SQL for node "model.airbyte_utils.TICKET_COMMENTS_METADATA_SYSTEM" 2022-04-22 10:56:35 normalization > 10:56:15.070627 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_SYSTEM" 2022-04-22 10:56:35 normalization > 10:56:15.071389 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA_SYSTEM: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_METADATA_SYSTEM"} */ 2022-04-22 10:56:35 normalization > begin; 2022-04-22 10:56:35 normalization > 10:56:15.135690 [debug] [Thread-1 ]: SQL status: SUCCESS 8 in 1.08 seconds 2022-04-22 10:56:35 normalization > 10:56:15.149715 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKETS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:15.150067 [debug] [Thread-1 ]: On model.airbyte_utils.TICKETS_VIA_SOURCE: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_VIA_SOURCE"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:15.168651 [debug] [Thread-5 ]: SQL status: SUCCESS 1 in 0.5 seconds 2022-04-22 10:56:35 normalization > 10:56:15.169051 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS" 2022-04-22 10:56:35 normalization > 10:56:15.169184 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS: commit; 2022-04-22 10:56:35 normalization > 10:56:15.173193 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 0.1 seconds 2022-04-22 10:56:35 normalization > 10:56:15.173466 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_SYSTEM" 2022-04-22 10:56:35 normalization > 10:56:15.173577 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA_SYSTEM: insert into "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA_SYSTEM" ("_AIRBYTE_METADATA_HASHID", "CLIENT", "LATITUDE", "LOCATION", "LONGITUDE", "IP_ADDRESS", "MESSAGE_ID", "RAW_EMAIL_IDENTIFIER", "JSON_EMAIL_IDENTIFIER", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_SYSTEM_HASHID") 2022-04-22 10:56:35 normalization > ( 2022-04-22 10:56:35 normalization > select "_AIRBYTE_METADATA_HASHID", "CLIENT", "LATITUDE", "LOCATION", "LONGITUDE", "IP_ADDRESS", "MESSAGE_ID", "RAW_EMAIL_IDENTIFIER", "JSON_EMAIL_IDENTIFIER", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_SYSTEM_HASHID" 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA_SYSTEM__dbt_tmp" 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:56:15.213687 [debug] [Thread-1 ]: SQL status: SUCCESS 8 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:56:15.216453 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKETS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:15.216659 [debug] [Thread-1 ]: On model.airbyte_utils.TICKETS_VIA_SOURCE: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_VIA_SOURCE"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:15.244559 [debug] [Thread-4 ]: SQL status: SUCCESS 15 in 0.89 seconds 2022-04-22 10:56:35 normalization > 10:56:15.255151 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.USERS_PHOTO_THUMBNAILS" 2022-04-22 10:56:35 normalization > 10:56:15.255393 [debug] [Thread-4 ]: On model.airbyte_utils.USERS_PHOTO_THUMBNAILS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.USERS_PHOTO_THUMBNAILS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."USERS_PHOTO_THUMBNAILS" 2022-04-22 10:56:35 normalization > 10:56:15.261477 [debug] [Thread-2 ]: SQL status: SUCCESS 7 in 0.69 seconds 2022-04-22 10:56:35 normalization > 10:56:15.273722 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11" 2022-04-22 10:56:35 normalization > 10:56:15.273973 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11" 2022-04-22 10:56:35 normalization > 10:56:15.307561 [debug] [Thread-4 ]: SQL status: SUCCESS 15 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:56:15.310804 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.USERS_PHOTO_THUMBNAILS" 2022-04-22 10:56:35 normalization > 10:56:15.311002 [debug] [Thread-4 ]: On model.airbyte_utils.USERS_PHOTO_THUMBNAILS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.USERS_PHOTO_THUMBNAILS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."USERS_PHOTO_THUMBNAILS" 2022-04-22 10:56:35 normalization > 10:56:15.331203 [debug] [Thread-2 ]: SQL status: SUCCESS 7 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:56:15.335753 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11" 2022-04-22 10:56:35 normalization > 10:56:15.336008 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11" 2022-04-22 10:56:35 normalization > 10:56:15.413512 [debug] [Thread-5 ]: SQL status: SUCCESS 1 in 0.24 seconds 2022-04-22 10:56:35 normalization > 10:56:15.417462 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:15.417721 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS: Close 2022-04-22 10:56:35 normalization > 10:56:15.459735 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 0.24 seconds 2022-04-22 10:56:35 normalization > 10:56:15.471590 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKETS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:15.472360 [debug] [Thread-1 ]: On model.airbyte_utils.TICKETS_VIA_SOURCE: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_VIA_SOURCE"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:15.522072 [debug] [Thread-1 ]: SQL status: SUCCESS 8 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:56:15.524844 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKETS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:15.525064 [debug] [Thread-1 ]: On model.airbyte_utils.TICKETS_VIA_SOURCE: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_VIA_SOURCE"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:15.537803 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 0.2 seconds 2022-04-22 10:56:35 normalization > 10:56:15.547682 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11" 2022-04-22 10:56:35 normalization > 10:56:15.548696 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11" 2022-04-22 10:56:35 normalization > 10:56:15.551831 [info ] [Thread-5 ]: 76 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS............................ [SUCCESS 1 in 4.04s] 2022-04-22 10:56:35 normalization > 10:56:15.552250 [debug] [Thread-5 ]: Finished running node model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS 2022-04-22 10:56:35 normalization > 10:56:15.552621 [debug] [Thread-5 ]: Began running node model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2 2022-04-22 10:56:35 normalization > 10:56:15.553011 [info ] [Thread-5 ]: 81 of 95 START incremental model ZENDESK_SUPPORT.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2................................. [RUN] 2022-04-22 10:56:35 normalization > 10:56:15.553872 [debug] [Thread-5 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2" 2022-04-22 10:56:35 normalization > 10:56:15.554300 [debug] [Thread-5 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2 2022-04-22 10:56:35 normalization > 10:56:15.554510 [debug] [Thread-5 ]: Compiling model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2 2022-04-22 10:56:35 normalization > 10:56:15.567874 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2" 2022-04-22 10:56:35 normalization > 10:56:15.568112 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2" 2022-04-22 10:56:35 normalization > 10:56:15.568230 [debug] [Thread-5 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:56:15.578904 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:56:15.586847 [debug] [Thread-1 ]: Writing injected SQL for node "model.airbyte_utils.TICKETS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:15.587344 [debug] [Thread-1 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:15.587505 [debug] [Thread-1 ]: Began executing node model.airbyte_utils.TICKETS_VIA_SOURCE 2022-04-22 10:56:35 normalization > 10:56:15.595064 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKETS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:15.595359 [debug] [Thread-1 ]: On model.airbyte_utils.TICKETS_VIA_SOURCE: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_VIA_SOURCE"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:15.628002 [debug] [Thread-2 ]: SQL status: SUCCESS 7 in 0.08 seconds 2022-04-22 10:56:35 normalization > 10:56:15.650413 [debug] [Thread-4 ]: SQL status: SUCCESS 1 in 0.34 seconds 2022-04-22 10:56:35 normalization > 10:56:15.660695 [debug] [Thread-1 ]: SQL status: SUCCESS 8 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:56:15.677307 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11" 2022-04-22 10:56:35 normalization > 10:56:15.683916 [debug] [Thread-3 ]: SQL status: SUCCESS 42 in 0.51 seconds 2022-04-22 10:56:35 normalization > 10:56:15.719837 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.USERS_PHOTO_THUMBNAILS" 2022-04-22 10:56:35 normalization > 10:56:15.735246 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11" 2022-04-22 10:56:35 normalization > 10:56:15.754712 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKETS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:15.761030 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_SYSTEM" 2022-04-22 10:56:35 normalization > 10:56:15.762165 [debug] [Thread-4 ]: On model.airbyte_utils.USERS_PHOTO_THUMBNAILS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.USERS_PHOTO_THUMBNAILS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."USERS_PHOTO_THUMBNAILS" 2022-04-22 10:56:35 normalization > 10:56:15.778388 [debug] [Thread-1 ]: On model.airbyte_utils.TICKETS_VIA_SOURCE: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_VIA_SOURCE"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace temporary table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_VIA_SOURCE__dbt_tmp" as 2022-04-22 10:56:35 normalization > (select * from( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > with __dbt__cte__TICKETS_VIA_SOURCE_AB1 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to parse JSON blob stored in a single column and extract into separated field columns as described by the JSON Schema 2022-04-22 10:56:35 normalization > -- depends_on: "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_VIA" 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_VIA_HASHID, 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > get_path(parse_json(table_alias.SOURCE), '"to"') 2022-04-22 10:56:35 normalization > as "to", 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(SOURCE), '"rel"')) as REL, 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > get_path(parse_json(table_alias.SOURCE), '"from"') 2022-04-22 10:56:35 normalization > as "from", 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_VIA" as table_alias 2022-04-22 10:56:35 normalization > -- SOURCE at tickets/via/source 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > and SOURCE is not null 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKETS_VIA_SOURCE_AB2 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to cast each column to its adequate SQL type converted from the JSON schema type 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKETS_VIA_SOURCE_AB1 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_VIA_HASHID, 2022-04-22 10:56:35 normalization > cast("to" as 2022-04-22 10:56:35 normalization > variant 2022-04-22 10:56:35 normalization > ) as "to", 2022-04-22 10:56:35 normalization > cast(REL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as REL, 2022-04-22 10:56:35 normalization > cast("from" as 2022-04-22 10:56:35 normalization > variant 2022-04-22 10:56:35 normalization > ) as "from", 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKETS_VIA_SOURCE_AB1 2022-04-22 10:56:35 normalization > -- SOURCE at tickets/via/source 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKETS_VIA_SOURCE_AB3 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to build a hash column based on the values of this record 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKETS_VIA_SOURCE_AB2 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(_AIRBYTE_VIA_HASHID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast("to" as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(REL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast("from" as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_SOURCE_HASHID, 2022-04-22 10:56:35 normalization > tmp.* 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKETS_VIA_SOURCE_AB2 tmp 2022-04-22 10:56:35 normalization > -- SOURCE at tickets/via/source 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > )-- Final base SQL model 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKETS_VIA_SOURCE_AB3 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_VIA_HASHID, 2022-04-22 10:56:35 normalization > "to", 2022-04-22 10:56:35 normalization > REL, 2022-04-22 10:56:35 normalization > "from", 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_SOURCE_HASHID 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKETS_VIA_SOURCE_AB3 2022-04-22 10:56:35 normalization > -- SOURCE at tickets/via/source from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_VIA" 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > and cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) >= 2022-04-22 10:56:35 normalization > cast('2022-04-22 10:49:17.699000-07:00' as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ) order by (_AIRBYTE_EMITTED_AT) 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:56:15.783499 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA_SYSTEM: commit; 2022-04-22 10:56:35 normalization > 10:56:15.835644 [debug] [Thread-4 ]: SQL status: SUCCESS 15 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:56:15.841414 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.USERS_PHOTO_THUMBNAILS" 2022-04-22 10:56:35 normalization > 10:56:15.841753 [debug] [Thread-4 ]: On model.airbyte_utils.USERS_PHOTO_THUMBNAILS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.USERS_PHOTO_THUMBNAILS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."USERS_PHOTO_THUMBNAILS" 2022-04-22 10:56:35 normalization > 10:56:15.986150 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 0.21 seconds 2022-04-22 10:56:35 normalization > 10:56:15.993567 [debug] [Thread-2 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11" 2022-04-22 10:56:35 normalization > 10:56:15.993982 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:15.994128 [debug] [Thread-2 ]: Began executing node model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11 2022-04-22 10:56:35 normalization > 10:56:15.999982 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11" 2022-04-22 10:56:35 normalization > 10:56:16.002074 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11" 2022-04-22 10:56:35 normalization > 10:56:16.003225 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 0.22 seconds 2022-04-22 10:56:35 normalization > 10:56:16.007865 [debug] [Thread-3 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:16.008695 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA_SYSTEM: Close 2022-04-22 10:56:35 normalization > 10:56:16.061119 [debug] [Thread-2 ]: SQL status: SUCCESS 7 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:56:16.071653 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11" 2022-04-22 10:56:35 normalization > 10:56:16.072574 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace temporary table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11__dbt_tmp" as 2022-04-22 10:56:35 normalization > (select * from( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > with __dbt__cte__TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_AB1 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to parse JSON blob stored in a single column and extract into separated field columns as described by the JSON Schema 2022-04-22 10:56:35 normalization > -- depends_on: "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA_FLAGS_OPTIONS" 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_FLAGS_OPTIONS_HASHID, 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > get_path(parse_json(table_alias."11"), '"message"') 2022-04-22 10:56:35 normalization > as MESSAGE, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json("11"), '"trusted"')) as TRUSTED, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA_FLAGS_OPTIONS" as table_alias 2022-04-22 10:56:35 normalization > -- 11 at ticket_audits/metadata/flags_options/11 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > and "11" is not null 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_AB2 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to cast each column to its adequate SQL type converted from the JSON schema type 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_AB1 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_FLAGS_OPTIONS_HASHID, 2022-04-22 10:56:35 normalization > cast(MESSAGE as 2022-04-22 10:56:35 normalization > variant 2022-04-22 10:56:35 normalization > ) as MESSAGE, 2022-04-22 10:56:35 normalization > cast(TRUSTED as boolean) as TRUSTED, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_AB1 2022-04-22 10:56:35 normalization > -- 11 at ticket_audits/metadata/flags_options/11 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_AB3 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to build a hash column based on the values of this record 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_AB2 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(_AIRBYTE_FLAGS_OPTIONS_HASHID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(MESSAGE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(TRUSTED as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_11_HASHID, 2022-04-22 10:56:35 normalization > tmp.* 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_AB2 tmp 2022-04-22 10:56:35 normalization > -- 11 at ticket_audits/metadata/flags_options/11 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > )-- Final base SQL model 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_AB3 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_FLAGS_OPTIONS_HASHID, 2022-04-22 10:56:35 normalization > MESSAGE, 2022-04-22 10:56:35 normalization > TRUSTED, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_11_HASHID 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_AB3 2022-04-22 10:56:35 normalization > -- 11 at ticket_audits/metadata/flags_options/11 from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA_FLAGS_OPTIONS" 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > and cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) >= 2022-04-22 10:56:35 normalization > cast('2022-04-20 22:55:57.841000-07:00' as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ) order by (_AIRBYTE_EMITTED_AT) 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:56:16.073263 [debug] [Thread-4 ]: SQL status: SUCCESS 1 in 0.23 seconds 2022-04-22 10:56:35 normalization > 10:56:16.087856 [debug] [Thread-4 ]: Writing injected SQL for node "model.airbyte_utils.USERS_PHOTO_THUMBNAILS" 2022-04-22 10:56:35 normalization > 10:56:16.089087 [debug] [Thread-4 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:16.089271 [debug] [Thread-4 ]: Began executing node model.airbyte_utils.USERS_PHOTO_THUMBNAILS 2022-04-22 10:56:35 normalization > 10:56:16.095368 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.USERS_PHOTO_THUMBNAILS" 2022-04-22 10:56:35 normalization > 10:56:16.095563 [debug] [Thread-4 ]: On model.airbyte_utils.USERS_PHOTO_THUMBNAILS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.USERS_PHOTO_THUMBNAILS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."USERS_PHOTO_THUMBNAILS" 2022-04-22 10:56:35 normalization > 10:56:16.120860 [info ] [Thread-3 ]: 77 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_COMMENTS_METADATA_SYSTEM................................... [SUCCESS 1 in 4.14s] 2022-04-22 10:56:35 normalization > 10:56:16.121399 [debug] [Thread-3 ]: Finished running node model.airbyte_utils.TICKET_COMMENTS_METADATA_SYSTEM 2022-04-22 10:56:35 normalization > 10:56:16.121663 [debug] [Thread-3 ]: Began running node model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS 2022-04-22 10:56:35 normalization > 10:56:16.122071 [info ] [Thread-3 ]: 82 of 95 START incremental model ZENDESK_SUPPORT.TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS............................ [RUN] 2022-04-22 10:56:35 normalization > 10:56:16.122993 [debug] [Thread-3 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS" 2022-04-22 10:56:35 normalization > 10:56:16.123181 [debug] [Thread-3 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS 2022-04-22 10:56:35 normalization > 10:56:16.123311 [debug] [Thread-3 ]: Compiling model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS 2022-04-22 10:56:35 normalization > 10:56:16.140336 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS" 2022-04-22 10:56:35 normalization > 10:56:16.142452 [debug] [Thread-5 ]: SQL status: SUCCESS 6 in 0.57 seconds 2022-04-22 10:56:35 normalization > 10:56:16.142818 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS" 2022-04-22 10:56:35 normalization > 10:56:16.152856 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2" 2022-04-22 10:56:35 normalization > 10:56:16.153216 [debug] [Thread-3 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:56:16.154989 [debug] [Thread-4 ]: SQL status: SUCCESS 15 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:56:16.155224 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2" 2022-04-22 10:56:35 normalization > 10:56:16.172013 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.USERS_PHOTO_THUMBNAILS" 2022-04-22 10:56:35 normalization > 10:56:16.174539 [debug] [Thread-4 ]: On model.airbyte_utils.USERS_PHOTO_THUMBNAILS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.USERS_PHOTO_THUMBNAILS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace temporary table "AIRBYTE_DB".ZENDESK_SUPPORT."USERS_PHOTO_THUMBNAILS__dbt_tmp" as 2022-04-22 10:56:35 normalization > (select * from( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > with __dbt__cte__USERS_PHOTO_THUMBNAILS_AB1 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to parse JSON blob stored in a single column and extract into separated field columns as described by the JSON Schema 2022-04-22 10:56:35 normalization > -- depends_on: "AIRBYTE_DB".ZENDESK_SUPPORT."USERS_PHOTO" 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_PHOTO_HASHID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(THUMBNAILS.value), '"id"')) as ID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(THUMBNAILS.value), '"url"')) as URL, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(THUMBNAILS.value), '"size"')) as SIZE, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(THUMBNAILS.value), '"width"')) as WIDTH, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(THUMBNAILS.value), '"height"')) as HEIGHT, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(THUMBNAILS.value), '"inline"')) as INLINE, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(THUMBNAILS.value), '"file_name"')) as FILE_NAME, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(THUMBNAILS.value), '"content_url"')) as CONTENT_URL, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(THUMBNAILS.value), '"content_type"')) as CONTENT_TYPE, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(THUMBNAILS.value), '"mapped_content_url"')) as MAPPED_CONTENT_URL, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."USERS_PHOTO" as table_alias 2022-04-22 10:56:35 normalization > -- THUMBNAILS at users/photo/thumbnails 2022-04-22 10:56:35 normalization > cross join table(flatten(THUMBNAILS)) as THUMBNAILS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > and THUMBNAILS is not null 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__USERS_PHOTO_THUMBNAILS_AB2 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to cast each column to its adequate SQL type converted from the JSON schema type 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__USERS_PHOTO_THUMBNAILS_AB1 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_PHOTO_HASHID, 2022-04-22 10:56:35 normalization > cast(ID as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as ID, 2022-04-22 10:56:35 normalization > cast(URL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as URL, 2022-04-22 10:56:35 normalization > cast(SIZE as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as SIZE, 2022-04-22 10:56:35 normalization > cast(WIDTH as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as WIDTH, 2022-04-22 10:56:35 normalization > cast(HEIGHT as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as HEIGHT, 2022-04-22 10:56:35 normalization > cast(INLINE as boolean) as INLINE, 2022-04-22 10:56:35 normalization > cast(FILE_NAME as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as FILE_NAME, 2022-04-22 10:56:35 normalization > cast(CONTENT_URL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as CONTENT_URL, 2022-04-22 10:56:35 normalization > cast(CONTENT_TYPE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as CONTENT_TYPE, 2022-04-22 10:56:35 normalization > cast(MAPPED_CONTENT_URL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as MAPPED_CONTENT_URL, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from __dbt__cte__USERS_PHOTO_THUMBNAILS_AB1 2022-04-22 10:56:35 normalization > -- THUMBNAILS at users/photo/thumbnails 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__USERS_PHOTO_THUMBNAILS_AB3 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to build a hash column based on the values of this record 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__USERS_PHOTO_THUMBNAILS_AB2 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(_AIRBYTE_PHOTO_HASHID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(URL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(SIZE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(WIDTH as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(HEIGHT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(INLINE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(FILE_NAME as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(CONTENT_URL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(CONTENT_TYPE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(MAPPED_CONTENT_URL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_THUMBNAILS_HASHID, 2022-04-22 10:56:35 normalization > tmp.* 2022-04-22 10:56:35 normalization > from __dbt__cte__USERS_PHOTO_THUMBNAILS_AB2 tmp 2022-04-22 10:56:35 normalization > -- THUMBNAILS at users/photo/thumbnails 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > )-- Final base SQL model 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__USERS_PHOTO_THUMBNAILS_AB3 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_PHOTO_HASHID, 2022-04-22 10:56:35 normalization > ID, 2022-04-22 10:56:35 normalization > URL, 2022-04-22 10:56:35 normalization > SIZE, 2022-04-22 10:56:35 normalization > WIDTH, 2022-04-22 10:56:35 normalization > HEIGHT, 2022-04-22 10:56:35 normalization > INLINE, 2022-04-22 10:56:35 normalization > FILE_NAME, 2022-04-22 10:56:35 normalization > CONTENT_URL, 2022-04-22 10:56:35 normalization > CONTENT_TYPE, 2022-04-22 10:56:35 normalization > MAPPED_CONTENT_URL, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_THUMBNAILS_HASHID 2022-04-22 10:56:35 normalization > from __dbt__cte__USERS_PHOTO_THUMBNAILS_AB3 2022-04-22 10:56:35 normalization > -- THUMBNAILS at users/photo/thumbnails from "AIRBYTE_DB".ZENDESK_SUPPORT."USERS_PHOTO" 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > and cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) >= 2022-04-22 10:56:35 normalization > cast('2022-04-22 10:49:19.092000-07:00' as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ) order by (_AIRBYTE_EMITTED_AT) 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:56:16.244140 [debug] [Thread-5 ]: SQL status: SUCCESS 6 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:56:16.267506 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2" 2022-04-22 10:56:35 normalization > 10:56:16.283200 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2" 2022-04-22 10:56:35 normalization > 10:56:16.593846 [debug] [Thread-5 ]: SQL status: SUCCESS 1 in 0.29 seconds 2022-04-22 10:56:35 normalization > 10:56:16.603994 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2" 2022-04-22 10:56:35 normalization > 10:56:16.604259 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2" 2022-04-22 10:56:35 normalization > 10:56:16.636748 [debug] [Thread-3 ]: SQL status: SUCCESS 15 in 0.48 seconds 2022-04-22 10:56:35 normalization > 10:56:16.647186 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS" 2022-04-22 10:56:35 normalization > 10:56:16.647418 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS" 2022-04-22 10:56:35 normalization > 10:56:16.652960 [debug] [Thread-5 ]: SQL status: SUCCESS 6 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:56:16.655403 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2" 2022-04-22 10:56:35 normalization > 10:56:16.655566 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2" 2022-04-22 10:56:35 normalization > 10:56:16.697696 [debug] [Thread-3 ]: SQL status: SUCCESS 15 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:56:16.700812 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS" 2022-04-22 10:56:35 normalization > 10:56:16.701021 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS" 2022-04-22 10:56:35 normalization > 10:56:16.713513 [debug] [Thread-5 ]: SQL status: SUCCESS 1 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:56:16.720570 [debug] [Thread-5 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2" 2022-04-22 10:56:35 normalization > 10:56:16.721045 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:16.721223 [debug] [Thread-5 ]: Began executing node model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2 2022-04-22 10:56:35 normalization > 10:56:16.726947 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2" 2022-04-22 10:56:35 normalization > 10:56:16.727112 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2" 2022-04-22 10:56:35 normalization > 10:56:16.782322 [debug] [Thread-5 ]: SQL status: SUCCESS 6 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:56:16.792523 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2" 2022-04-22 10:56:35 normalization > 10:56:16.792826 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace temporary table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2__dbt_tmp" as 2022-04-22 10:56:35 normalization > (select * from( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > with __dbt__cte__TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2_AB1 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to parse JSON blob stored in a single column and extract into separated field columns as described by the JSON Schema 2022-04-22 10:56:35 normalization > -- depends_on: "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA_FLAGS_OPTIONS" 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_FLAGS_OPTIONS_HASHID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json("2"), '"trusted"')) as TRUSTED, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA_FLAGS_OPTIONS" as table_alias 2022-04-22 10:56:35 normalization > -- 2 at ticket_audits/metadata/flags_options/2 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > and "2" is not null 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2_AB2 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to cast each column to its adequate SQL type converted from the JSON schema type 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2_AB1 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_FLAGS_OPTIONS_HASHID, 2022-04-22 10:56:35 normalization > cast(TRUSTED as boolean) as TRUSTED, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2_AB1 2022-04-22 10:56:35 normalization > -- 2 at ticket_audits/metadata/flags_options/2 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2_AB3 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to build a hash column based on the values of this record 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2_AB2 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(_AIRBYTE_FLAGS_OPTIONS_HASHID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(TRUSTED as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_2_HASHID, 2022-04-22 10:56:35 normalization > tmp.* 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2_AB2 tmp 2022-04-22 10:56:35 normalization > -- 2 at ticket_audits/metadata/flags_options/2 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > )-- Final base SQL model 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2_AB3 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_FLAGS_OPTIONS_HASHID, 2022-04-22 10:56:35 normalization > TRUSTED, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_2_HASHID 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2_AB3 2022-04-22 10:56:35 normalization > -- 2 at ticket_audits/metadata/flags_options/2 from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA_FLAGS_OPTIONS" 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > and cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) >= 2022-04-22 10:56:35 normalization > cast('2022-04-21 22:53:36.552000-07:00' as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ) order by (_AIRBYTE_EMITTED_AT) 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:56:16.965508 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 0.89 seconds 2022-04-22 10:56:35 normalization > 10:56:16.972780 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11" 2022-04-22 10:56:35 normalization > 10:56:16.973158 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:56:16.983214 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 1.2 seconds 2022-04-22 10:56:35 normalization > 10:56:16.987597 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKETS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:16.987796 [debug] [Thread-1 ]: On model.airbyte_utils.TICKETS_VIA_SOURCE: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_VIA_SOURCE"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_VIA_SOURCE__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:56:17.033938 [debug] [Thread-2 ]: SQL status: SUCCESS 7 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:56:17.039022 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11" 2022-04-22 10:56:35 normalization > 10:56:17.039276 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11" 2022-04-22 10:56:35 normalization > 10:56:17.050312 [debug] [Thread-1 ]: SQL status: SUCCESS 8 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:56:17.059132 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKETS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:17.059425 [debug] [Thread-1 ]: On model.airbyte_utils.TICKETS_VIA_SOURCE: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_VIA_SOURCE"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:17.109857 [debug] [Thread-2 ]: SQL status: SUCCESS 7 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:56:17.115274 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11" 2022-04-22 10:56:35 normalization > 10:56:17.116659 [debug] [Thread-1 ]: SQL status: SUCCESS 8 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:56:17.116852 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:56:17.122623 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKETS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:17.123428 [debug] [Thread-1 ]: On model.airbyte_utils.TICKETS_VIA_SOURCE: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_VIA_SOURCE"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_VIA_SOURCE__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:56:17.153883 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 0.45 seconds 2022-04-22 10:56:35 normalization > 10:56:17.166206 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS" 2022-04-22 10:56:35 normalization > 10:56:17.166464 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS" 2022-04-22 10:56:35 normalization > 10:56:17.169472 [debug] [Thread-4 ]: SQL status: SUCCESS 1 in 0.99 seconds 2022-04-22 10:56:35 normalization > 10:56:17.174118 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.USERS_PHOTO_THUMBNAILS" 2022-04-22 10:56:35 normalization > 10:56:17.174353 [debug] [Thread-4 ]: On model.airbyte_utils.USERS_PHOTO_THUMBNAILS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.USERS_PHOTO_THUMBNAILS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."USERS_PHOTO_THUMBNAILS__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:56:17.177759 [debug] [Thread-1 ]: SQL status: SUCCESS 8 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:56:17.182348 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKETS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:17.182535 [debug] [Thread-1 ]: On model.airbyte_utils.TICKETS_VIA_SOURCE: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_VIA_SOURCE"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKETS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:17.214539 [debug] [Thread-2 ]: SQL status: SUCCESS 7 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:56:17.219302 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11" 2022-04-22 10:56:35 normalization > 10:56:17.219499 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11" 2022-04-22 10:56:35 normalization > 10:56:17.237701 [debug] [Thread-4 ]: SQL status: SUCCESS 15 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:56:17.242917 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.USERS_PHOTO_THUMBNAILS" 2022-04-22 10:56:35 normalization > 10:56:17.243139 [debug] [Thread-4 ]: On model.airbyte_utils.USERS_PHOTO_THUMBNAILS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.USERS_PHOTO_THUMBNAILS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."USERS_PHOTO_THUMBNAILS" 2022-04-22 10:56:35 normalization > 10:56:17.279857 [debug] [Thread-2 ]: SQL status: SUCCESS 7 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:56:17.284526 [debug] [Thread-2 ]: 2022-04-22 10:56:35 normalization > In "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11": 2022-04-22 10:56:35 normalization > Schema changed: False 2022-04-22 10:56:35 normalization > Source columns not in target: [] 2022-04-22 10:56:35 normalization > Target columns not in source: [] 2022-04-22 10:56:35 normalization > New column types: [] 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 10:56:17.286805 [debug] [Thread-2 ]: Writing runtime SQL for node "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11" 2022-04-22 10:56:35 normalization > 10:56:17.288137 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11" 2022-04-22 10:56:35 normalization > 10:56:17.288330 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11"} */ 2022-04-22 10:56:35 normalization > begin; 2022-04-22 10:56:35 normalization > 10:56:17.462675 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 0.17 seconds 2022-04-22 10:56:35 normalization > 10:56:17.463004 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11" 2022-04-22 10:56:35 normalization > 10:56:17.463123 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11: insert into "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11" ("_AIRBYTE_FLAGS_OPTIONS_HASHID", "MESSAGE", "TRUSTED", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_11_HASHID") 2022-04-22 10:56:35 normalization > ( 2022-04-22 10:56:35 normalization > select "_AIRBYTE_FLAGS_OPTIONS_HASHID", "MESSAGE", "TRUSTED", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_11_HASHID" 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11__dbt_tmp" 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:56:17.807743 [debug] [Thread-1 ]: SQL status: SUCCESS 8 in 0.63 seconds 2022-04-22 10:56:35 normalization > 10:56:17.811198 [debug] [Thread-1 ]: 2022-04-22 10:56:35 normalization > In "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKETS_VIA_SOURCE": 2022-04-22 10:56:35 normalization > Schema changed: False 2022-04-22 10:56:35 normalization > Source columns not in target: [] 2022-04-22 10:56:35 normalization > Target columns not in source: [] 2022-04-22 10:56:35 normalization > New column types: [] 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 10:56:17.812628 [debug] [Thread-3 ]: SQL status: SUCCESS 15 in 0.65 seconds 2022-04-22 10:56:35 normalization > 10:56:17.813850 [debug] [Thread-1 ]: Writing runtime SQL for node "model.airbyte_utils.TICKETS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:17.817944 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS" 2022-04-22 10:56:35 normalization > 10:56:17.818371 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS" 2022-04-22 10:56:35 normalization > 10:56:17.819474 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKETS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:17.821234 [debug] [Thread-1 ]: On model.airbyte_utils.TICKETS_VIA_SOURCE: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_VIA_SOURCE"} */ 2022-04-22 10:56:35 normalization > begin; 2022-04-22 10:56:35 normalization > 10:56:17.863585 [debug] [Thread-4 ]: SQL status: SUCCESS 15 in 0.62 seconds 2022-04-22 10:56:35 normalization > 10:56:17.869809 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.USERS_PHOTO_THUMBNAILS" 2022-04-22 10:56:35 normalization > 10:56:17.870098 [debug] [Thread-4 ]: On model.airbyte_utils.USERS_PHOTO_THUMBNAILS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.USERS_PHOTO_THUMBNAILS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."USERS_PHOTO_THUMBNAILS__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:56:17.878875 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:56:17.887981 [debug] [Thread-3 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS" 2022-04-22 10:56:35 normalization > 10:56:17.888416 [debug] [Thread-3 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:17.888574 [debug] [Thread-3 ]: Began executing node model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS 2022-04-22 10:56:35 normalization > 10:56:17.896843 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS" 2022-04-22 10:56:35 normalization > 10:56:17.897164 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS" 2022-04-22 10:56:35 normalization > 10:56:17.930141 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 0.11 seconds 2022-04-22 10:56:35 normalization > 10:56:17.930459 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKETS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:17.930579 [debug] [Thread-1 ]: On model.airbyte_utils.TICKETS_VIA_SOURCE: insert into "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_VIA_SOURCE" ("_AIRBYTE_VIA_HASHID", "to", "REL", "from", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_SOURCE_HASHID") 2022-04-22 10:56:35 normalization > ( 2022-04-22 10:56:35 normalization > select "_AIRBYTE_VIA_HASHID", "to", "REL", "from", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_SOURCE_HASHID" 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_VIA_SOURCE__dbt_tmp" 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:56:17.933871 [debug] [Thread-4 ]: SQL status: SUCCESS 15 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:56:17.940472 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.USERS_PHOTO_THUMBNAILS" 2022-04-22 10:56:35 normalization > 10:56:17.940667 [debug] [Thread-4 ]: On model.airbyte_utils.USERS_PHOTO_THUMBNAILS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.USERS_PHOTO_THUMBNAILS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"."ZENDESK_SUPPORT"."USERS_PHOTO_THUMBNAILS" 2022-04-22 10:56:35 normalization > 10:56:17.967010 [debug] [Thread-3 ]: SQL status: SUCCESS 15 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:56:17.980448 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS" 2022-04-22 10:56:35 normalization > 10:56:17.980694 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace temporary table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS__dbt_tmp" as 2022-04-22 10:56:35 normalization > (select * from( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > with __dbt__cte__TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS_AB1 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to parse JSON blob stored in a single column and extract into separated field columns as described by the JSON Schema 2022-04-22 10:56:35 normalization > -- depends_on: "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_ATTACHMENTS" 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_ATTACHMENTS_HASHID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(THUMBNAILS.value), '"id"')) as ID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(THUMBNAILS.value), '"url"')) as URL, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(THUMBNAILS.value), '"size"')) as SIZE, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(THUMBNAILS.value), '"width"')) as WIDTH, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(THUMBNAILS.value), '"height"')) as HEIGHT, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(THUMBNAILS.value), '"inline"')) as INLINE, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(THUMBNAILS.value), '"file_name"')) as FILE_NAME, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(THUMBNAILS.value), '"content_url"')) as CONTENT_URL, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(THUMBNAILS.value), '"content_type"')) as CONTENT_TYPE, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(THUMBNAILS.value), '"mapped_content_url"')) as MAPPED_CONTENT_URL, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_ATTACHMENTS" as table_alias 2022-04-22 10:56:35 normalization > -- THUMBNAILS at ticket_audits/events/attachments/thumbnails 2022-04-22 10:56:35 normalization > cross join table(flatten(THUMBNAILS)) as THUMBNAILS 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > and THUMBNAILS is not null 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS_AB2 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to cast each column to its adequate SQL type converted from the JSON schema type 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS_AB1 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_ATTACHMENTS_HASHID, 2022-04-22 10:56:35 normalization > cast(ID as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as ID, 2022-04-22 10:56:35 normalization > cast(URL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as URL, 2022-04-22 10:56:35 normalization > cast(SIZE as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as SIZE, 2022-04-22 10:56:35 normalization > cast(WIDTH as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as WIDTH, 2022-04-22 10:56:35 normalization > cast(HEIGHT as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as HEIGHT, 2022-04-22 10:56:35 normalization > cast(INLINE as boolean) as INLINE, 2022-04-22 10:56:35 normalization > cast(FILE_NAME as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as FILE_NAME, 2022-04-22 10:56:35 normalization > cast(CONTENT_URL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as CONTENT_URL, 2022-04-22 10:56:35 normalization > cast(CONTENT_TYPE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as CONTENT_TYPE, 2022-04-22 10:56:35 normalization > cast(MAPPED_CONTENT_URL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as MAPPED_CONTENT_URL, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS_AB1 2022-04-22 10:56:35 normalization > -- THUMBNAILS at ticket_audits/events/attachments/thumbnails 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS_AB3 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to build a hash column based on the values of this record 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS_AB2 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(_AIRBYTE_ATTACHMENTS_HASHID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(URL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(SIZE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(WIDTH as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(HEIGHT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(INLINE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(FILE_NAME as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(CONTENT_URL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(CONTENT_TYPE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(MAPPED_CONTENT_URL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_THUMBNAILS_HASHID, 2022-04-22 10:56:35 normalization > tmp.* 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS_AB2 tmp 2022-04-22 10:56:35 normalization > -- THUMBNAILS at ticket_audits/events/attachments/thumbnails 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > )-- Final base SQL model 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS_AB3 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_ATTACHMENTS_HASHID, 2022-04-22 10:56:35 normalization > ID, 2022-04-22 10:56:35 normalization > URL, 2022-04-22 10:56:35 normalization > SIZE, 2022-04-22 10:56:35 normalization > WIDTH, 2022-04-22 10:56:35 normalization > HEIGHT, 2022-04-22 10:56:35 normalization > INLINE, 2022-04-22 10:56:35 normalization > FILE_NAME, 2022-04-22 10:56:35 normalization > CONTENT_URL, 2022-04-22 10:56:35 normalization > CONTENT_TYPE, 2022-04-22 10:56:35 normalization > MAPPED_CONTENT_URL, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_THUMBNAILS_HASHID 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS_AB3 2022-04-22 10:56:35 normalization > -- THUMBNAILS at ticket_audits/events/attachments/thumbnails from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_ATTACHMENTS" 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > and cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) >= 2022-04-22 10:56:35 normalization > cast('2022-04-22 10:47:49.550000-07:00' as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ) order by (_AIRBYTE_EMITTED_AT) 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:56:17.997133 [debug] [Thread-4 ]: SQL status: SUCCESS 15 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:56:18.001160 [debug] [Thread-4 ]: 2022-04-22 10:56:35 normalization > In "AIRBYTE_DB"."ZENDESK_SUPPORT"."USERS_PHOTO_THUMBNAILS": 2022-04-22 10:56:35 normalization > Schema changed: False 2022-04-22 10:56:35 normalization > Source columns not in target: [] 2022-04-22 10:56:35 normalization > Target columns not in source: [] 2022-04-22 10:56:35 normalization > New column types: [] 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 10:56:18.002405 [debug] [Thread-4 ]: Writing runtime SQL for node "model.airbyte_utils.USERS_PHOTO_THUMBNAILS" 2022-04-22 10:56:35 normalization > 10:56:18.003192 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.USERS_PHOTO_THUMBNAILS" 2022-04-22 10:56:35 normalization > 10:56:18.003419 [debug] [Thread-4 ]: On model.airbyte_utils.USERS_PHOTO_THUMBNAILS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.USERS_PHOTO_THUMBNAILS"} */ 2022-04-22 10:56:35 normalization > begin; 2022-04-22 10:56:35 normalization > 10:56:18.034258 [debug] [Thread-5 ]: SQL status: SUCCESS 1 in 1.24 seconds 2022-04-22 10:56:35 normalization > 10:56:18.038855 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2" 2022-04-22 10:56:35 normalization > 10:56:18.039070 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:56:18.098720 [debug] [Thread-4 ]: SQL status: SUCCESS 1 in 0.1 seconds 2022-04-22 10:56:35 normalization > 10:56:18.100132 [debug] [Thread-5 ]: SQL status: SUCCESS 6 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:56:18.100517 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.USERS_PHOTO_THUMBNAILS" 2022-04-22 10:56:35 normalization > 10:56:18.105914 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2" 2022-04-22 10:56:35 normalization > 10:56:18.106143 [debug] [Thread-4 ]: On model.airbyte_utils.USERS_PHOTO_THUMBNAILS: insert into "AIRBYTE_DB".ZENDESK_SUPPORT."USERS_PHOTO_THUMBNAILS" ("_AIRBYTE_PHOTO_HASHID", "ID", "URL", "SIZE", "WIDTH", "HEIGHT", "INLINE", "FILE_NAME", "CONTENT_URL", "CONTENT_TYPE", "MAPPED_CONTENT_URL", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_THUMBNAILS_HASHID") 2022-04-22 10:56:35 normalization > ( 2022-04-22 10:56:35 normalization > select "_AIRBYTE_PHOTO_HASHID", "ID", "URL", "SIZE", "WIDTH", "HEIGHT", "INLINE", "FILE_NAME", "CONTENT_URL", "CONTENT_TYPE", "MAPPED_CONTENT_URL", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_THUMBNAILS_HASHID" 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."USERS_PHOTO_THUMBNAILS__dbt_tmp" 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:56:18.106355 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2" 2022-04-22 10:56:35 normalization > 10:56:18.221342 [debug] [Thread-5 ]: SQL status: SUCCESS 6 in 0.11 seconds 2022-04-22 10:56:35 normalization > 10:56:18.229593 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2" 2022-04-22 10:56:35 normalization > 10:56:18.229837 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:56:18.297454 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 0.83 seconds 2022-04-22 10:56:35 normalization > 10:56:18.297772 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11" 2022-04-22 10:56:35 normalization > 10:56:18.297890 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11: commit; 2022-04-22 10:56:35 normalization > 10:56:18.311299 [debug] [Thread-5 ]: SQL status: SUCCESS 6 in 0.08 seconds 2022-04-22 10:56:35 normalization > 10:56:18.320113 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2" 2022-04-22 10:56:35 normalization > 10:56:18.320477 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2" 2022-04-22 10:56:35 normalization > 10:56:18.357240 [debug] [Thread-1 ]: SQL status: SUCCESS 81 in 0.43 seconds 2022-04-22 10:56:35 normalization > 10:56:18.357686 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKETS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:18.358123 [debug] [Thread-1 ]: On model.airbyte_utils.TICKETS_VIA_SOURCE: commit; 2022-04-22 10:56:35 normalization > 10:56:18.374067 [debug] [Thread-5 ]: SQL status: SUCCESS 6 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:56:18.379230 [debug] [Thread-5 ]: 2022-04-22 10:56:35 normalization > In "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2": 2022-04-22 10:56:35 normalization > Schema changed: False 2022-04-22 10:56:35 normalization > Source columns not in target: [] 2022-04-22 10:56:35 normalization > Target columns not in source: [] 2022-04-22 10:56:35 normalization > New column types: [] 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 10:56:18.381297 [debug] [Thread-5 ]: Writing runtime SQL for node "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2" 2022-04-22 10:56:35 normalization > 10:56:18.382502 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2" 2022-04-22 10:56:35 normalization > 10:56:18.382808 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2"} */ 2022-04-22 10:56:35 normalization > begin; 2022-04-22 10:56:35 normalization > 10:56:18.467049 [debug] [Thread-4 ]: SQL status: SUCCESS 5 in 0.36 seconds 2022-04-22 10:56:35 normalization > 10:56:18.467450 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.USERS_PHOTO_THUMBNAILS" 2022-04-22 10:56:35 normalization > 10:56:18.467612 [debug] [Thread-4 ]: On model.airbyte_utils.USERS_PHOTO_THUMBNAILS: commit; 2022-04-22 10:56:35 normalization > 10:56:18.469211 [debug] [Thread-5 ]: SQL status: SUCCESS 1 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:56:18.469449 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2" 2022-04-22 10:56:35 normalization > 10:56:18.470592 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2: insert into "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2" ("_AIRBYTE_FLAGS_OPTIONS_HASHID", "TRUSTED", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_2_HASHID") 2022-04-22 10:56:35 normalization > ( 2022-04-22 10:56:35 normalization > select "_AIRBYTE_FLAGS_OPTIONS_HASHID", "TRUSTED", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_2_HASHID" 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2__dbt_tmp" 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:56:18.533570 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 0.24 seconds 2022-04-22 10:56:35 normalization > 10:56:18.542897 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:18.543228 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11: Close 2022-04-22 10:56:35 normalization > 10:56:18.588179 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 0.23 seconds 2022-04-22 10:56:35 normalization > 10:56:18.592588 [debug] [Thread-1 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:18.592975 [debug] [Thread-1 ]: On model.airbyte_utils.TICKETS_VIA_SOURCE: Close 2022-04-22 10:56:35 normalization > 10:56:18.641394 [info ] [Thread-2 ]: 80 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11........................... [SUCCESS 1 in 4.15s] 2022-04-22 10:56:35 normalization > 10:56:18.641978 [debug] [Thread-2 ]: Finished running node model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11 2022-04-22 10:56:35 normalization > 10:56:18.642235 [debug] [Thread-2 ]: Began running node model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE 2022-04-22 10:56:35 normalization > 10:56:18.642985 [info ] [Thread-2 ]: 83 of 95 START incremental model ZENDESK_SUPPORT.TICKET_AUDITS_EVENTS_VIA_SOURCE........................................ [RUN] 2022-04-22 10:56:35 normalization > 10:56:18.643566 [debug] [Thread-2 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:18.643841 [debug] [Thread-2 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE 2022-04-22 10:56:35 normalization > 10:56:18.643989 [debug] [Thread-2 ]: Compiling model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE 2022-04-22 10:56:35 normalization > 10:56:18.659899 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:18.660132 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:18.660247 [debug] [Thread-2 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:56:18.711984 [debug] [Thread-4 ]: SQL status: SUCCESS 1 in 0.24 seconds 2022-04-22 10:56:35 normalization > 10:56:18.713456 [info ] [Thread-1 ]: 78 of 95 OK created incremental model ZENDESK_SUPPORT.TICKETS_VIA_SOURCE................................................ [SUCCESS 1 in 4.68s] 2022-04-22 10:56:35 normalization > 10:56:18.736439 [debug] [Thread-4 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:18.765284 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 0.78 seconds 2022-04-22 10:56:35 normalization > 10:56:18.771110 [debug] [Thread-4 ]: On model.airbyte_utils.USERS_PHOTO_THUMBNAILS: Close 2022-04-22 10:56:35 normalization > 10:56:18.781203 [debug] [Thread-1 ]: Finished running node model.airbyte_utils.TICKETS_VIA_SOURCE 2022-04-22 10:56:35 normalization > 10:56:18.802614 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS" 2022-04-22 10:56:35 normalization > 10:56:18.822721 [debug] [Thread-1 ]: Began running node model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_FROM 2022-04-22 10:56:35 normalization > 10:56:18.844288 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:56:18.857885 [info ] [Thread-1 ]: 84 of 95 START incremental model ZENDESK_SUPPORT.TICKET_AUDITS_VIA_SOURCE_FROM.......................................... [RUN] 2022-04-22 10:56:35 normalization > 10:56:18.860169 [debug] [Thread-1 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:18.860519 [debug] [Thread-1 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_FROM 2022-04-22 10:56:35 normalization > 10:56:18.860739 [debug] [Thread-1 ]: Compiling model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_FROM 2022-04-22 10:56:35 normalization > 10:56:18.883583 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:18.884267 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_FROM: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_FROM"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:18.892345 [debug] [Thread-1 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:56:18.968118 [debug] [Thread-3 ]: SQL status: SUCCESS 15 in 0.11 seconds 2022-04-22 10:56:35 normalization > 10:56:18.990233 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS" 2022-04-22 10:56:35 normalization > 10:56:18.996934 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS" 2022-04-22 10:56:35 normalization > 10:56:19.015985 [info ] [Thread-4 ]: 79 of 95 OK created incremental model ZENDESK_SUPPORT.USERS_PHOTO_THUMBNAILS............................................ [SUCCESS 1 in 4.68s] 2022-04-22 10:56:35 normalization > 10:56:19.049467 [debug] [Thread-4 ]: Finished running node model.airbyte_utils.USERS_PHOTO_THUMBNAILS 2022-04-22 10:56:35 normalization > 10:56:19.055346 [debug] [Thread-4 ]: Began running node model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_TO 2022-04-22 10:56:35 normalization > 10:56:19.055924 [info ] [Thread-4 ]: 85 of 95 START incremental model ZENDESK_SUPPORT.TICKET_AUDITS_VIA_SOURCE_TO............................................ [RUN] 2022-04-22 10:56:35 normalization > 10:56:19.062301 [debug] [Thread-4 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:19.067993 [debug] [Thread-4 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_TO 2022-04-22 10:56:35 normalization > 10:56:19.073540 [debug] [Thread-4 ]: Compiling model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_TO 2022-04-22 10:56:35 normalization > 10:56:19.085651 [debug] [Thread-3 ]: SQL status: SUCCESS 15 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:56:19.102240 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:19.117991 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS" 2022-04-22 10:56:35 normalization > 10:56:19.118525 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_TO: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_TO"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:19.119220 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:56:19.132242 [debug] [Thread-4 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:56:19.136070 [debug] [Thread-5 ]: SQL status: SUCCESS 4 in 0.67 seconds 2022-04-22 10:56:35 normalization > 10:56:19.140524 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2" 2022-04-22 10:56:35 normalization > 10:56:19.141313 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2: commit; 2022-04-22 10:56:35 normalization > 10:56:19.243098 [debug] [Thread-3 ]: SQL status: SUCCESS 15 in 0.11 seconds 2022-04-22 10:56:35 normalization > 10:56:19.257392 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS" 2022-04-22 10:56:35 normalization > 10:56:19.294153 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS" 2022-04-22 10:56:35 normalization > 10:56:19.431471 [debug] [Thread-5 ]: SQL status: SUCCESS 1 in 0.29 seconds 2022-04-22 10:56:35 normalization > 10:56:19.435126 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:19.451511 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2: Close 2022-04-22 10:56:35 normalization > 10:56:19.452451 [debug] [Thread-3 ]: SQL status: SUCCESS 15 in 0.14 seconds 2022-04-22 10:56:35 normalization > 10:56:19.459526 [debug] [Thread-3 ]: 2022-04-22 10:56:35 normalization > In "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS": 2022-04-22 10:56:35 normalization > Schema changed: False 2022-04-22 10:56:35 normalization > Source columns not in target: [] 2022-04-22 10:56:35 normalization > Target columns not in source: [] 2022-04-22 10:56:35 normalization > New column types: [] 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 10:56:19.460940 [debug] [Thread-3 ]: Writing runtime SQL for node "model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS" 2022-04-22 10:56:35 normalization > 10:56:19.468594 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS" 2022-04-22 10:56:35 normalization > 10:56:19.468993 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS"} */ 2022-04-22 10:56:35 normalization > begin; 2022-04-22 10:56:35 normalization > 10:56:19.559130 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:56:19.559611 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS" 2022-04-22 10:56:35 normalization > 10:56:19.559883 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS: insert into "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS" ("_AIRBYTE_ATTACHMENTS_HASHID", "ID", "URL", "SIZE", "WIDTH", "HEIGHT", "INLINE", "FILE_NAME", "CONTENT_URL", "CONTENT_TYPE", "MAPPED_CONTENT_URL", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_THUMBNAILS_HASHID") 2022-04-22 10:56:35 normalization > ( 2022-04-22 10:56:35 normalization > select "_AIRBYTE_ATTACHMENTS_HASHID", "ID", "URL", "SIZE", "WIDTH", "HEIGHT", "INLINE", "FILE_NAME", "CONTENT_URL", "CONTENT_TYPE", "MAPPED_CONTENT_URL", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_THUMBNAILS_HASHID" 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS__dbt_tmp" 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:56:19.575180 [info ] [Thread-5 ]: 81 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2............................ [SUCCESS 1 in 4.02s] 2022-04-22 10:56:35 normalization > 10:56:19.575642 [debug] [Thread-5 ]: Finished running node model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_2 2022-04-22 10:56:35 normalization > 10:56:19.575897 [debug] [Thread-5 ]: Began running node model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_FROM_AB1 2022-04-22 10:56:35 normalization > 10:56:19.576605 [debug] [Thread-5 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_FROM_AB1" 2022-04-22 10:56:35 normalization > 10:56:19.576754 [debug] [Thread-5 ]: Began compiling node model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_FROM_AB1 2022-04-22 10:56:35 normalization > 10:56:19.576871 [debug] [Thread-5 ]: Compiling model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_FROM_AB1 2022-04-22 10:56:35 normalization > 10:56:19.592801 [debug] [Thread-5 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_FROM_AB1" 2022-04-22 10:56:35 normalization > 10:56:19.593214 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:19.593603 [debug] [Thread-5 ]: Finished running node model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_FROM_AB1 2022-04-22 10:56:35 normalization > 10:56:19.593788 [debug] [Thread-5 ]: Began running node model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_TO_AB1 2022-04-22 10:56:35 normalization > 10:56:19.594090 [debug] [Thread-5 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_TO_AB1" 2022-04-22 10:56:35 normalization > 10:56:19.594555 [debug] [Thread-5 ]: Began compiling node model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_TO_AB1 2022-04-22 10:56:35 normalization > 10:56:19.594742 [debug] [Thread-5 ]: Compiling model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_TO_AB1 2022-04-22 10:56:35 normalization > 10:56:19.604917 [debug] [Thread-5 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_TO_AB1" 2022-04-22 10:56:35 normalization > 10:56:19.605282 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:19.605665 [debug] [Thread-5 ]: Finished running node model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_TO_AB1 2022-04-22 10:56:35 normalization > 10:56:19.605903 [debug] [Thread-5 ]: Began running node model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_AB1 2022-04-22 10:56:35 normalization > 10:56:19.606407 [debug] [Thread-5 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_AB1" 2022-04-22 10:56:35 normalization > 10:56:19.606586 [debug] [Thread-5 ]: Began compiling node model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_AB1 2022-04-22 10:56:35 normalization > 10:56:19.606884 [debug] [Thread-5 ]: Compiling model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_AB1 2022-04-22 10:56:35 normalization > 10:56:19.734104 [debug] [Thread-5 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_AB1" 2022-04-22 10:56:35 normalization > 10:56:19.735477 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:19.736185 [debug] [Thread-5 ]: Finished running node model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_AB1 2022-04-22 10:56:35 normalization > 10:56:19.736488 [debug] [Thread-5 ]: Began running node model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2_AB1 2022-04-22 10:56:35 normalization > 10:56:19.737038 [debug] [Thread-5 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2_AB1" 2022-04-22 10:56:35 normalization > 10:56:19.737598 [debug] [Thread-5 ]: Began compiling node model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2_AB1 2022-04-22 10:56:35 normalization > 10:56:19.737762 [debug] [Thread-5 ]: Compiling model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2_AB1 2022-04-22 10:56:35 normalization > 10:56:19.745754 [debug] [Thread-5 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2_AB1" 2022-04-22 10:56:35 normalization > 10:56:19.746114 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:19.746514 [debug] [Thread-5 ]: Finished running node model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2_AB1 2022-04-22 10:56:35 normalization > 10:56:19.746710 [debug] [Thread-5 ]: Began running node model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE_AB1 2022-04-22 10:56:35 normalization > 10:56:19.747185 [debug] [Thread-5 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE_AB1" 2022-04-22 10:56:35 normalization > 10:56:19.747537 [debug] [Thread-5 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE_AB1 2022-04-22 10:56:35 normalization > 10:56:19.747667 [debug] [Thread-5 ]: Compiling model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE_AB1 2022-04-22 10:56:35 normalization > 10:56:19.754540 [debug] [Thread-5 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE_AB1" 2022-04-22 10:56:35 normalization > 10:56:19.754882 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:19.755234 [debug] [Thread-5 ]: Finished running node model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE_AB1 2022-04-22 10:56:35 normalization > 10:56:19.755418 [debug] [Thread-5 ]: Began running node model.airbyte_utils.TICKETS_VIA_SOURCE_FROM_AB1 2022-04-22 10:56:35 normalization > 10:56:19.755886 [debug] [Thread-5 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKETS_VIA_SOURCE_FROM_AB1" 2022-04-22 10:56:35 normalization > 10:56:19.756233 [debug] [Thread-5 ]: Began compiling node model.airbyte_utils.TICKETS_VIA_SOURCE_FROM_AB1 2022-04-22 10:56:35 normalization > 10:56:19.756419 [debug] [Thread-5 ]: Compiling model.airbyte_utils.TICKETS_VIA_SOURCE_FROM_AB1 2022-04-22 10:56:35 normalization > 10:56:19.777679 [debug] [Thread-5 ]: Writing injected SQL for node "model.airbyte_utils.TICKETS_VIA_SOURCE_FROM_AB1" 2022-04-22 10:56:35 normalization > 10:56:19.778263 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:19.778925 [debug] [Thread-5 ]: Finished running node model.airbyte_utils.TICKETS_VIA_SOURCE_FROM_AB1 2022-04-22 10:56:35 normalization > 10:56:19.779231 [debug] [Thread-5 ]: Began running node model.airbyte_utils.TICKETS_VIA_SOURCE_TO_AB1 2022-04-22 10:56:35 normalization > 10:56:19.780002 [debug] [Thread-5 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKETS_VIA_SOURCE_TO_AB1" 2022-04-22 10:56:35 normalization > 10:56:19.780233 [debug] [Thread-5 ]: Began compiling node model.airbyte_utils.TICKETS_VIA_SOURCE_TO_AB1 2022-04-22 10:56:35 normalization > 10:56:19.780446 [debug] [Thread-5 ]: Compiling model.airbyte_utils.TICKETS_VIA_SOURCE_TO_AB1 2022-04-22 10:56:35 normalization > 10:56:19.800002 [debug] [Thread-5 ]: Writing injected SQL for node "model.airbyte_utils.TICKETS_VIA_SOURCE_TO_AB1" 2022-04-22 10:56:35 normalization > 10:56:19.801425 [debug] [Thread-2 ]: SQL status: SUCCESS 8 in 1.14 seconds 2022-04-22 10:56:35 normalization > 10:56:19.812237 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:19.817244 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:19.818108 [debug] [Thread-5 ]: Finished running node model.airbyte_utils.TICKETS_VIA_SOURCE_TO_AB1 2022-04-22 10:56:35 normalization > 10:56:19.818367 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:19.818626 [debug] [Thread-5 ]: Began running node model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_FROM_AB2 2022-04-22 10:56:35 normalization > 10:56:19.820540 [debug] [Thread-5 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_FROM_AB2" 2022-04-22 10:56:35 normalization > 10:56:19.820774 [debug] [Thread-5 ]: Began compiling node model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_FROM_AB2 2022-04-22 10:56:35 normalization > 10:56:19.821592 [debug] [Thread-5 ]: Compiling model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_FROM_AB2 2022-04-22 10:56:35 normalization > 10:56:19.844814 [debug] [Thread-5 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_FROM_AB2" 2022-04-22 10:56:35 normalization > 10:56:19.845320 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:19.845957 [debug] [Thread-5 ]: Finished running node model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_FROM_AB2 2022-04-22 10:56:35 normalization > 10:56:19.846221 [debug] [Thread-5 ]: Began running node model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_TO_AB2 2022-04-22 10:56:35 normalization > 10:56:19.846618 [debug] [Thread-5 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_TO_AB2" 2022-04-22 10:56:35 normalization > 10:56:19.847044 [debug] [Thread-5 ]: Began compiling node model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_TO_AB2 2022-04-22 10:56:35 normalization > 10:56:19.847253 [debug] [Thread-5 ]: Compiling model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_TO_AB2 2022-04-22 10:56:35 normalization > 10:56:19.860508 [debug] [Thread-5 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_TO_AB2" 2022-04-22 10:56:35 normalization > 10:56:19.862052 [debug] [Thread-1 ]: SQL status: SUCCESS 14 in 0.97 seconds 2022-04-22 10:56:35 normalization > 10:56:19.873613 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:19.874500 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:19.875346 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_FROM: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_FROM"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:19.875977 [debug] [Thread-2 ]: SQL status: SUCCESS 8 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:56:19.876522 [debug] [Thread-5 ]: Finished running node model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_TO_AB2 2022-04-22 10:56:35 normalization > 10:56:19.879756 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:19.881071 [debug] [Thread-5 ]: Began running node model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_AB2 2022-04-22 10:56:35 normalization > 10:56:19.882268 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:19.882678 [debug] [Thread-5 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_AB2" 2022-04-22 10:56:35 normalization > 10:56:19.883314 [debug] [Thread-5 ]: Began compiling node model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_AB2 2022-04-22 10:56:35 normalization > 10:56:19.884400 [debug] [Thread-5 ]: Compiling model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_AB2 2022-04-22 10:56:35 normalization > 10:56:19.899650 [debug] [Thread-5 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_AB2" 2022-04-22 10:56:35 normalization > 10:56:19.900325 [debug] [Thread-4 ]: SQL status: SUCCESS 7 in 0.77 seconds 2022-04-22 10:56:35 normalization > 10:56:19.910665 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:19.910966 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:19.911171 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_TO: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_TO"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:19.911677 [debug] [Thread-5 ]: Finished running node model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_AB2 2022-04-22 10:56:35 normalization > 10:56:19.912410 [debug] [Thread-5 ]: Began running node model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2_AB2 2022-04-22 10:56:35 normalization > 10:56:19.912999 [debug] [Thread-5 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2_AB2" 2022-04-22 10:56:35 normalization > 10:56:19.913184 [debug] [Thread-5 ]: Began compiling node model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2_AB2 2022-04-22 10:56:35 normalization > 10:56:19.913357 [debug] [Thread-5 ]: Compiling model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2_AB2 2022-04-22 10:56:35 normalization > 10:56:19.925207 [debug] [Thread-5 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2_AB2" 2022-04-22 10:56:35 normalization > 10:56:19.926271 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:19.926694 [debug] [Thread-5 ]: Finished running node model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2_AB2 2022-04-22 10:56:35 normalization > 10:56:19.926903 [debug] [Thread-5 ]: Began running node model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE_AB2 2022-04-22 10:56:35 normalization > 10:56:19.927385 [debug] [Thread-5 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE_AB2" 2022-04-22 10:56:35 normalization > 10:56:19.927551 [debug] [Thread-5 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE_AB2 2022-04-22 10:56:35 normalization > 10:56:19.927681 [debug] [Thread-5 ]: Compiling model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE_AB2 2022-04-22 10:56:35 normalization > 10:56:19.937759 [debug] [Thread-5 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE_AB2" 2022-04-22 10:56:35 normalization > 10:56:19.938164 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:19.938553 [debug] [Thread-5 ]: Finished running node model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE_AB2 2022-04-22 10:56:35 normalization > 10:56:19.938743 [debug] [Thread-5 ]: Began running node model.airbyte_utils.TICKETS_VIA_SOURCE_FROM_AB2 2022-04-22 10:56:35 normalization > 10:56:19.939230 [debug] [Thread-5 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKETS_VIA_SOURCE_FROM_AB2" 2022-04-22 10:56:35 normalization > 10:56:19.939416 [debug] [Thread-5 ]: Began compiling node model.airbyte_utils.TICKETS_VIA_SOURCE_FROM_AB2 2022-04-22 10:56:35 normalization > 10:56:19.939549 [debug] [Thread-5 ]: Compiling model.airbyte_utils.TICKETS_VIA_SOURCE_FROM_AB2 2022-04-22 10:56:35 normalization > 10:56:19.967240 [debug] [Thread-1 ]: SQL status: SUCCESS 14 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:56:19.966632 [debug] [Thread-5 ]: Writing injected SQL for node "model.airbyte_utils.TICKETS_VIA_SOURCE_FROM_AB2" 2022-04-22 10:56:35 normalization > 10:56:19.970410 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:19.970873 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_FROM: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_FROM"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:19.972798 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:19.973311 [debug] [Thread-5 ]: Finished running node model.airbyte_utils.TICKETS_VIA_SOURCE_FROM_AB2 2022-04-22 10:56:35 normalization > 10:56:19.973591 [debug] [Thread-5 ]: Began running node model.airbyte_utils.TICKETS_VIA_SOURCE_TO_AB2 2022-04-22 10:56:35 normalization > 10:56:19.974107 [debug] [Thread-5 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKETS_VIA_SOURCE_TO_AB2" 2022-04-22 10:56:35 normalization > 10:56:19.974322 [debug] [Thread-5 ]: Began compiling node model.airbyte_utils.TICKETS_VIA_SOURCE_TO_AB2 2022-04-22 10:56:35 normalization > 10:56:19.974778 [debug] [Thread-5 ]: Compiling model.airbyte_utils.TICKETS_VIA_SOURCE_TO_AB2 2022-04-22 10:56:35 normalization > 10:56:19.997623 [debug] [Thread-5 ]: Writing injected SQL for node "model.airbyte_utils.TICKETS_VIA_SOURCE_TO_AB2" 2022-04-22 10:56:35 normalization > 10:56:19.998293 [debug] [Thread-4 ]: SQL status: SUCCESS 7 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:56:20.001074 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:20.001376 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_TO: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_TO"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:20.001994 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:20.002449 [debug] [Thread-5 ]: Finished running node model.airbyte_utils.TICKETS_VIA_SOURCE_TO_AB2 2022-04-22 10:56:35 normalization > 10:56:20.002676 [debug] [Thread-5 ]: Began running node model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_FROM_AB3 2022-04-22 10:56:35 normalization > 10:56:20.003052 [debug] [Thread-5 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_FROM_AB3" 2022-04-22 10:56:35 normalization > 10:56:20.003444 [debug] [Thread-5 ]: Began compiling node model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_FROM_AB3 2022-04-22 10:56:35 normalization > 10:56:20.003781 [debug] [Thread-5 ]: Compiling model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_FROM_AB3 2022-04-22 10:56:35 normalization > 10:56:20.029475 [debug] [Thread-5 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_FROM_AB3" 2022-04-22 10:56:35 normalization > 10:56:20.030286 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:20.030854 [debug] [Thread-5 ]: Finished running node model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_FROM_AB3 2022-04-22 10:56:35 normalization > 10:56:20.031045 [debug] [Thread-5 ]: Began running node model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_TO_AB3 2022-04-22 10:56:35 normalization > 10:56:20.031594 [debug] [Thread-5 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_TO_AB3" 2022-04-22 10:56:35 normalization > 10:56:20.031780 [debug] [Thread-5 ]: Began compiling node model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_TO_AB3 2022-04-22 10:56:35 normalization > 10:56:20.032057 [debug] [Thread-5 ]: Compiling model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_TO_AB3 2022-04-22 10:56:35 normalization > 10:56:20.045632 [debug] [Thread-5 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_TO_AB3" 2022-04-22 10:56:35 normalization > 10:56:20.046040 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:20.046478 [debug] [Thread-5 ]: Finished running node model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_TO_AB3 2022-04-22 10:56:35 normalization > 10:56:20.046692 [debug] [Thread-5 ]: Began running node model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_AB3 2022-04-22 10:56:35 normalization > 10:56:20.046990 [debug] [Thread-5 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_AB3" 2022-04-22 10:56:35 normalization > 10:56:20.047322 [debug] [Thread-5 ]: Began compiling node model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_AB3 2022-04-22 10:56:35 normalization > 10:56:20.047601 [debug] [Thread-5 ]: Compiling model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_AB3 2022-04-22 10:56:35 normalization > 10:56:20.060927 [debug] [Thread-5 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_AB3" 2022-04-22 10:56:35 normalization > 10:56:20.062269 [debug] [Thread-3 ]: SQL status: SUCCESS 4 in 0.5 seconds 2022-04-22 10:56:35 normalization > 10:56:20.062552 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS" 2022-04-22 10:56:35 normalization > 10:56:20.062763 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS: commit; 2022-04-22 10:56:35 normalization > 10:56:20.064352 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:20.065325 [debug] [Thread-5 ]: Finished running node model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_AB3 2022-04-22 10:56:35 normalization > 10:56:20.065566 [debug] [Thread-5 ]: Began running node model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2_AB3 2022-04-22 10:56:35 normalization > 10:56:20.065926 [debug] [Thread-5 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2_AB3" 2022-04-22 10:56:35 normalization > 10:56:20.067025 [debug] [Thread-5 ]: Began compiling node model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2_AB3 2022-04-22 10:56:35 normalization > 10:56:20.067181 [debug] [Thread-5 ]: Compiling model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2_AB3 2022-04-22 10:56:35 normalization > 10:56:20.085417 [debug] [Thread-5 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2_AB3" 2022-04-22 10:56:35 normalization > 10:56:20.085861 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:20.086377 [debug] [Thread-5 ]: Finished running node model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2_AB3 2022-04-22 10:56:35 normalization > 10:56:20.086599 [debug] [Thread-5 ]: Began running node model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE_AB3 2022-04-22 10:56:35 normalization > 10:56:20.087112 [debug] [Thread-5 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE_AB3" 2022-04-22 10:56:35 normalization > 10:56:20.087414 [debug] [Thread-5 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE_AB3 2022-04-22 10:56:35 normalization > 10:56:20.087599 [debug] [Thread-5 ]: Compiling model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE_AB3 2022-04-22 10:56:35 normalization > 10:56:20.100072 [debug] [Thread-5 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE_AB3" 2022-04-22 10:56:35 normalization > 10:56:20.100475 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:20.100890 [debug] [Thread-5 ]: Finished running node model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE_AB3 2022-04-22 10:56:35 normalization > 10:56:20.101132 [debug] [Thread-5 ]: Began running node model.airbyte_utils.TICKETS_VIA_SOURCE_FROM_AB3 2022-04-22 10:56:35 normalization > 10:56:20.101640 [debug] [Thread-5 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKETS_VIA_SOURCE_FROM_AB3" 2022-04-22 10:56:35 normalization > 10:56:20.101819 [debug] [Thread-5 ]: Began compiling node model.airbyte_utils.TICKETS_VIA_SOURCE_FROM_AB3 2022-04-22 10:56:35 normalization > 10:56:20.102121 [debug] [Thread-5 ]: Compiling model.airbyte_utils.TICKETS_VIA_SOURCE_FROM_AB3 2022-04-22 10:56:35 normalization > 10:56:20.162528 [debug] [Thread-5 ]: Writing injected SQL for node "model.airbyte_utils.TICKETS_VIA_SOURCE_FROM_AB3" 2022-04-22 10:56:35 normalization > 10:56:20.162990 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:20.163499 [debug] [Thread-5 ]: Finished running node model.airbyte_utils.TICKETS_VIA_SOURCE_FROM_AB3 2022-04-22 10:56:35 normalization > 10:56:20.163713 [debug] [Thread-5 ]: Began running node model.airbyte_utils.TICKETS_VIA_SOURCE_TO_AB3 2022-04-22 10:56:35 normalization > 10:56:20.164294 [debug] [Thread-5 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKETS_VIA_SOURCE_TO_AB3" 2022-04-22 10:56:35 normalization > 10:56:20.164640 [debug] [Thread-5 ]: Began compiling node model.airbyte_utils.TICKETS_VIA_SOURCE_TO_AB3 2022-04-22 10:56:35 normalization > 10:56:20.164782 [debug] [Thread-5 ]: Compiling model.airbyte_utils.TICKETS_VIA_SOURCE_TO_AB3 2022-04-22 10:56:35 normalization > 10:56:20.185925 [debug] [Thread-5 ]: Writing injected SQL for node "model.airbyte_utils.TICKETS_VIA_SOURCE_TO_AB3" 2022-04-22 10:56:35 normalization > 10:56:20.186354 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:20.186806 [debug] [Thread-5 ]: Finished running node model.airbyte_utils.TICKETS_VIA_SOURCE_TO_AB3 2022-04-22 10:56:35 normalization > 10:56:20.187010 [debug] [Thread-5 ]: Began running node model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_FROM 2022-04-22 10:56:35 normalization > 10:56:20.187421 [info ] [Thread-5 ]: 86 of 95 START incremental model ZENDESK_SUPPORT.TICKET_COMMENTS_VIA_SOURCE_FROM........................................ [RUN] 2022-04-22 10:56:35 normalization > 10:56:20.188198 [debug] [Thread-5 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:20.188444 [debug] [Thread-5 ]: Began compiling node model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_FROM 2022-04-22 10:56:35 normalization > 10:56:20.188595 [debug] [Thread-5 ]: Compiling model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_FROM 2022-04-22 10:56:35 normalization > 10:56:20.203846 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:20.204059 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_FROM: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_FROM"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:20.204197 [debug] [Thread-5 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:56:20.262963 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 0.38 seconds 2022-04-22 10:56:35 normalization > 10:56:20.300800 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:20.320569 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:20.344348 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 0.28 seconds 2022-04-22 10:56:35 normalization > 10:56:20.362184 [debug] [Thread-3 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:20.362478 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS: Close 2022-04-22 10:56:35 normalization > 10:56:20.423504 [debug] [Thread-2 ]: SQL status: SUCCESS 8 in 0.1 seconds 2022-04-22 10:56:35 normalization > 10:56:20.435743 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:20.446115 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:20.512448 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:56:20.521472 [info ] [Thread-3 ]: 82 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS....................... [SUCCESS 1 in 4.40s] 2022-04-22 10:56:35 normalization > 10:56:20.525123 [debug] [Thread-2 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:20.527275 [debug] [Thread-3 ]: Finished running node model.airbyte_utils.TICKET_AUDITS_EVENTS_ATTACHMENTS_THUMBNAILS 2022-04-22 10:56:35 normalization > 10:56:20.529674 [debug] [Thread-3 ]: Began running node model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_TO 2022-04-22 10:56:35 normalization > 10:56:20.530562 [info ] [Thread-3 ]: 87 of 95 START incremental model ZENDESK_SUPPORT.TICKET_COMMENTS_VIA_SOURCE_TO.......................................... [RUN] 2022-04-22 10:56:35 normalization > 10:56:20.531996 [debug] [Thread-3 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:20.532259 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:20.532567 [debug] [Thread-3 ]: Began compiling node model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_TO 2022-04-22 10:56:35 normalization > 10:56:20.536639 [debug] [Thread-2 ]: Began executing node model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE 2022-04-22 10:56:35 normalization > 10:56:20.536992 [debug] [Thread-3 ]: Compiling model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_TO 2022-04-22 10:56:35 normalization > 10:56:20.546895 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:20.552927 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:20.585079 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:20.585622 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_TO: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_TO"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:20.585864 [debug] [Thread-3 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:56:20.592878 [debug] [Thread-4 ]: SQL status: SUCCESS 1 in 0.59 seconds 2022-04-22 10:56:35 normalization > 10:56:20.608091 [debug] [Thread-2 ]: SQL status: SUCCESS 8 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:56:20.616527 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:20.635126 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_TO: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_TO"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:20.645784 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 0.67 seconds 2022-04-22 10:56:35 normalization > 10:56:20.686092 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:20.686473 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace temporary table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_VIA_SOURCE__dbt_tmp" as 2022-04-22 10:56:35 normalization > (select * from( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > with __dbt__cte__TICKET_AUDITS_EVENTS_VIA_SOURCE_AB1 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to parse JSON blob stored in a single column and extract into separated field columns as described by the JSON Schema 2022-04-22 10:56:35 normalization > -- depends_on: "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_VIA" 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_VIA_HASHID, 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > get_path(parse_json(table_alias.SOURCE), '"to"') 2022-04-22 10:56:35 normalization > as "to", 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(SOURCE), '"rel"')) as REL, 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > get_path(parse_json(table_alias.SOURCE), '"from"') 2022-04-22 10:56:35 normalization > as "from", 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_VIA" as table_alias 2022-04-22 10:56:35 normalization > -- SOURCE at ticket_audits/events/via/source 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > and SOURCE is not null 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKET_AUDITS_EVENTS_VIA_SOURCE_AB2 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to cast each column to its adequate SQL type converted from the JSON schema type 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_AUDITS_EVENTS_VIA_SOURCE_AB1 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_VIA_HASHID, 2022-04-22 10:56:35 normalization > cast("to" as 2022-04-22 10:56:35 normalization > variant 2022-04-22 10:56:35 normalization > ) as "to", 2022-04-22 10:56:35 normalization > cast(REL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as REL, 2022-04-22 10:56:35 normalization > cast("from" as 2022-04-22 10:56:35 normalization > variant 2022-04-22 10:56:35 normalization > ) as "from", 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_AUDITS_EVENTS_VIA_SOURCE_AB1 2022-04-22 10:56:35 normalization > -- SOURCE at ticket_audits/events/via/source 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKET_AUDITS_EVENTS_VIA_SOURCE_AB3 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to build a hash column based on the values of this record 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_AUDITS_EVENTS_VIA_SOURCE_AB2 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(_AIRBYTE_VIA_HASHID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast("to" as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(REL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast("from" as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_SOURCE_HASHID, 2022-04-22 10:56:35 normalization > tmp.* 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_AUDITS_EVENTS_VIA_SOURCE_AB2 tmp 2022-04-22 10:56:35 normalization > -- SOURCE at ticket_audits/events/via/source 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > )-- Final base SQL model 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_AUDITS_EVENTS_VIA_SOURCE_AB3 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_VIA_HASHID, 2022-04-22 10:56:35 normalization > "to", 2022-04-22 10:56:35 normalization > REL, 2022-04-22 10:56:35 normalization > "from", 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_SOURCE_HASHID 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_AUDITS_EVENTS_VIA_SOURCE_AB3 2022-04-22 10:56:35 normalization > -- SOURCE at ticket_audits/events/via/source from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_VIA" 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > and cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) >= 2022-04-22 10:56:35 normalization > cast('2022-04-22 10:47:49.699000-07:00' as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ) order by (_AIRBYTE_EMITTED_AT) 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:56:20.690581 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:20.690849 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_FROM: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_FROM"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:20.706928 [debug] [Thread-4 ]: SQL status: SUCCESS 7 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:56:20.726022 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:20.731531 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_TO: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_TO"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:20.817142 [debug] [Thread-4 ]: SQL status: SUCCESS 1 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:56:20.829510 [debug] [Thread-1 ]: SQL status: SUCCESS 14 in 0.14 seconds 2022-04-22 10:56:35 normalization > 10:56:20.846112 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:20.855204 [debug] [Thread-5 ]: SQL status: SUCCESS 14 in 0.65 seconds 2022-04-22 10:56:35 normalization > 10:56:20.862944 [debug] [Thread-4 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:20.860748 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_FROM: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_FROM"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:20.917153 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:20.918301 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_FROM: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_FROM"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:20.919221 [debug] [Thread-4 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:20.930140 [debug] [Thread-4 ]: Began executing node model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_TO 2022-04-22 10:56:35 normalization > 10:56:20.958403 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:20.963925 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_TO: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_TO"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:20.989791 [debug] [Thread-5 ]: SQL status: SUCCESS 14 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:56:20.997472 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 0.08 seconds 2022-04-22 10:56:35 normalization > 10:56:21.002720 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:21.038709 [debug] [Thread-4 ]: SQL status: SUCCESS 7 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:56:21.038941 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_FROM: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_FROM"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:21.044765 [debug] [Thread-1 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:21.052107 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:21.054045 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_TO: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_TO"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace temporary table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_VIA_SOURCE_TO__dbt_tmp" as 2022-04-22 10:56:35 normalization > (select * from( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > with __dbt__cte__TICKET_AUDITS_VIA_SOURCE_TO_AB1 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to parse JSON blob stored in a single column and extract into separated field columns as described by the JSON Schema 2022-04-22 10:56:35 normalization > -- depends_on: "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_SOURCE_HASHID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json("to"), '"name"')) as NAME, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json("to"), '"address"')) as ADDRESS, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_VIA_SOURCE" as table_alias 2022-04-22 10:56:35 normalization > -- to at ticket_audits/via/source/to 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > and "to" is not null 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKET_AUDITS_VIA_SOURCE_TO_AB2 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to cast each column to its adequate SQL type converted from the JSON schema type 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_AUDITS_VIA_SOURCE_TO_AB1 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_SOURCE_HASHID, 2022-04-22 10:56:35 normalization > cast(NAME as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as NAME, 2022-04-22 10:56:35 normalization > cast(ADDRESS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as ADDRESS, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_AUDITS_VIA_SOURCE_TO_AB1 2022-04-22 10:56:35 normalization > -- to at ticket_audits/via/source/to 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKET_AUDITS_VIA_SOURCE_TO_AB3 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to build a hash column based on the values of this record 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_AUDITS_VIA_SOURCE_TO_AB2 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(_AIRBYTE_SOURCE_HASHID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(NAME as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(ADDRESS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_TO_HASHID, 2022-04-22 10:56:35 normalization > tmp.* 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_AUDITS_VIA_SOURCE_TO_AB2 tmp 2022-04-22 10:56:35 normalization > -- to at ticket_audits/via/source/to 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > )-- Final base SQL model 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_AUDITS_VIA_SOURCE_TO_AB3 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_SOURCE_HASHID, 2022-04-22 10:56:35 normalization > NAME, 2022-04-22 10:56:35 normalization > ADDRESS, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_TO_HASHID 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_AUDITS_VIA_SOURCE_TO_AB3 2022-04-22 10:56:35 normalization > -- to at ticket_audits/via/source/to from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > and cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) >= 2022-04-22 10:56:35 normalization > cast('2022-04-22 10:47:49.699000-07:00' as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ) order by (_AIRBYTE_EMITTED_AT) 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:56:21.055172 [debug] [Thread-1 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:21.055470 [debug] [Thread-1 ]: Began executing node model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_FROM 2022-04-22 10:56:35 normalization > 10:56:21.062665 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:21.062991 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_FROM: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_FROM"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:21.109971 [debug] [Thread-1 ]: SQL status: SUCCESS 14 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:56:21.124786 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:21.125214 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_FROM: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_FROM"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace temporary table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_VIA_SOURCE_FROM__dbt_tmp" as 2022-04-22 10:56:35 normalization > (select * from( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > with __dbt__cte__TICKET_AUDITS_VIA_SOURCE_FROM_AB1 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to parse JSON blob stored in a single column and extract into separated field columns as described by the JSON Schema 2022-04-22 10:56:35 normalization > -- depends_on: "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_SOURCE_HASHID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json("from"), '"id"')) as ID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json("from"), '"name"')) as NAME, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json("from"), '"title"')) as TITLE, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json("from"), '"address"')) as ADDRESS, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json("from"), '"deleted"')) as DELETED, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json("from"), '"subject"')) as SUBJECT, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json("from"), '"ticket_id"')) as TICKET_ID, 2022-04-22 10:56:35 normalization > get_path(parse_json("from"), '"ticket_ids"') as TICKET_IDS, 2022-04-22 10:56:35 normalization > get_path(parse_json("from"), '"original_recipients"') as ORIGINAL_RECIPIENTS, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_VIA_SOURCE" as table_alias 2022-04-22 10:56:35 normalization > -- from at ticket_audits/via/source/from 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > and "from" is not null 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKET_AUDITS_VIA_SOURCE_FROM_AB2 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to cast each column to its adequate SQL type converted from the JSON schema type 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_AUDITS_VIA_SOURCE_FROM_AB1 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_SOURCE_HASHID, 2022-04-22 10:56:35 normalization > cast(ID as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as ID, 2022-04-22 10:56:35 normalization > cast(NAME as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as NAME, 2022-04-22 10:56:35 normalization > cast(TITLE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as TITLE, 2022-04-22 10:56:35 normalization > cast(ADDRESS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as ADDRESS, 2022-04-22 10:56:35 normalization > cast(DELETED as boolean) as DELETED, 2022-04-22 10:56:35 normalization > cast(SUBJECT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as SUBJECT, 2022-04-22 10:56:35 normalization > cast(TICKET_ID as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as TICKET_ID, 2022-04-22 10:56:35 normalization > TICKET_IDS, 2022-04-22 10:56:35 normalization > ORIGINAL_RECIPIENTS, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_AUDITS_VIA_SOURCE_FROM_AB1 2022-04-22 10:56:35 normalization > -- from at ticket_audits/via/source/from 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKET_AUDITS_VIA_SOURCE_FROM_AB3 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to build a hash column based on the values of this record 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_AUDITS_VIA_SOURCE_FROM_AB2 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(_AIRBYTE_SOURCE_HASHID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(NAME as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(TITLE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(ADDRESS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(DELETED as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(SUBJECT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(TICKET_ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(TICKET_IDS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(ORIGINAL_RECIPIENTS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_FROM_HASHID, 2022-04-22 10:56:35 normalization > tmp.* 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_AUDITS_VIA_SOURCE_FROM_AB2 tmp 2022-04-22 10:56:35 normalization > -- from at ticket_audits/via/source/from 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > )-- Final base SQL model 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_AUDITS_VIA_SOURCE_FROM_AB3 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_SOURCE_HASHID, 2022-04-22 10:56:35 normalization > ID, 2022-04-22 10:56:35 normalization > NAME, 2022-04-22 10:56:35 normalization > TITLE, 2022-04-22 10:56:35 normalization > ADDRESS, 2022-04-22 10:56:35 normalization > DELETED, 2022-04-22 10:56:35 normalization > SUBJECT, 2022-04-22 10:56:35 normalization > TICKET_ID, 2022-04-22 10:56:35 normalization > TICKET_IDS, 2022-04-22 10:56:35 normalization > ORIGINAL_RECIPIENTS, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_FROM_HASHID 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_AUDITS_VIA_SOURCE_FROM_AB3 2022-04-22 10:56:35 normalization > -- from at ticket_audits/via/source/from from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > and cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) >= 2022-04-22 10:56:35 normalization > cast('2022-04-22 10:47:49.699000-07:00' as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ) order by (_AIRBYTE_EMITTED_AT) 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:56:21.312262 [debug] [Thread-5 ]: SQL status: SUCCESS 1 in 0.27 seconds 2022-04-22 10:56:35 normalization > 10:56:21.325733 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:21.325999 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_FROM: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_FROM"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:21.380456 [debug] [Thread-5 ]: SQL status: SUCCESS 14 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:56:21.385536 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:21.385826 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_FROM: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_FROM"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:21.468210 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 0.78 seconds 2022-04-22 10:56:35 normalization > 10:56:21.469288 [debug] [Thread-5 ]: SQL status: SUCCESS 1 in 0.08 seconds 2022-04-22 10:56:35 normalization > 10:56:21.473653 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:21.482486 [debug] [Thread-5 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:21.482661 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_VIA_SOURCE__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:56:21.484707 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:21.485230 [debug] [Thread-5 ]: Began executing node model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_FROM 2022-04-22 10:56:35 normalization > 10:56:21.490415 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:21.490752 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_FROM: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_FROM"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:21.510556 [debug] [Thread-3 ]: SQL status: SUCCESS 7 in 0.92 seconds 2022-04-22 10:56:35 normalization > 10:56:21.520345 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:21.520557 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_TO: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_TO"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:21.541552 [debug] [Thread-5 ]: SQL status: SUCCESS 14 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:56:21.554251 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:21.554945 [debug] [Thread-2 ]: SQL status: SUCCESS 8 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:56:21.555224 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_FROM: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_FROM"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace temporary table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_VIA_SOURCE_FROM__dbt_tmp" as 2022-04-22 10:56:35 normalization > (select * from( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > with __dbt__cte__TICKET_COMMENTS_VIA_SOURCE_FROM_AB1 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to parse JSON blob stored in a single column and extract into separated field columns as described by the JSON Schema 2022-04-22 10:56:35 normalization > -- depends_on: "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_SOURCE_HASHID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json("from"), '"id"')) as ID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json("from"), '"name"')) as NAME, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json("from"), '"title"')) as TITLE, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json("from"), '"address"')) as ADDRESS, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json("from"), '"deleted"')) as DELETED, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json("from"), '"subject"')) as SUBJECT, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json("from"), '"ticket_id"')) as TICKET_ID, 2022-04-22 10:56:35 normalization > get_path(parse_json("from"), '"ticket_ids"') as TICKET_IDS, 2022-04-22 10:56:35 normalization > get_path(parse_json("from"), '"original_recipients"') as ORIGINAL_RECIPIENTS, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_VIA_SOURCE" as table_alias 2022-04-22 10:56:35 normalization > -- from at ticket_comments/via/source/from 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > and "from" is not null 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKET_COMMENTS_VIA_SOURCE_FROM_AB2 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to cast each column to its adequate SQL type converted from the JSON schema type 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_COMMENTS_VIA_SOURCE_FROM_AB1 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_SOURCE_HASHID, 2022-04-22 10:56:35 normalization > cast(ID as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as ID, 2022-04-22 10:56:35 normalization > cast(NAME as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as NAME, 2022-04-22 10:56:35 normalization > cast(TITLE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as TITLE, 2022-04-22 10:56:35 normalization > cast(ADDRESS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as ADDRESS, 2022-04-22 10:56:35 normalization > cast(DELETED as boolean) as DELETED, 2022-04-22 10:56:35 normalization > cast(SUBJECT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as SUBJECT, 2022-04-22 10:56:35 normalization > cast(TICKET_ID as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as TICKET_ID, 2022-04-22 10:56:35 normalization > TICKET_IDS, 2022-04-22 10:56:35 normalization > ORIGINAL_RECIPIENTS, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_COMMENTS_VIA_SOURCE_FROM_AB1 2022-04-22 10:56:35 normalization > -- from at ticket_comments/via/source/from 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKET_COMMENTS_VIA_SOURCE_FROM_AB3 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to build a hash column based on the values of this record 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_COMMENTS_VIA_SOURCE_FROM_AB2 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(_AIRBYTE_SOURCE_HASHID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(NAME as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(TITLE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(ADDRESS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(DELETED as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(SUBJECT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(TICKET_ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(TICKET_IDS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(ORIGINAL_RECIPIENTS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_FROM_HASHID, 2022-04-22 10:56:35 normalization > tmp.* 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_COMMENTS_VIA_SOURCE_FROM_AB2 tmp 2022-04-22 10:56:35 normalization > -- from at ticket_comments/via/source/from 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > )-- Final base SQL model 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_COMMENTS_VIA_SOURCE_FROM_AB3 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_SOURCE_HASHID, 2022-04-22 10:56:35 normalization > ID, 2022-04-22 10:56:35 normalization > NAME, 2022-04-22 10:56:35 normalization > TITLE, 2022-04-22 10:56:35 normalization > ADDRESS, 2022-04-22 10:56:35 normalization > DELETED, 2022-04-22 10:56:35 normalization > SUBJECT, 2022-04-22 10:56:35 normalization > TICKET_ID, 2022-04-22 10:56:35 normalization > TICKET_IDS, 2022-04-22 10:56:35 normalization > ORIGINAL_RECIPIENTS, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_FROM_HASHID 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_COMMENTS_VIA_SOURCE_FROM_AB3 2022-04-22 10:56:35 normalization > -- from at ticket_comments/via/source/from from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > and cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) >= 2022-04-22 10:56:35 normalization > cast('2022-04-22 10:49:13.404000-07:00' as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ) order by (_AIRBYTE_EMITTED_AT) 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:56:21.560045 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:21.560846 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:21.568547 [debug] [Thread-3 ]: SQL status: SUCCESS 7 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:56:21.571168 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:21.571342 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_TO: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_TO"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:21.617796 [debug] [Thread-2 ]: SQL status: SUCCESS 8 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:56:21.631721 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:21.632131 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_VIA_SOURCE__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:56:21.681699 [debug] [Thread-2 ]: SQL status: SUCCESS 8 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:56:21.689386 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:21.689715 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_AUDITS_EVENTS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:21.738245 [debug] [Thread-2 ]: SQL status: SUCCESS 8 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:56:21.741037 [debug] [Thread-2 ]: 2022-04-22 10:56:35 normalization > In "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_AUDITS_EVENTS_VIA_SOURCE": 2022-04-22 10:56:35 normalization > Schema changed: False 2022-04-22 10:56:35 normalization > Source columns not in target: [] 2022-04-22 10:56:35 normalization > Target columns not in source: [] 2022-04-22 10:56:35 normalization > New column types: [] 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 10:56:21.742082 [debug] [Thread-2 ]: Writing runtime SQL for node "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:21.742750 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:21.742878 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE"} */ 2022-04-22 10:56:35 normalization > begin; 2022-04-22 10:56:35 normalization > 10:56:21.857861 [debug] [Thread-4 ]: SQL status: SUCCESS 1 in 0.8 seconds 2022-04-22 10:56:35 normalization > 10:56:21.862408 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:21.862606 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_TO: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_TO"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_VIA_SOURCE_TO__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:56:21.897461 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 0.77 seconds 2022-04-22 10:56:35 normalization > 10:56:21.903940 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:21.904260 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_FROM: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_FROM"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_VIA_SOURCE_FROM__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:56:21.968421 [debug] [Thread-1 ]: SQL status: SUCCESS 14 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:56:21.973833 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:21.974034 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_FROM: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_FROM"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:22.005641 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 0.43 seconds 2022-04-22 10:56:35 normalization > 10:56:22.015710 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:22.015966 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_TO: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_TO"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:22.018414 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 0.28 seconds 2022-04-22 10:56:35 normalization > 10:56:22.018671 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:22.018797 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE: insert into "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_VIA_SOURCE" ("_AIRBYTE_VIA_HASHID", "to", "REL", "from", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_SOURCE_HASHID") 2022-04-22 10:56:35 normalization > ( 2022-04-22 10:56:35 normalization > select "_AIRBYTE_VIA_HASHID", "to", "REL", "from", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_SOURCE_HASHID" 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_VIA_SOURCE__dbt_tmp" 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:56:22.036329 [debug] [Thread-1 ]: SQL status: SUCCESS 14 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:56:22.043931 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:22.044295 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_FROM: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_FROM"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_VIA_SOURCE_FROM__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:56:22.045510 [debug] [Thread-4 ]: SQL status: SUCCESS 7 in 0.18 seconds 2022-04-22 10:56:35 normalization > 10:56:22.051317 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:22.051529 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_TO: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_TO"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:22.064354 [debug] [Thread-3 ]: SQL status: SUCCESS 7 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:56:22.066904 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:22.067069 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_TO: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_TO"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:22.099177 [debug] [Thread-4 ]: SQL status: SUCCESS 7 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:56:22.105283 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:22.105621 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_TO: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_TO"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_VIA_SOURCE_TO__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:56:22.107190 [debug] [Thread-1 ]: SQL status: SUCCESS 14 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:56:22.113384 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:22.113571 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_FROM: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_FROM"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_AUDITS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:22.129652 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:56:22.140180 [debug] [Thread-3 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:22.140737 [debug] [Thread-3 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:22.141011 [debug] [Thread-3 ]: Began executing node model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_TO 2022-04-22 10:56:35 normalization > 10:56:22.150479 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:22.150735 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_TO: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_TO"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:22.162647 [debug] [Thread-1 ]: SQL status: SUCCESS 14 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:56:22.171814 [debug] [Thread-1 ]: 2022-04-22 10:56:35 normalization > In "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_AUDITS_VIA_SOURCE_FROM": 2022-04-22 10:56:35 normalization > Schema changed: False 2022-04-22 10:56:35 normalization > Source columns not in target: [] 2022-04-22 10:56:35 normalization > Target columns not in source: [] 2022-04-22 10:56:35 normalization > New column types: [] 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 10:56:22.173740 [debug] [Thread-1 ]: Writing runtime SQL for node "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:22.174960 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:22.175176 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_FROM: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_FROM"} */ 2022-04-22 10:56:35 normalization > begin; 2022-04-22 10:56:35 normalization > 10:56:22.178903 [debug] [Thread-4 ]: SQL status: SUCCESS 7 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:56:22.294642 [debug] [Thread-3 ]: SQL status: SUCCESS 7 in 0.14 seconds 2022-04-22 10:56:35 normalization > 10:56:22.298370 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:22.308281 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_TO: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_TO"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_AUDITS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:22.319973 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:22.320295 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_TO: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_TO"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace temporary table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_VIA_SOURCE_TO__dbt_tmp" as 2022-04-22 10:56:35 normalization > (select * from( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > with __dbt__cte__TICKET_COMMENTS_VIA_SOURCE_TO_AB1 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to parse JSON blob stored in a single column and extract into separated field columns as described by the JSON Schema 2022-04-22 10:56:35 normalization > -- depends_on: "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_SOURCE_HASHID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json("to"), '"name"')) as NAME, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json("to"), '"address"')) as ADDRESS, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_VIA_SOURCE" as table_alias 2022-04-22 10:56:35 normalization > -- to at ticket_comments/via/source/to 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > and "to" is not null 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKET_COMMENTS_VIA_SOURCE_TO_AB2 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to cast each column to its adequate SQL type converted from the JSON schema type 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_COMMENTS_VIA_SOURCE_TO_AB1 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_SOURCE_HASHID, 2022-04-22 10:56:35 normalization > cast(NAME as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as NAME, 2022-04-22 10:56:35 normalization > cast(ADDRESS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as ADDRESS, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_COMMENTS_VIA_SOURCE_TO_AB1 2022-04-22 10:56:35 normalization > -- to at ticket_comments/via/source/to 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKET_COMMENTS_VIA_SOURCE_TO_AB3 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to build a hash column based on the values of this record 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_COMMENTS_VIA_SOURCE_TO_AB2 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(_AIRBYTE_SOURCE_HASHID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(NAME as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(ADDRESS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_TO_HASHID, 2022-04-22 10:56:35 normalization > tmp.* 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_COMMENTS_VIA_SOURCE_TO_AB2 tmp 2022-04-22 10:56:35 normalization > -- to at ticket_comments/via/source/to 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > )-- Final base SQL model 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_COMMENTS_VIA_SOURCE_TO_AB3 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_SOURCE_HASHID, 2022-04-22 10:56:35 normalization > NAME, 2022-04-22 10:56:35 normalization > ADDRESS, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_TO_HASHID 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_COMMENTS_VIA_SOURCE_TO_AB3 2022-04-22 10:56:35 normalization > -- to at ticket_comments/via/source/to from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > and cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) >= 2022-04-22 10:56:35 normalization > cast('2022-04-22 10:49:13.404000-07:00' as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ) order by (_AIRBYTE_EMITTED_AT) 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:56:22.354542 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 0.18 seconds 2022-04-22 10:56:35 normalization > 10:56:22.354862 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:22.354979 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_FROM: insert into "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_VIA_SOURCE_FROM" ("_AIRBYTE_SOURCE_HASHID", "ID", "NAME", "TITLE", "ADDRESS", "DELETED", "SUBJECT", "TICKET_ID", "TICKET_IDS", "ORIGINAL_RECIPIENTS", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_FROM_HASHID") 2022-04-22 10:56:35 normalization > ( 2022-04-22 10:56:35 normalization > select "_AIRBYTE_SOURCE_HASHID", "ID", "NAME", "TITLE", "ADDRESS", "DELETED", "SUBJECT", "TICKET_ID", "TICKET_IDS", "ORIGINAL_RECIPIENTS", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_FROM_HASHID" 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_VIA_SOURCE_FROM__dbt_tmp" 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:56:22.370585 [debug] [Thread-4 ]: SQL status: SUCCESS 7 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:56:22.373221 [debug] [Thread-4 ]: 2022-04-22 10:56:35 normalization > In "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_AUDITS_VIA_SOURCE_TO": 2022-04-22 10:56:35 normalization > Schema changed: False 2022-04-22 10:56:35 normalization > Source columns not in target: [] 2022-04-22 10:56:35 normalization > Target columns not in source: [] 2022-04-22 10:56:35 normalization > New column types: [] 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 10:56:22.374237 [debug] [Thread-4 ]: Writing runtime SQL for node "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:22.374970 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:22.375103 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_TO: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_TO"} */ 2022-04-22 10:56:35 normalization > begin; 2022-04-22 10:56:35 normalization > 10:56:22.437710 [debug] [Thread-5 ]: SQL status: SUCCESS 1 in 0.88 seconds 2022-04-22 10:56:35 normalization > 10:56:22.442273 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:22.442512 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_FROM: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_FROM"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_VIA_SOURCE_FROM__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:56:22.445342 [debug] [Thread-4 ]: SQL status: SUCCESS 1 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:56:22.446041 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:22.446190 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_TO: insert into "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_VIA_SOURCE_TO" ("_AIRBYTE_SOURCE_HASHID", "NAME", "ADDRESS", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_TO_HASHID") 2022-04-22 10:56:35 normalization > ( 2022-04-22 10:56:35 normalization > select "_AIRBYTE_SOURCE_HASHID", "NAME", "ADDRESS", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_TO_HASHID" 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_VIA_SOURCE_TO__dbt_tmp" 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:56:22.492388 [debug] [Thread-2 ]: SQL status: SUCCESS 285 in 0.47 seconds 2022-04-22 10:56:35 normalization > 10:56:22.492806 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > 10:56:22.493067 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE: commit; 2022-04-22 10:56:35 normalization > 10:56:22.522146 [debug] [Thread-5 ]: SQL status: SUCCESS 14 in 0.08 seconds 2022-04-22 10:56:35 normalization > 10:56:22.527276 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:22.527504 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_FROM: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_FROM"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:22.588751 [debug] [Thread-5 ]: SQL status: SUCCESS 14 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:56:22.594272 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:22.594479 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_FROM: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_FROM"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_VIA_SOURCE_FROM__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:56:22.654135 [debug] [Thread-5 ]: SQL status: SUCCESS 14 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:56:22.659153 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:22.659352 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_FROM: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_FROM"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_COMMENTS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:22.717951 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 0.22 seconds 2022-04-22 10:56:35 normalization > 10:56:22.722034 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:22.723708 [debug] [Thread-5 ]: SQL status: SUCCESS 14 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:56:22.724140 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE: Close 2022-04-22 10:56:35 normalization > 10:56:22.728126 [debug] [Thread-5 ]: 2022-04-22 10:56:35 normalization > In "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_COMMENTS_VIA_SOURCE_FROM": 2022-04-22 10:56:35 normalization > Schema changed: False 2022-04-22 10:56:35 normalization > Source columns not in target: [] 2022-04-22 10:56:35 normalization > Target columns not in source: [] 2022-04-22 10:56:35 normalization > New column types: [] 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 10:56:22.731119 [debug] [Thread-5 ]: Writing runtime SQL for node "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:22.733373 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:22.733596 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_FROM: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_FROM"} */ 2022-04-22 10:56:35 normalization > begin; 2022-04-22 10:56:35 normalization > 10:56:22.803408 [debug] [Thread-5 ]: SQL status: SUCCESS 1 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:56:22.803741 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:22.803859 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_FROM: insert into "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_VIA_SOURCE_FROM" ("_AIRBYTE_SOURCE_HASHID", "ID", "NAME", "TITLE", "ADDRESS", "DELETED", "SUBJECT", "TICKET_ID", "TICKET_IDS", "ORIGINAL_RECIPIENTS", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_FROM_HASHID") 2022-04-22 10:56:35 normalization > ( 2022-04-22 10:56:35 normalization > select "_AIRBYTE_SOURCE_HASHID", "ID", "NAME", "TITLE", "ADDRESS", "DELETED", "SUBJECT", "TICKET_ID", "TICKET_IDS", "ORIGINAL_RECIPIENTS", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_FROM_HASHID" 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_VIA_SOURCE_FROM__dbt_tmp" 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:56:22.824796 [info ] [Thread-2 ]: 83 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_AUDITS_EVENTS_VIA_SOURCE................................... [SUCCESS 1 in 4.18s] 2022-04-22 10:56:35 normalization > 10:56:22.825316 [debug] [Thread-2 ]: Finished running node model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE 2022-04-22 10:56:35 normalization > 10:56:22.825578 [debug] [Thread-2 ]: Began running node model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11 2022-04-22 10:56:35 normalization > 10:56:22.825935 [info ] [Thread-2 ]: 88 of 95 START incremental model ZENDESK_SUPPORT.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11.............................. [RUN] 2022-04-22 10:56:35 normalization > 10:56:22.826786 [debug] [Thread-2 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11" 2022-04-22 10:56:35 normalization > 10:56:22.827247 [debug] [Thread-2 ]: Began compiling node model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11 2022-04-22 10:56:35 normalization > 10:56:22.827448 [debug] [Thread-2 ]: Compiling model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11 2022-04-22 10:56:35 normalization > 10:56:22.843319 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11" 2022-04-22 10:56:35 normalization > 10:56:22.843543 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11" 2022-04-22 10:56:35 normalization > 10:56:22.843653 [debug] [Thread-2 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:56:22.885584 [debug] [Thread-1 ]: SQL status: SUCCESS 134 in 0.53 seconds 2022-04-22 10:56:35 normalization > 10:56:22.896224 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:22.896482 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_FROM: commit; 2022-04-22 10:56:35 normalization > 10:56:22.931328 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 0.61 seconds 2022-04-22 10:56:35 normalization > 10:56:22.961571 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:22.983044 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_TO: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_TO"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_VIA_SOURCE_TO__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:56:22.988841 [debug] [Thread-4 ]: SQL status: SUCCESS 134 in 0.54 seconds 2022-04-22 10:56:35 normalization > 10:56:23.013721 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:23.014483 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_TO: commit; 2022-04-22 10:56:35 normalization > 10:56:23.172195 [debug] [Thread-3 ]: SQL status: SUCCESS 7 in 0.17 seconds 2022-04-22 10:56:35 normalization > 10:56:23.177083 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:23.178033 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_TO: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_TO"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:23.243542 [debug] [Thread-3 ]: SQL status: SUCCESS 7 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:56:23.248614 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:23.248825 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_TO: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_TO"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_VIA_SOURCE_TO__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:56:23.285607 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 0.39 seconds 2022-04-22 10:56:35 normalization > 10:56:23.290233 [debug] [Thread-1 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:23.290536 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_FROM: Close 2022-04-22 10:56:35 normalization > 10:56:23.332045 [debug] [Thread-2 ]: SQL status: SUCCESS 7 in 0.49 seconds 2022-04-22 10:56:35 normalization > 10:56:23.342188 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11" 2022-04-22 10:56:35 normalization > 10:56:23.342428 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11" 2022-04-22 10:56:35 normalization > 10:56:23.353785 [debug] [Thread-3 ]: SQL status: SUCCESS 7 in 0.1 seconds 2022-04-22 10:56:35 normalization > 10:56:23.358321 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:23.358519 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_TO: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_TO"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_COMMENTS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:23.377062 [debug] [Thread-4 ]: SQL status: SUCCESS 1 in 0.36 seconds 2022-04-22 10:56:35 normalization > 10:56:23.380475 [debug] [Thread-4 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:23.380697 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_TO: Close 2022-04-22 10:56:35 normalization > 10:56:23.408277 [info ] [Thread-1 ]: 84 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_AUDITS_VIA_SOURCE_FROM..................................... [SUCCESS 1 in 4.55s] 2022-04-22 10:56:35 normalization > 10:56:23.408739 [debug] [Thread-1 ]: Finished running node model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_FROM 2022-04-22 10:56:35 normalization > 10:56:23.409012 [debug] [Thread-1 ]: Began running node model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2 2022-04-22 10:56:35 normalization > 10:56:23.409508 [info ] [Thread-1 ]: 89 of 95 START incremental model ZENDESK_SUPPORT.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2............................... [RUN] 2022-04-22 10:56:35 normalization > 10:56:23.410088 [debug] [Thread-1 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2" 2022-04-22 10:56:35 normalization > 10:56:23.410314 [debug] [Thread-1 ]: Began compiling node model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2 2022-04-22 10:56:35 normalization > 10:56:23.410485 [debug] [Thread-1 ]: Compiling model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2 2022-04-22 10:56:35 normalization > 10:56:23.423835 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2" 2022-04-22 10:56:35 normalization > 10:56:23.424692 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2" 2022-04-22 10:56:35 normalization > 10:56:23.424937 [debug] [Thread-1 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:56:23.425655 [debug] [Thread-2 ]: SQL status: SUCCESS 7 in 0.08 seconds 2022-04-22 10:56:35 normalization > 10:56:23.427588 [debug] [Thread-3 ]: SQL status: SUCCESS 7 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:56:23.431260 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11" 2022-04-22 10:56:35 normalization > 10:56:23.434235 [debug] [Thread-3 ]: 2022-04-22 10:56:35 normalization > In "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_COMMENTS_VIA_SOURCE_TO": 2022-04-22 10:56:35 normalization > Schema changed: False 2022-04-22 10:56:35 normalization > Source columns not in target: [] 2022-04-22 10:56:35 normalization > Target columns not in source: [] 2022-04-22 10:56:35 normalization > New column types: [] 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 10:56:23.434678 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11" 2022-04-22 10:56:35 normalization > 10:56:23.435856 [debug] [Thread-3 ]: Writing runtime SQL for node "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:23.436908 [debug] [Thread-5 ]: SQL status: SUCCESS 43 in 0.63 seconds 2022-04-22 10:56:35 normalization > 10:56:23.437926 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:23.438141 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_FROM: commit; 2022-04-22 10:56:35 normalization > 10:56:23.441576 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:23.443838 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_TO: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_TO"} */ 2022-04-22 10:56:35 normalization > begin; 2022-04-22 10:56:35 normalization > 10:56:23.515003 [info ] [Thread-4 ]: 85 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_AUDITS_VIA_SOURCE_TO....................................... [SUCCESS 1 in 4.45s] 2022-04-22 10:56:35 normalization > 10:56:23.525959 [debug] [Thread-4 ]: Finished running node model.airbyte_utils.TICKET_AUDITS_VIA_SOURCE_TO 2022-04-22 10:56:35 normalization > 10:56:23.536610 [debug] [Thread-4 ]: Began running node model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE 2022-04-22 10:56:35 normalization > 10:56:23.537136 [info ] [Thread-4 ]: 90 of 95 START incremental model ZENDESK_SUPPORT.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE........................ [RUN] 2022-04-22 10:56:35 normalization > 10:56:23.543670 [debug] [Thread-4 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE" 2022-04-22 10:56:35 normalization > 10:56:23.559092 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 0.12 seconds 2022-04-22 10:56:35 normalization > 10:56:23.569726 [debug] [Thread-4 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE 2022-04-22 10:56:35 normalization > 10:56:23.595499 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:23.621049 [debug] [Thread-4 ]: Compiling model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE 2022-04-22 10:56:35 normalization > 10:56:23.633224 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_TO: insert into "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_VIA_SOURCE_TO" ("_AIRBYTE_SOURCE_HASHID", "NAME", "ADDRESS", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_TO_HASHID") 2022-04-22 10:56:35 normalization > ( 2022-04-22 10:56:35 normalization > select "_AIRBYTE_SOURCE_HASHID", "NAME", "ADDRESS", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_TO_HASHID" 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_VIA_SOURCE_TO__dbt_tmp" 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:56:23.650161 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE" 2022-04-22 10:56:35 normalization > 10:56:23.653568 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 0.22 seconds 2022-04-22 10:56:35 normalization > 10:56:23.653763 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE" 2022-04-22 10:56:35 normalization > 10:56:23.667350 [debug] [Thread-5 ]: SQL status: SUCCESS 1 in 0.23 seconds 2022-04-22 10:56:35 normalization > 10:56:23.678539 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11" 2022-04-22 10:56:35 normalization > 10:56:23.679266 [debug] [Thread-4 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:56:23.682850 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:23.683289 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11" 2022-04-22 10:56:35 normalization > 10:56:23.684529 [debug] [Thread-5 ]: On model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_FROM: Close 2022-04-22 10:56:35 normalization > 10:56:23.763176 [debug] [Thread-2 ]: SQL status: SUCCESS 7 in 0.08 seconds 2022-04-22 10:56:35 normalization > 10:56:23.782564 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11" 2022-04-22 10:56:35 normalization > 10:56:23.788268 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11" 2022-04-22 10:56:35 normalization > 10:56:23.795537 [info ] [Thread-5 ]: 86 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_COMMENTS_VIA_SOURCE_FROM................................... [SUCCESS 1 in 3.61s] 2022-04-22 10:56:35 normalization > 10:56:23.823673 [debug] [Thread-5 ]: Finished running node model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_FROM 2022-04-22 10:56:35 normalization > 10:56:23.834982 [debug] [Thread-5 ]: Began running node model.airbyte_utils.TICKETS_VIA_SOURCE_FROM 2022-04-22 10:56:35 normalization > 10:56:23.845765 [info ] [Thread-5 ]: 91 of 95 START incremental model ZENDESK_SUPPORT.TICKETS_VIA_SOURCE_FROM................................................ [RUN] 2022-04-22 10:56:35 normalization > 10:56:23.857503 [debug] [Thread-5 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKETS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:23.858232 [debug] [Thread-5 ]: Began compiling node model.airbyte_utils.TICKETS_VIA_SOURCE_FROM 2022-04-22 10:56:35 normalization > 10:56:23.859031 [debug] [Thread-5 ]: Compiling model.airbyte_utils.TICKETS_VIA_SOURCE_FROM 2022-04-22 10:56:35 normalization > 10:56:23.890326 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKETS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:23.890823 [debug] [Thread-5 ]: On model.airbyte_utils.TICKETS_VIA_SOURCE_FROM: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_VIA_SOURCE_FROM"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:23.890997 [debug] [Thread-5 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:56:23.899670 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 0.11 seconds 2022-04-22 10:56:35 normalization > 10:56:23.910285 [debug] [Thread-2 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11" 2022-04-22 10:56:35 normalization > 10:56:23.911993 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:23.912450 [debug] [Thread-2 ]: Began executing node model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11 2022-04-22 10:56:35 normalization > 10:56:23.918122 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11" 2022-04-22 10:56:35 normalization > 10:56:23.918388 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11" 2022-04-22 10:56:35 normalization > 10:56:24.008770 [debug] [Thread-2 ]: SQL status: SUCCESS 7 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:56:24.047534 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11" 2022-04-22 10:56:35 normalization > 10:56:24.053225 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace temporary table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11__dbt_tmp" as 2022-04-22 10:56:35 normalization > (select * from( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > with __dbt__cte__TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_AB1 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to parse JSON blob stored in a single column and extract into separated field columns as described by the JSON Schema 2022-04-22 10:56:35 normalization > -- depends_on: "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA_FLAGS_OPTIONS" 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_FLAGS_OPTIONS_HASHID, 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > get_path(parse_json(table_alias."11"), '"message"') 2022-04-22 10:56:35 normalization > as MESSAGE, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json("11"), '"trusted"')) as TRUSTED, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA_FLAGS_OPTIONS" as table_alias 2022-04-22 10:56:35 normalization > -- 11 at ticket_comments/metadata/flags_options/11 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > and "11" is not null 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_AB2 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to cast each column to its adequate SQL type converted from the JSON schema type 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_AB1 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_FLAGS_OPTIONS_HASHID, 2022-04-22 10:56:35 normalization > cast(MESSAGE as 2022-04-22 10:56:35 normalization > variant 2022-04-22 10:56:35 normalization > ) as MESSAGE, 2022-04-22 10:56:35 normalization > cast(TRUSTED as boolean) as TRUSTED, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_AB1 2022-04-22 10:56:35 normalization > -- 11 at ticket_comments/metadata/flags_options/11 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_AB3 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to build a hash column based on the values of this record 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_AB2 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(_AIRBYTE_FLAGS_OPTIONS_HASHID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(MESSAGE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(TRUSTED as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_11_HASHID, 2022-04-22 10:56:35 normalization > tmp.* 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_AB2 tmp 2022-04-22 10:56:35 normalization > -- 11 at ticket_comments/metadata/flags_options/11 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > )-- Final base SQL model 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_AB3 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_FLAGS_OPTIONS_HASHID, 2022-04-22 10:56:35 normalization > MESSAGE, 2022-04-22 10:56:35 normalization > TRUSTED, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_11_HASHID 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_AB3 2022-04-22 10:56:35 normalization > -- 11 at ticket_comments/metadata/flags_options/11 from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA_FLAGS_OPTIONS" 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > and cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) >= 2022-04-22 10:56:35 normalization > cast('2022-04-11 22:52:06.416000-07:00' as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ) order by (_AIRBYTE_EMITTED_AT) 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:56:24.174816 [debug] [Thread-3 ]: SQL status: SUCCESS 43 in 0.53 seconds 2022-04-22 10:56:35 normalization > 10:56:24.176080 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:24.176714 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_TO: commit; 2022-04-22 10:56:35 normalization > 10:56:24.365358 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 0.19 seconds 2022-04-22 10:56:35 normalization > 10:56:24.369198 [debug] [Thread-3 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:24.369499 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_TO: Close 2022-04-22 10:56:35 normalization > 10:56:24.506847 [info ] [Thread-3 ]: 87 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_COMMENTS_VIA_SOURCE_TO..................................... [SUCCESS 1 in 3.97s] 2022-04-22 10:56:35 normalization > 10:56:24.507344 [debug] [Thread-3 ]: Finished running node model.airbyte_utils.TICKET_COMMENTS_VIA_SOURCE_TO 2022-04-22 10:56:35 normalization > 10:56:24.507603 [debug] [Thread-3 ]: Began running node model.airbyte_utils.TICKETS_VIA_SOURCE_TO 2022-04-22 10:56:35 normalization > 10:56:24.508220 [info ] [Thread-3 ]: 92 of 95 START incremental model ZENDESK_SUPPORT.TICKETS_VIA_SOURCE_TO.................................................. [RUN] 2022-04-22 10:56:35 normalization > 10:56:24.508854 [debug] [Thread-3 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKETS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:24.509099 [debug] [Thread-3 ]: Began compiling node model.airbyte_utils.TICKETS_VIA_SOURCE_TO 2022-04-22 10:56:35 normalization > 10:56:24.509303 [debug] [Thread-3 ]: Compiling model.airbyte_utils.TICKETS_VIA_SOURCE_TO 2022-04-22 10:56:35 normalization > 10:56:24.524668 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKETS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:24.524952 [debug] [Thread-3 ]: On model.airbyte_utils.TICKETS_VIA_SOURCE_TO: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_VIA_SOURCE_TO"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:24.525086 [debug] [Thread-3 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:56:24.561644 [debug] [Thread-4 ]: SQL status: SUCCESS 6 in 0.88 seconds 2022-04-22 10:56:35 normalization > 10:56:24.582791 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE" 2022-04-22 10:56:35 normalization > 10:56:24.588959 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE" 2022-04-22 10:56:35 normalization > 10:56:24.703224 [debug] [Thread-4 ]: SQL status: SUCCESS 6 in 0.11 seconds 2022-04-22 10:56:35 normalization > 10:56:24.706093 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE" 2022-04-22 10:56:35 normalization > 10:56:24.706316 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE" 2022-04-22 10:56:35 normalization > 10:56:24.746921 [debug] [Thread-1 ]: SQL status: SUCCESS 6 in 1.32 seconds 2022-04-22 10:56:35 normalization > 10:56:24.761096 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2" 2022-04-22 10:56:35 normalization > 10:56:24.761604 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2" 2022-04-22 10:56:35 normalization > 10:56:24.765314 [debug] [Thread-5 ]: SQL status: SUCCESS 21 in 0.87 seconds 2022-04-22 10:56:35 normalization > 10:56:24.777222 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKETS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:24.777593 [debug] [Thread-5 ]: On model.airbyte_utils.TICKETS_VIA_SOURCE_FROM: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_VIA_SOURCE_FROM"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:24.847751 [debug] [Thread-1 ]: SQL status: SUCCESS 6 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:56:24.850626 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2" 2022-04-22 10:56:35 normalization > 10:56:24.850931 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2" 2022-04-22 10:56:35 normalization > 10:56:24.852479 [debug] [Thread-5 ]: SQL status: SUCCESS 21 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:56:24.856686 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKETS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:24.856868 [debug] [Thread-5 ]: On model.airbyte_utils.TICKETS_VIA_SOURCE_FROM: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_VIA_SOURCE_FROM"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:25.000226 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 0.94 seconds 2022-04-22 10:56:35 normalization > 10:56:25.006023 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11" 2022-04-22 10:56:35 normalization > 10:56:25.006357 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:56:25.065803 [debug] [Thread-3 ]: SQL status: SUCCESS 13 in 0.54 seconds 2022-04-22 10:56:35 normalization > 10:56:25.078901 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKETS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:25.079178 [debug] [Thread-3 ]: On model.airbyte_utils.TICKETS_VIA_SOURCE_TO: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_VIA_SOURCE_TO"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:25.085441 [debug] [Thread-2 ]: SQL status: SUCCESS 7 in 0.08 seconds 2022-04-22 10:56:35 normalization > 10:56:25.090313 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11" 2022-04-22 10:56:35 normalization > 10:56:25.090535 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11" 2022-04-22 10:56:35 normalization > 10:56:25.093614 [debug] [Thread-4 ]: SQL status: SUCCESS 1 in 0.39 seconds 2022-04-22 10:56:35 normalization > 10:56:25.104617 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE" 2022-04-22 10:56:35 normalization > 10:56:25.104865 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE" 2022-04-22 10:56:35 normalization > 10:56:25.151919 [debug] [Thread-3 ]: SQL status: SUCCESS 13 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:56:25.155038 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKETS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:25.155223 [debug] [Thread-3 ]: On model.airbyte_utils.TICKETS_VIA_SOURCE_TO: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_VIA_SOURCE_TO"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:25.160025 [debug] [Thread-2 ]: SQL status: SUCCESS 7 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:56:25.164846 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11" 2022-04-22 10:56:35 normalization > 10:56:25.165020 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:56:25.170540 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 0.32 seconds 2022-04-22 10:56:35 normalization > 10:56:25.180109 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2" 2022-04-22 10:56:35 normalization > 10:56:25.180831 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2" 2022-04-22 10:56:35 normalization > 10:56:25.181412 [debug] [Thread-4 ]: SQL status: SUCCESS 6 in 0.08 seconds 2022-04-22 10:56:35 normalization > 10:56:25.185264 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE" 2022-04-22 10:56:35 normalization > 10:56:25.185652 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE" 2022-04-22 10:56:35 normalization > 10:56:25.187711 [debug] [Thread-5 ]: SQL status: SUCCESS 1 in 0.33 seconds 2022-04-22 10:56:35 normalization > 10:56:25.201472 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKETS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:25.201779 [debug] [Thread-5 ]: On model.airbyte_utils.TICKETS_VIA_SOURCE_FROM: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_VIA_SOURCE_FROM"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:25.252729 [debug] [Thread-2 ]: SQL status: SUCCESS 7 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:56:25.257349 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11" 2022-04-22 10:56:35 normalization > 10:56:25.257556 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11" 2022-04-22 10:56:35 normalization > 10:56:25.260226 [debug] [Thread-1 ]: SQL status: SUCCESS 6 in 0.08 seconds 2022-04-22 10:56:35 normalization > 10:56:25.263320 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2" 2022-04-22 10:56:35 normalization > 10:56:25.263533 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2" 2022-04-22 10:56:35 normalization > 10:56:25.273224 [debug] [Thread-5 ]: SQL status: SUCCESS 21 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:56:25.276911 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKETS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:25.277682 [debug] [Thread-5 ]: On model.airbyte_utils.TICKETS_VIA_SOURCE_FROM: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_VIA_SOURCE_FROM"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:25.278181 [debug] [Thread-4 ]: SQL status: SUCCESS 1 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:56:25.287267 [debug] [Thread-4 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE" 2022-04-22 10:56:35 normalization > 10:56:25.287825 [debug] [Thread-4 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:25.287988 [debug] [Thread-4 ]: Began executing node model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE 2022-04-22 10:56:35 normalization > 10:56:25.293834 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE" 2022-04-22 10:56:35 normalization > 10:56:25.294016 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE" 2022-04-22 10:56:35 normalization > 10:56:25.314371 [debug] [Thread-2 ]: SQL status: SUCCESS 7 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:56:25.317111 [debug] [Thread-2 ]: 2022-04-22 10:56:35 normalization > In "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11": 2022-04-22 10:56:35 normalization > Schema changed: False 2022-04-22 10:56:35 normalization > Source columns not in target: [] 2022-04-22 10:56:35 normalization > Target columns not in source: [] 2022-04-22 10:56:35 normalization > New column types: [] 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 10:56:25.318169 [debug] [Thread-2 ]: Writing runtime SQL for node "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11" 2022-04-22 10:56:35 normalization > 10:56:25.318885 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11" 2022-04-22 10:56:35 normalization > 10:56:25.319024 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11"} */ 2022-04-22 10:56:35 normalization > begin; 2022-04-22 10:56:35 normalization > 10:56:25.321972 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:56:25.328969 [debug] [Thread-1 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2" 2022-04-22 10:56:35 normalization > 10:56:25.329364 [debug] [Thread-1 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:25.329527 [debug] [Thread-1 ]: Began executing node model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2 2022-04-22 10:56:35 normalization > 10:56:25.335217 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2" 2022-04-22 10:56:35 normalization > 10:56:25.335392 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2" 2022-04-22 10:56:35 normalization > 10:56:25.353390 [debug] [Thread-4 ]: SQL status: SUCCESS 6 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:56:25.363056 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE" 2022-04-22 10:56:35 normalization > 10:56:25.363307 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace temporary table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE__dbt_tmp" as 2022-04-22 10:56:35 normalization > (select * from( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > with __dbt__cte__TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE_AB1 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to parse JSON blob stored in a single column and extract into separated field columns as described by the JSON Schema 2022-04-22 10:56:35 normalization > -- depends_on: "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11" 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_11_HASHID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(MESSAGE), '"user"')) as USER, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11" as table_alias 2022-04-22 10:56:35 normalization > -- MESSAGE at ticket_audits/metadata/flags_options/11/message 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > and MESSAGE is not null 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE_AB2 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to cast each column to its adequate SQL type converted from the JSON schema type 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE_AB1 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_11_HASHID, 2022-04-22 10:56:35 normalization > cast(USER as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as USER, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE_AB1 2022-04-22 10:56:35 normalization > -- MESSAGE at ticket_audits/metadata/flags_options/11/message 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE_AB3 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to build a hash column based on the values of this record 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE_AB2 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(_AIRBYTE_11_HASHID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(USER as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_MESSAGE_HASHID, 2022-04-22 10:56:35 normalization > tmp.* 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE_AB2 tmp 2022-04-22 10:56:35 normalization > -- MESSAGE at ticket_audits/metadata/flags_options/11/message 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > )-- Final base SQL model 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE_AB3 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_11_HASHID, 2022-04-22 10:56:35 normalization > USER, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_MESSAGE_HASHID 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE_AB3 2022-04-22 10:56:35 normalization > -- MESSAGE at ticket_audits/metadata/flags_options/11/message from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11" 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > and cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) >= 2022-04-22 10:56:35 normalization > cast('2022-04-20 22:55:57.841000-07:00' as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ) order by (_AIRBYTE_EMITTED_AT) 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:56:25.366765 [debug] [Thread-5 ]: SQL status: SUCCESS 1 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:56:25.376624 [debug] [Thread-5 ]: Writing injected SQL for node "model.airbyte_utils.TICKETS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:25.377097 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:25.377262 [debug] [Thread-5 ]: Began executing node model.airbyte_utils.TICKETS_VIA_SOURCE_FROM 2022-04-22 10:56:35 normalization > 10:56:25.384923 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKETS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:25.385134 [debug] [Thread-5 ]: On model.airbyte_utils.TICKETS_VIA_SOURCE_FROM: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_VIA_SOURCE_FROM"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:25.390913 [debug] [Thread-1 ]: SQL status: SUCCESS 6 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:56:25.400202 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2" 2022-04-22 10:56:35 normalization > 10:56:25.400385 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace temporary table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2__dbt_tmp" as 2022-04-22 10:56:35 normalization > (select * from( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > with __dbt__cte__TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2_AB1 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to parse JSON blob stored in a single column and extract into separated field columns as described by the JSON Schema 2022-04-22 10:56:35 normalization > -- depends_on: "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA_FLAGS_OPTIONS" 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_FLAGS_OPTIONS_HASHID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json("2"), '"trusted"')) as TRUSTED, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA_FLAGS_OPTIONS" as table_alias 2022-04-22 10:56:35 normalization > -- 2 at ticket_comments/metadata/flags_options/2 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > and "2" is not null 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2_AB2 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to cast each column to its adequate SQL type converted from the JSON schema type 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2_AB1 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_FLAGS_OPTIONS_HASHID, 2022-04-22 10:56:35 normalization > cast(TRUSTED as boolean) as TRUSTED, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2_AB1 2022-04-22 10:56:35 normalization > -- 2 at ticket_comments/metadata/flags_options/2 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2_AB3 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to build a hash column based on the values of this record 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2_AB2 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(_AIRBYTE_FLAGS_OPTIONS_HASHID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(TRUSTED as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_2_HASHID, 2022-04-22 10:56:35 normalization > tmp.* 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2_AB2 tmp 2022-04-22 10:56:35 normalization > -- 2 at ticket_comments/metadata/flags_options/2 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > )-- Final base SQL model 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2_AB3 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_FLAGS_OPTIONS_HASHID, 2022-04-22 10:56:35 normalization > TRUSTED, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_2_HASHID 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2_AB3 2022-04-22 10:56:35 normalization > -- 2 at ticket_comments/metadata/flags_options/2 from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA_FLAGS_OPTIONS" 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > and cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) >= 2022-04-22 10:56:35 normalization > cast('2022-04-21 22:54:23.406000-07:00' as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ) order by (_AIRBYTE_EMITTED_AT) 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:56:25.413742 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:56:25.413998 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11" 2022-04-22 10:56:35 normalization > 10:56:25.414109 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11: insert into "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11" ("_AIRBYTE_FLAGS_OPTIONS_HASHID", "MESSAGE", "TRUSTED", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_11_HASHID") 2022-04-22 10:56:35 normalization > ( 2022-04-22 10:56:35 normalization > select "_AIRBYTE_FLAGS_OPTIONS_HASHID", "MESSAGE", "TRUSTED", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_11_HASHID" 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11__dbt_tmp" 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:56:25.444063 [debug] [Thread-5 ]: SQL status: SUCCESS 21 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:56:25.457914 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKETS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:25.458184 [debug] [Thread-5 ]: On model.airbyte_utils.TICKETS_VIA_SOURCE_FROM: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_VIA_SOURCE_FROM"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace temporary table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_VIA_SOURCE_FROM__dbt_tmp" as 2022-04-22 10:56:35 normalization > (select * from( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > with __dbt__cte__TICKETS_VIA_SOURCE_FROM_AB1 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to parse JSON blob stored in a single column and extract into separated field columns as described by the JSON Schema 2022-04-22 10:56:35 normalization > -- depends_on: "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_SOURCE_HASHID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json("from"), '"id"')) as ID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json("from"), '"name"')) as NAME, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json("from"), '"phone"')) as PHONE, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json("from"), '"title"')) as TITLE, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json("from"), '"address"')) as ADDRESS, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json("from"), '"deleted"')) as DELETED, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json("from"), '"subject"')) as SUBJECT, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json("from"), '"topic_id"')) as TOPIC_ID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json("from"), '"username"')) as USERNAME, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json("from"), '"ticket_id"')) as TICKET_ID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json("from"), '"topic_name"')) as TOPIC_NAME, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json("from"), '"facebook_id"')) as FACEBOOK_ID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json("from"), '"profile_url"')) as PROFILE_URL, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json("from"), '"revision_id"')) as REVISION_ID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json("from"), '"formatted_phone"')) as FORMATTED_PHONE, 2022-04-22 10:56:35 normalization > get_path(parse_json("from"), '"original_recipients"') as ORIGINAL_RECIPIENTS, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_VIA_SOURCE" as table_alias 2022-04-22 10:56:35 normalization > -- from at tickets/via/source/from 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > and "from" is not null 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKETS_VIA_SOURCE_FROM_AB2 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to cast each column to its adequate SQL type converted from the JSON schema type 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKETS_VIA_SOURCE_FROM_AB1 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_SOURCE_HASHID, 2022-04-22 10:56:35 normalization > cast(ID as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as ID, 2022-04-22 10:56:35 normalization > cast(NAME as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as NAME, 2022-04-22 10:56:35 normalization > cast(PHONE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as PHONE, 2022-04-22 10:56:35 normalization > cast(TITLE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as TITLE, 2022-04-22 10:56:35 normalization > cast(ADDRESS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as ADDRESS, 2022-04-22 10:56:35 normalization > cast(DELETED as boolean) as DELETED, 2022-04-22 10:56:35 normalization > cast(SUBJECT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as SUBJECT, 2022-04-22 10:56:35 normalization > cast(TOPIC_ID as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as TOPIC_ID, 2022-04-22 10:56:35 normalization > cast(USERNAME as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as USERNAME, 2022-04-22 10:56:35 normalization > cast(TICKET_ID as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as TICKET_ID, 2022-04-22 10:56:35 normalization > cast(TOPIC_NAME as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as TOPIC_NAME, 2022-04-22 10:56:35 normalization > cast(FACEBOOK_ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as FACEBOOK_ID, 2022-04-22 10:56:35 normalization > cast(PROFILE_URL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as PROFILE_URL, 2022-04-22 10:56:35 normalization > cast(REVISION_ID as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as REVISION_ID, 2022-04-22 10:56:35 normalization > cast(FORMATTED_PHONE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as FORMATTED_PHONE, 2022-04-22 10:56:35 normalization > ORIGINAL_RECIPIENTS, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKETS_VIA_SOURCE_FROM_AB1 2022-04-22 10:56:35 normalization > -- from at tickets/via/source/from 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKETS_VIA_SOURCE_FROM_AB3 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to build a hash column based on the values of this record 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKETS_VIA_SOURCE_FROM_AB2 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(_AIRBYTE_SOURCE_HASHID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(NAME as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(PHONE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(TITLE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(ADDRESS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(DELETED as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(SUBJECT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(TOPIC_ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(USERNAME as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(TICKET_ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(TOPIC_NAME as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(FACEBOOK_ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(PROFILE_URL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(REVISION_ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(FORMATTED_PHONE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(ORIGINAL_RECIPIENTS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_FROM_HASHID, 2022-04-22 10:56:35 normalization > tmp.* 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKETS_VIA_SOURCE_FROM_AB2 tmp 2022-04-22 10:56:35 normalization > -- from at tickets/via/source/from 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > )-- Final base SQL model 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKETS_VIA_SOURCE_FROM_AB3 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_SOURCE_HASHID, 2022-04-22 10:56:35 normalization > ID, 2022-04-22 10:56:35 normalization > NAME, 2022-04-22 10:56:35 normalization > PHONE, 2022-04-22 10:56:35 normalization > TITLE, 2022-04-22 10:56:35 normalization > ADDRESS, 2022-04-22 10:56:35 normalization > DELETED, 2022-04-22 10:56:35 normalization > SUBJECT, 2022-04-22 10:56:35 normalization > TOPIC_ID, 2022-04-22 10:56:35 normalization > USERNAME, 2022-04-22 10:56:35 normalization > TICKET_ID, 2022-04-22 10:56:35 normalization > TOPIC_NAME, 2022-04-22 10:56:35 normalization > FACEBOOK_ID, 2022-04-22 10:56:35 normalization > PROFILE_URL, 2022-04-22 10:56:35 normalization > REVISION_ID, 2022-04-22 10:56:35 normalization > FORMATTED_PHONE, 2022-04-22 10:56:35 normalization > ORIGINAL_RECIPIENTS, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_FROM_HASHID 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKETS_VIA_SOURCE_FROM_AB3 2022-04-22 10:56:35 normalization > -- from at tickets/via/source/from from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > and cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) >= 2022-04-22 10:56:35 normalization > cast('2022-04-22 10:49:17.699000-07:00' as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ) order by (_AIRBYTE_EMITTED_AT) 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:56:25.496605 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 0.34 seconds 2022-04-22 10:56:35 normalization > 10:56:25.506794 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKETS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:25.507048 [debug] [Thread-3 ]: On model.airbyte_utils.TICKETS_VIA_SOURCE_TO: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_VIA_SOURCE_TO"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:25.557398 [debug] [Thread-3 ]: SQL status: SUCCESS 13 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:56:25.560584 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKETS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:25.560790 [debug] [Thread-3 ]: On model.airbyte_utils.TICKETS_VIA_SOURCE_TO: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_VIA_SOURCE_TO"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:25.627431 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:56:25.635857 [debug] [Thread-3 ]: Writing injected SQL for node "model.airbyte_utils.TICKETS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:25.636326 [debug] [Thread-3 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:25.636495 [debug] [Thread-3 ]: Began executing node model.airbyte_utils.TICKETS_VIA_SOURCE_TO 2022-04-22 10:56:35 normalization > 10:56:25.641999 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKETS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:25.642208 [debug] [Thread-3 ]: On model.airbyte_utils.TICKETS_VIA_SOURCE_TO: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_VIA_SOURCE_TO"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:25.697289 [debug] [Thread-3 ]: SQL status: SUCCESS 13 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:56:25.708662 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKETS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:25.708924 [debug] [Thread-3 ]: On model.airbyte_utils.TICKETS_VIA_SOURCE_TO: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_VIA_SOURCE_TO"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace temporary table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_VIA_SOURCE_TO__dbt_tmp" as 2022-04-22 10:56:35 normalization > (select * from( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > with __dbt__cte__TICKETS_VIA_SOURCE_TO_AB1 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to parse JSON blob stored in a single column and extract into separated field columns as described by the JSON Schema 2022-04-22 10:56:35 normalization > -- depends_on: "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_SOURCE_HASHID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json("to"), '"name"')) as NAME, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json("to"), '"phone"')) as PHONE, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json("to"), '"address"')) as ADDRESS, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json("to"), '"username"')) as USERNAME, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json("to"), '"email_ccs"')) as EMAIL_CCS, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json("to"), '"facebook_id"')) as FACEBOOK_ID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json("to"), '"profile_url"')) as PROFILE_URL, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json("to"), '"formatted_phone"')) as FORMATTED_PHONE, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_VIA_SOURCE" as table_alias 2022-04-22 10:56:35 normalization > -- to at tickets/via/source/to 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > and "to" is not null 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKETS_VIA_SOURCE_TO_AB2 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to cast each column to its adequate SQL type converted from the JSON schema type 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKETS_VIA_SOURCE_TO_AB1 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_SOURCE_HASHID, 2022-04-22 10:56:35 normalization > cast(NAME as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as NAME, 2022-04-22 10:56:35 normalization > cast(PHONE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as PHONE, 2022-04-22 10:56:35 normalization > cast(ADDRESS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as ADDRESS, 2022-04-22 10:56:35 normalization > cast(USERNAME as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as USERNAME, 2022-04-22 10:56:35 normalization > cast(EMAIL_CCS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as EMAIL_CCS, 2022-04-22 10:56:35 normalization > cast(FACEBOOK_ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as FACEBOOK_ID, 2022-04-22 10:56:35 normalization > cast(PROFILE_URL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as PROFILE_URL, 2022-04-22 10:56:35 normalization > cast(FORMATTED_PHONE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as FORMATTED_PHONE, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKETS_VIA_SOURCE_TO_AB1 2022-04-22 10:56:35 normalization > -- to at tickets/via/source/to 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKETS_VIA_SOURCE_TO_AB3 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to build a hash column based on the values of this record 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKETS_VIA_SOURCE_TO_AB2 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(_AIRBYTE_SOURCE_HASHID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(NAME as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(PHONE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(ADDRESS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(USERNAME as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(EMAIL_CCS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(FACEBOOK_ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(PROFILE_URL as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(FORMATTED_PHONE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_TO_HASHID, 2022-04-22 10:56:35 normalization > tmp.* 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKETS_VIA_SOURCE_TO_AB2 tmp 2022-04-22 10:56:35 normalization > -- to at tickets/via/source/to 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > )-- Final base SQL model 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKETS_VIA_SOURCE_TO_AB3 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_SOURCE_HASHID, 2022-04-22 10:56:35 normalization > NAME, 2022-04-22 10:56:35 normalization > PHONE, 2022-04-22 10:56:35 normalization > ADDRESS, 2022-04-22 10:56:35 normalization > USERNAME, 2022-04-22 10:56:35 normalization > EMAIL_CCS, 2022-04-22 10:56:35 normalization > FACEBOOK_ID, 2022-04-22 10:56:35 normalization > PROFILE_URL, 2022-04-22 10:56:35 normalization > FORMATTED_PHONE, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_TO_HASHID 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKETS_VIA_SOURCE_TO_AB3 2022-04-22 10:56:35 normalization > -- to at tickets/via/source/to from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > and cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) >= 2022-04-22 10:56:35 normalization > cast('2022-04-22 10:49:17.699000-07:00' as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ) order by (_AIRBYTE_EMITTED_AT) 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:56:25.822971 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 0.41 seconds 2022-04-22 10:56:35 normalization > 10:56:25.823278 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11" 2022-04-22 10:56:35 normalization > 10:56:25.823393 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11: commit; 2022-04-22 10:56:35 normalization > 10:56:26.047353 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 0.22 seconds 2022-04-22 10:56:35 normalization > 10:56:26.053498 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:26.053781 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11: Close 2022-04-22 10:56:35 normalization > 10:56:26.136394 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 0.74 seconds 2022-04-22 10:56:35 normalization > 10:56:26.140539 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2" 2022-04-22 10:56:35 normalization > 10:56:26.140753 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:56:26.157028 [info ] [Thread-2 ]: 88 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11......................... [SUCCESS 1 in 3.33s] 2022-04-22 10:56:35 normalization > 10:56:26.157559 [debug] [Thread-2 ]: Finished running node model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11 2022-04-22 10:56:35 normalization > 10:56:26.157823 [debug] [Thread-2 ]: Began running node model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM_AB1 2022-04-22 10:56:35 normalization > 10:56:26.158274 [debug] [Thread-2 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM_AB1" 2022-04-22 10:56:35 normalization > 10:56:26.158479 [debug] [Thread-2 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM_AB1 2022-04-22 10:56:35 normalization > 10:56:26.158877 [debug] [Thread-2 ]: Compiling model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM_AB1 2022-04-22 10:56:35 normalization > 10:56:26.174015 [debug] [Thread-2 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM_AB1" 2022-04-22 10:56:35 normalization > 10:56:26.174402 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:26.174790 [debug] [Thread-2 ]: Finished running node model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM_AB1 2022-04-22 10:56:35 normalization > 10:56:26.174972 [debug] [Thread-2 ]: Began running node model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_TO_AB1 2022-04-22 10:56:35 normalization > 10:56:26.175268 [debug] [Thread-2 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_TO_AB1" 2022-04-22 10:56:35 normalization > 10:56:26.175411 [debug] [Thread-2 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_TO_AB1 2022-04-22 10:56:35 normalization > 10:56:26.175536 [debug] [Thread-2 ]: Compiling model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_TO_AB1 2022-04-22 10:56:35 normalization > 10:56:26.184035 [debug] [Thread-2 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_TO_AB1" 2022-04-22 10:56:35 normalization > 10:56:26.184566 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:26.184970 [debug] [Thread-2 ]: Finished running node model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_TO_AB1 2022-04-22 10:56:35 normalization > 10:56:26.185150 [debug] [Thread-2 ]: Began running node model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE_AB1 2022-04-22 10:56:35 normalization > 10:56:26.185435 [debug] [Thread-2 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE_AB1" 2022-04-22 10:56:35 normalization > 10:56:26.185733 [debug] [Thread-2 ]: Began compiling node model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE_AB1 2022-04-22 10:56:35 normalization > 10:56:26.185984 [debug] [Thread-2 ]: Compiling model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE_AB1 2022-04-22 10:56:35 normalization > 10:56:26.192495 [debug] [Thread-2 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE_AB1" 2022-04-22 10:56:35 normalization > 10:56:26.193767 [debug] [Thread-4 ]: SQL status: SUCCESS 1 in 0.83 seconds 2022-04-22 10:56:35 normalization > 10:56:26.197551 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE" 2022-04-22 10:56:35 normalization > 10:56:26.197770 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:26.197925 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:56:26.198319 [debug] [Thread-2 ]: Finished running node model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE_AB1 2022-04-22 10:56:35 normalization > 10:56:26.199024 [debug] [Thread-2 ]: Began running node model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM_AB2 2022-04-22 10:56:35 normalization > 10:56:26.199391 [debug] [Thread-2 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM_AB2" 2022-04-22 10:56:35 normalization > 10:56:26.199590 [debug] [Thread-2 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM_AB2 2022-04-22 10:56:35 normalization > 10:56:26.199786 [debug] [Thread-2 ]: Compiling model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM_AB2 2022-04-22 10:56:35 normalization > 10:56:26.222671 [debug] [Thread-2 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM_AB2" 2022-04-22 10:56:35 normalization > 10:56:26.223827 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:26.224324 [debug] [Thread-2 ]: Finished running node model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM_AB2 2022-04-22 10:56:35 normalization > 10:56:26.224514 [debug] [Thread-2 ]: Began running node model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_TO_AB2 2022-04-22 10:56:35 normalization > 10:56:26.224831 [debug] [Thread-2 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_TO_AB2" 2022-04-22 10:56:35 normalization > 10:56:26.225278 [debug] [Thread-2 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_TO_AB2 2022-04-22 10:56:35 normalization > 10:56:26.225515 [debug] [Thread-2 ]: Compiling model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_TO_AB2 2022-04-22 10:56:35 normalization > 10:56:26.237130 [debug] [Thread-1 ]: SQL status: SUCCESS 6 in 0.1 seconds 2022-04-22 10:56:35 normalization > 10:56:26.241540 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2" 2022-04-22 10:56:35 normalization > 10:56:26.243536 [debug] [Thread-2 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_TO_AB2" 2022-04-22 10:56:35 normalization > 10:56:26.243774 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2" 2022-04-22 10:56:35 normalization > 10:56:26.245914 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:26.246558 [debug] [Thread-2 ]: Finished running node model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_TO_AB2 2022-04-22 10:56:35 normalization > 10:56:26.246790 [debug] [Thread-2 ]: Began running node model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE_AB2 2022-04-22 10:56:35 normalization > 10:56:26.247301 [debug] [Thread-2 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE_AB2" 2022-04-22 10:56:35 normalization > 10:56:26.247597 [debug] [Thread-2 ]: Began compiling node model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE_AB2 2022-04-22 10:56:35 normalization > 10:56:26.247858 [debug] [Thread-2 ]: Compiling model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE_AB2 2022-04-22 10:56:35 normalization > 10:56:26.258006 [debug] [Thread-2 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE_AB2" 2022-04-22 10:56:35 normalization > 10:56:26.258345 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:26.258716 [debug] [Thread-2 ]: Finished running node model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE_AB2 2022-04-22 10:56:35 normalization > 10:56:26.258915 [debug] [Thread-2 ]: Began running node model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM_AB3 2022-04-22 10:56:35 normalization > 10:56:26.259500 [debug] [Thread-2 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM_AB3" 2022-04-22 10:56:35 normalization > 10:56:26.259682 [debug] [Thread-2 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM_AB3 2022-04-22 10:56:35 normalization > 10:56:26.259801 [debug] [Thread-2 ]: Compiling model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM_AB3 2022-04-22 10:56:35 normalization > 10:56:26.284877 [debug] [Thread-2 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM_AB3" 2022-04-22 10:56:35 normalization > 10:56:26.285524 [debug] [Thread-5 ]: SQL status: SUCCESS 1 in 0.83 seconds 2022-04-22 10:56:35 normalization > 10:56:26.292950 [debug] [Thread-4 ]: SQL status: SUCCESS 6 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:56:26.401509 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE" 2022-04-22 10:56:35 normalization > 10:56:26.402754 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKETS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:26.403424 [debug] [Thread-1 ]: SQL status: SUCCESS 6 in 0.16 seconds 2022-04-22 10:56:35 normalization > 10:56:26.403617 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:26.404644 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 0.7 seconds 2022-04-22 10:56:35 normalization > 10:56:26.404841 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE" 2022-04-22 10:56:35 normalization > 10:56:26.405072 [debug] [Thread-5 ]: On model.airbyte_utils.TICKETS_VIA_SOURCE_FROM: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_VIA_SOURCE_FROM"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_VIA_SOURCE_FROM__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:56:26.410217 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2" 2022-04-22 10:56:35 normalization > 10:56:26.411117 [debug] [Thread-2 ]: Finished running node model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM_AB3 2022-04-22 10:56:35 normalization > 10:56:26.414694 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKETS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:26.418876 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:56:26.419238 [debug] [Thread-2 ]: Began running node model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_TO_AB3 2022-04-22 10:56:35 normalization > 10:56:26.419453 [debug] [Thread-3 ]: On model.airbyte_utils.TICKETS_VIA_SOURCE_TO: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_VIA_SOURCE_TO"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_VIA_SOURCE_TO__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:56:26.420594 [debug] [Thread-2 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_TO_AB3" 2022-04-22 10:56:35 normalization > 10:56:26.423261 [debug] [Thread-2 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_TO_AB3 2022-04-22 10:56:35 normalization > 10:56:26.423459 [debug] [Thread-2 ]: Compiling model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_TO_AB3 2022-04-22 10:56:35 normalization > 10:56:26.438235 [debug] [Thread-2 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_TO_AB3" 2022-04-22 10:56:35 INFO i.a.w.t.TemporalAttemptExecution(lambda$getWorkerThread$2):158 - Completing future exceptionally... io.airbyte.workers.WorkerException: Normalization Failed. at io.airbyte.workers.DefaultNormalizationWorker.run(DefaultNormalizationWorker.java:60) ~[io.airbyte-airbyte-workers-0.35.65-alpha.jar:?] at io.airbyte.workers.DefaultNormalizationWorker.run(DefaultNormalizationWorker.java:18) ~[io.airbyte-airbyte-workers-0.35.65-alpha.jar:?] at io.airbyte.workers.temporal.TemporalAttemptExecution.lambda$getWorkerThread$2(TemporalAttemptExecution.java:155) ~[io.airbyte-airbyte-workers-0.35.65-alpha.jar:?] at java.lang.Thread.run(Thread.java:833) [?:?] Caused by: io.airbyte.workers.WorkerException: Normalization Failed. at io.airbyte.workers.DefaultNormalizationWorker.run(DefaultNormalizationWorker.java:57) ~[io.airbyte-airbyte-workers-0.35.65-alpha.jar:?] ... 3 more Suppressed: io.airbyte.workers.WorkerException: Normalization process wasn't successful at io.airbyte.workers.normalization.DefaultNormalizationRunner.close(DefaultNormalizationRunner.java:160) ~[io.airbyte-airbyte-workers-0.35.65-alpha.jar:?] at io.airbyte.workers.DefaultNormalizationWorker.run(DefaultNormalizationWorker.java:45) ~[io.airbyte-airbyte-workers-0.35.65-alpha.jar:?] at io.airbyte.workers.DefaultNormalizationWorker.run(DefaultNormalizationWorker.java:18) ~[io.airbyte-airbyte-workers-0.35.65-alpha.jar:?] at io.airbyte.workers.temporal.TemporalAttemptExecution.lambda$getWorkerThread$2(TemporalAttemptExecution.java:155) ~[io.airbyte-airbyte-workers-0.35.65-alpha.jar:?] at java.lang.Thread.run(Thread.java:833) [?:?] 2022-04-22 10:56:35 normalization > 10:56:26.438775 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:26.439214 [debug] [Thread-2 ]: Finished running node model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_TO_AB3 2022-04-22 10:56:35 normalization > 10:56:26.439408 [debug] [Thread-2 ]: Began running node model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE_AB3 2022-04-22 10:56:35 normalization > 10:56:26.439880 [debug] [Thread-2 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE_AB3" 2022-04-22 10:56:35 normalization > 10:56:26.440054 [debug] [Thread-2 ]: Began compiling node model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE_AB3 2022-04-22 10:56:35 normalization > 10:56:26.440212 [debug] [Thread-2 ]: Compiling model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE_AB3 2022-04-22 10:56:35 normalization > 10:56:26.454124 [debug] [Thread-2 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE_AB3" 2022-04-22 10:56:35 normalization > 10:56:26.454465 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:26.454819 [debug] [Thread-2 ]: Finished running node model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE_AB3 2022-04-22 10:56:35 normalization > 10:56:26.455016 [debug] [Thread-2 ]: Began running node model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM 2022-04-22 10:56:35 normalization > 10:56:26.455396 [info ] [Thread-2 ]: 93 of 95 START incremental model ZENDESK_SUPPORT.TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM................................... [RUN] 2022-04-22 10:56:35 normalization > 10:56:26.456039 [debug] [Thread-2 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:26.456208 [debug] [Thread-2 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM 2022-04-22 10:56:35 normalization > 10:56:26.456386 [debug] [Thread-2 ]: Compiling model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM 2022-04-22 10:56:35 normalization > 10:56:26.469859 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:26.470091 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM"} */ 2022-04-22 10:56:35 INFO i.a.w.t.TemporalAttemptExecution(get):131 - Stopping cancellation check scheduling... 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:26.470200 [debug] [Thread-2 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 INFO i.a.w.t.TemporalUtils(withBackgroundHeartbeat):235 - Stopping temporal heartbeating... 2022-04-22 10:56:35 normalization > 10:56:26.474484 [debug] [Thread-4 ]: SQL status: SUCCESS 6 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:56:26.479181 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE" 2022-04-22 10:56:35 normalization > 10:56:26.479486 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:56:26.510791 [debug] [Thread-5 ]: SQL status: SUCCESS 21 in 0.1 seconds 2022-04-22 10:56:35 normalization > 10:56:26.516756 [debug] [Thread-1 ]: SQL status: SUCCESS 6 in 0.1 seconds 2022-04-22 10:56:35 normalization > 10:56:26.522471 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKETS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:26.541092 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2" 2022-04-22 10:56:35 normalization > 10:56:26.558400 [debug] [Thread-3 ]: SQL status: SUCCESS 13 in 0.14 seconds 2022-04-22 10:56:35 normalization > 10:56:26.559190 [debug] [Thread-4 ]: SQL status: SUCCESS 6 in 0.08 seconds 2022-04-22 10:56:35 normalization > 10:56:26.569038 [debug] [Thread-5 ]: On model.airbyte_utils.TICKETS_VIA_SOURCE_FROM: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_VIA_SOURCE_FROM"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:26.594768 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2" 2022-04-22 10:56:35 normalization > 10:56:26.640309 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE" 2022-04-22 10:56:35 normalization > 10:56:26.642461 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKETS_VIA_SOURCE_TO" 2022-04-22 10:56:35 WARN i.t.i.a.POJOActivityTaskHandler(activityFailureToResult):307 - Activity failure. ActivityId=06617ddc-654c-3c6f-b2a8-d2b1d0efcc2e, activityType=Normalize, attempt=1 java.lang.RuntimeException: io.temporal.serviceclient.CheckedExceptionWrapper: java.util.concurrent.ExecutionException: io.airbyte.workers.WorkerException: Normalization Failed. at io.airbyte.workers.temporal.TemporalUtils.withBackgroundHeartbeat(TemporalUtils.java:233) ~[io.airbyte-airbyte-workers-0.35.65-alpha.jar:?] at io.airbyte.workers.temporal.sync.NormalizationActivityImpl.normalize(NormalizationActivityImpl.java:71) ~[io.airbyte-airbyte-workers-0.35.65-alpha.jar:?] at jdk.internal.reflect.GeneratedMethodAccessor203.invoke(Unknown Source) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] at io.temporal.internal.activity.POJOActivityTaskHandler$POJOActivityInboundCallsInterceptor.execute(POJOActivityTaskHandler.java:214) ~[temporal-sdk-1.8.1.jar:?] at io.temporal.internal.activity.POJOActivityTaskHandler$POJOActivityImplementation.execute(POJOActivityTaskHandler.java:180) ~[temporal-sdk-1.8.1.jar:?] at io.temporal.internal.activity.POJOActivityTaskHandler.handle(POJOActivityTaskHandler.java:120) ~[temporal-sdk-1.8.1.jar:?] at io.temporal.internal.worker.ActivityWorker$TaskHandlerImpl.handle(ActivityWorker.java:204) ~[temporal-sdk-1.8.1.jar:?] at io.temporal.internal.worker.ActivityWorker$TaskHandlerImpl.handle(ActivityWorker.java:164) ~[temporal-sdk-1.8.1.jar:?] at io.temporal.internal.worker.PollTaskExecutor.lambda$process$0(PollTaskExecutor.java:93) ~[temporal-sdk-1.8.1.jar:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?] at java.lang.Thread.run(Thread.java:833) [?:?] Caused by: io.temporal.serviceclient.CheckedExceptionWrapper: java.util.concurrent.ExecutionException: io.airbyte.workers.WorkerException: Normalization Failed. at io.temporal.serviceclient.CheckedExceptionWrapper.wrap(CheckedExceptionWrapper.java:56) ~[temporal-serviceclient-1.8.1.jar:?] at io.temporal.internal.sync.WorkflowInternal.wrap(WorkflowInternal.java:448) ~[temporal-sdk-1.8.1.jar:?] at io.temporal.activity.Activity.wrap(Activity.java:51) ~[temporal-sdk-1.8.1.jar:?] at io.airbyte.workers.temporal.TemporalAttemptExecution.get(TemporalAttemptExecution.java:135) ~[io.airbyte-airbyte-workers-0.35.65-alpha.jar:?] at io.airbyte.workers.temporal.sync.NormalizationActivityImpl.lambda$normalize$1(NormalizationActivityImpl.java:97) ~[io.airbyte-airbyte-workers-0.35.65-alpha.jar:?] at io.airbyte.workers.temporal.TemporalUtils.withBackgroundHeartbeat(TemporalUtils.java:228) ~[io.airbyte-airbyte-workers-0.35.65-alpha.jar:?] ... 13 more Caused by: java.util.concurrent.ExecutionException: io.airbyte.workers.WorkerException: Normalization Failed. at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:396) ~[?:?] at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2073) ~[?:?] at io.airbyte.workers.temporal.TemporalAttemptExecution.get(TemporalAttemptExecution.java:129) ~[io.airbyte-airbyte-workers-0.35.65-alpha.jar:?] at io.airbyte.workers.temporal.sync.NormalizationActivityImpl.lambda$normalize$1(NormalizationActivityImpl.java:97) ~[io.airbyte-airbyte-workers-0.35.65-alpha.jar:?] at io.airbyte.workers.temporal.TemporalUtils.withBackgroundHeartbeat(TemporalUtils.java:228) ~[io.airbyte-airbyte-workers-0.35.65-alpha.jar:?] ... 13 more Caused by: io.airbyte.workers.WorkerException: Normalization Failed. at io.airbyte.workers.DefaultNormalizationWorker.run(DefaultNormalizationWorker.java:60) ~[io.airbyte-airbyte-workers-0.35.65-alpha.jar:?] at io.airbyte.workers.DefaultNormalizationWorker.run(DefaultNormalizationWorker.java:18) ~[io.airbyte-airbyte-workers-0.35.65-alpha.jar:?] at io.airbyte.workers.temporal.TemporalAttemptExecution.lambda$getWorkerThread$2(TemporalAttemptExecution.java:155) ~[io.airbyte-airbyte-workers-0.35.65-alpha.jar:?] ... 1 more Caused by: io.airbyte.workers.WorkerException: Normalization Failed. at io.airbyte.workers.DefaultNormalizationWorker.run(DefaultNormalizationWorker.java:57) ~[io.airbyte-airbyte-workers-0.35.65-alpha.jar:?] at io.airbyte.workers.DefaultNormalizationWorker.run(DefaultNormalizationWorker.java:18) ~[io.airbyte-airbyte-workers-0.35.65-alpha.jar:?] at io.airbyte.workers.temporal.TemporalAttemptExecution.lambda$getWorkerThread$2(TemporalAttemptExecution.java:155) ~[io.airbyte-airbyte-workers-0.35.65-alpha.jar:?] ... 1 more Suppressed: io.airbyte.workers.WorkerException: Normalization process wasn't successful at io.airbyte.workers.normalization.DefaultNormalizationRunner.close(DefaultNormalizationRunner.java:160) ~[io.airbyte-airbyte-workers-0.35.65-alpha.jar:?] at io.airbyte.workers.DefaultNormalizationWorker.run(DefaultNormalizationWorker.java:45) ~[io.airbyte-airbyte-workers-0.35.65-alpha.jar:?] at io.airbyte.workers.DefaultNormalizationWorker.run(DefaultNormalizationWorker.java:18) ~[io.airbyte-airbyte-workers-0.35.65-alpha.jar:?] at io.airbyte.workers.temporal.TemporalAttemptExecution.lambda$getWorkerThread$2(TemporalAttemptExecution.java:155) ~[io.airbyte-airbyte-workers-0.35.65-alpha.jar:?] at java.lang.Thread.run(Thread.java:833) [?:?] 2022-04-22 10:56:35 normalization > 10:56:26.654966 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE" 2022-04-22 10:56:35 normalization > 10:56:26.668435 [debug] [Thread-3 ]: On model.airbyte_utils.TICKETS_VIA_SOURCE_TO: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_VIA_SOURCE_TO"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:26.732036 [debug] [Thread-3 ]: SQL status: SUCCESS 13 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:56:26.737974 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKETS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:26.738605 [debug] [Thread-5 ]: SQL status: SUCCESS 21 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:56:26.738838 [debug] [Thread-3 ]: On model.airbyte_utils.TICKETS_VIA_SOURCE_TO: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_VIA_SOURCE_TO"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_VIA_SOURCE_TO__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:56:26.744352 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKETS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:26.746063 [debug] [Thread-5 ]: On model.airbyte_utils.TICKETS_VIA_SOURCE_FROM: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_VIA_SOURCE_FROM"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_VIA_SOURCE_FROM__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:56:26.759190 [debug] [Thread-1 ]: SQL status: SUCCESS 6 in 0.11 seconds 2022-04-22 10:56:35 normalization > 10:56:26.761604 [debug] [Thread-1 ]: 2022-04-22 10:56:35 normalization > In "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2": 2022-04-22 10:56:35 normalization > Schema changed: False 2022-04-22 10:56:35 normalization > Source columns not in target: [] 2022-04-22 10:56:35 normalization > Target columns not in source: [] 2022-04-22 10:56:35 normalization > New column types: [] 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 10:56:26.762671 [debug] [Thread-1 ]: Writing runtime SQL for node "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2" 2022-04-22 10:56:35 normalization > 10:56:26.763710 [debug] [Thread-4 ]: SQL status: SUCCESS 6 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:56:26.765938 [debug] [Thread-4 ]: 2022-04-22 10:56:35 normalization > In "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE": 2022-04-22 10:56:35 normalization > Schema changed: False 2022-04-22 10:56:35 normalization > Source columns not in target: [] 2022-04-22 10:56:35 normalization > Target columns not in source: [] 2022-04-22 10:56:35 normalization > New column types: [] 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 10:56:26.766899 [debug] [Thread-4 ]: Writing runtime SQL for node "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE" 2022-04-22 10:56:35 normalization > 10:56:26.767678 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2" 2022-04-22 10:56:35 normalization > 10:56:26.768339 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE" 2022-04-22 10:56:35 normalization > 10:56:26.768519 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2"} */ 2022-04-22 10:56:35 normalization > begin; 2022-04-22 10:56:35 normalization > 10:56:26.768699 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE"} */ 2022-04-22 10:56:35 normalization > begin; 2022-04-22 10:56:35 normalization > 10:56:26.821160 [debug] [Thread-3 ]: SQL status: SUCCESS 13 in 0.08 seconds 2022-04-22 10:56:35 normalization > 10:56:26.826573 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKETS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:26.826799 [debug] [Thread-3 ]: On model.airbyte_utils.TICKETS_VIA_SOURCE_TO: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_VIA_SOURCE_TO"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKETS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:26.829614 [debug] [Thread-5 ]: SQL status: SUCCESS 21 in 0.08 seconds 2022-04-22 10:56:35 normalization > 10:56:26.836928 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKETS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:26.837107 [debug] [Thread-5 ]: On model.airbyte_utils.TICKETS_VIA_SOURCE_FROM: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_VIA_SOURCE_FROM"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKETS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:26.845429 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 0.08 seconds 2022-04-22 10:56:35 normalization > 10:56:26.845646 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2" 2022-04-22 10:56:35 normalization > 10:56:26.845756 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2: insert into "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2" ("_AIRBYTE_FLAGS_OPTIONS_HASHID", "TRUSTED", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_2_HASHID") 2022-04-22 10:56:35 normalization > ( 2022-04-22 10:56:35 normalization > select "_AIRBYTE_FLAGS_OPTIONS_HASHID", "TRUSTED", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_2_HASHID" 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2__dbt_tmp" 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:56:26.899069 [debug] [Thread-4 ]: SQL status: SUCCESS 1 in 0.13 seconds 2022-04-22 10:56:35 normalization > 10:56:26.899396 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE" 2022-04-22 10:56:35 normalization > 10:56:26.899517 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE: insert into "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE" ("_AIRBYTE_11_HASHID", "USER", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_MESSAGE_HASHID") 2022-04-22 10:56:35 normalization > ( 2022-04-22 10:56:35 normalization > select "_AIRBYTE_11_HASHID", "USER", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_MESSAGE_HASHID" 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE__dbt_tmp" 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:56:26.901106 [debug] [Thread-5 ]: SQL status: SUCCESS 21 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:56:26.907975 [debug] [Thread-5 ]: 2022-04-22 10:56:35 normalization > In "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKETS_VIA_SOURCE_FROM": 2022-04-22 10:56:35 normalization > Schema changed: False 2022-04-22 10:56:35 normalization > Source columns not in target: [] 2022-04-22 10:56:35 normalization > Target columns not in source: [] 2022-04-22 10:56:35 normalization > New column types: [] 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 10:56:26.909553 [debug] [Thread-5 ]: Writing runtime SQL for node "model.airbyte_utils.TICKETS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:26.910706 [debug] [Thread-3 ]: SQL status: SUCCESS 13 in 0.08 seconds 2022-04-22 10:56:35 normalization > 10:56:26.914925 [debug] [Thread-3 ]: 2022-04-22 10:56:35 normalization > In "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKETS_VIA_SOURCE_TO": 2022-04-22 10:56:35 normalization > Schema changed: False 2022-04-22 10:56:35 normalization > Source columns not in target: [] 2022-04-22 10:56:35 normalization > Target columns not in source: [] 2022-04-22 10:56:35 normalization > New column types: [] 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 10:56:26.916654 [debug] [Thread-3 ]: Writing runtime SQL for node "model.airbyte_utils.TICKETS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:26.918211 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKETS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:26.920062 [debug] [Thread-5 ]: On model.airbyte_utils.TICKETS_VIA_SOURCE_FROM: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_VIA_SOURCE_FROM"} */ 2022-04-22 10:56:35 normalization > begin; 2022-04-22 10:56:35 normalization > 10:56:26.921283 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKETS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:26.921643 [debug] [Thread-3 ]: On model.airbyte_utils.TICKETS_VIA_SOURCE_TO: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKETS_VIA_SOURCE_TO"} */ 2022-04-22 10:56:35 normalization > begin; 2022-04-22 10:56:35 normalization > 10:56:26.983278 [debug] [Thread-2 ]: SQL status: SUCCESS 14 in 0.51 seconds 2022-04-22 10:56:35 normalization > 10:56:26.994362 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:26.994614 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:26.999857 [debug] [Thread-5 ]: SQL status: SUCCESS 1 in 0.08 seconds 2022-04-22 10:56:35 normalization > 10:56:27.000177 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKETS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:27.000298 [debug] [Thread-5 ]: On model.airbyte_utils.TICKETS_VIA_SOURCE_FROM: insert into "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_VIA_SOURCE_FROM" ("_AIRBYTE_SOURCE_HASHID", "ID", "NAME", "PHONE", "TITLE", "ADDRESS", "DELETED", "SUBJECT", "TOPIC_ID", "USERNAME", "TICKET_ID", "TOPIC_NAME", "FACEBOOK_ID", "PROFILE_URL", "REVISION_ID", "FORMATTED_PHONE", "ORIGINAL_RECIPIENTS", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_FROM_HASHID") 2022-04-22 10:56:35 normalization > ( 2022-04-22 10:56:35 normalization > select "_AIRBYTE_SOURCE_HASHID", "ID", "NAME", "PHONE", "TITLE", "ADDRESS", "DELETED", "SUBJECT", "TOPIC_ID", "USERNAME", "TICKET_ID", "TOPIC_NAME", "FACEBOOK_ID", "PROFILE_URL", "REVISION_ID", "FORMATTED_PHONE", "ORIGINAL_RECIPIENTS", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_FROM_HASHID" 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_VIA_SOURCE_FROM__dbt_tmp" 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:56:27.007273 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 0.08 seconds 2022-04-22 10:56:35 normalization > 10:56:27.007557 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKETS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:27.007665 [debug] [Thread-3 ]: On model.airbyte_utils.TICKETS_VIA_SOURCE_TO: insert into "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_VIA_SOURCE_TO" ("_AIRBYTE_SOURCE_HASHID", "NAME", "PHONE", "ADDRESS", "USERNAME", "EMAIL_CCS", "FACEBOOK_ID", "PROFILE_URL", "FORMATTED_PHONE", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_TO_HASHID") 2022-04-22 10:56:35 normalization > ( 2022-04-22 10:56:35 normalization > select "_AIRBYTE_SOURCE_HASHID", "NAME", "PHONE", "ADDRESS", "USERNAME", "EMAIL_CCS", "FACEBOOK_ID", "PROFILE_URL", "FORMATTED_PHONE", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_TO_HASHID" 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKETS_VIA_SOURCE_TO__dbt_tmp" 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:56:27.090556 [debug] [Thread-2 ]: SQL status: SUCCESS 14 in 0.1 seconds 2022-04-22 10:56:35 normalization > 10:56:27.093944 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:27.094142 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:27.287207 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 0.44 seconds 2022-04-22 10:56:35 normalization > 10:56:27.287518 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2" 2022-04-22 10:56:35 normalization > 10:56:27.287650 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2: commit; 2022-04-22 10:56:35 normalization > 10:56:27.508770 [debug] [Thread-4 ]: SQL status: SUCCESS 10 in 0.61 seconds 2022-04-22 10:56:35 normalization > 10:56:27.509125 [debug] [Thread-4 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE" 2022-04-22 10:56:35 normalization > 10:56:27.509249 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE: commit; 2022-04-22 10:56:35 normalization > 10:56:27.539310 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 0.45 seconds 2022-04-22 10:56:35 normalization > 10:56:27.550092 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:27.550344 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:27.582105 [debug] [Thread-3 ]: SQL status: SUCCESS 82 in 0.57 seconds 2022-04-22 10:56:35 normalization > 10:56:27.582413 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKETS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:27.582529 [debug] [Thread-3 ]: On model.airbyte_utils.TICKETS_VIA_SOURCE_TO: commit; 2022-04-22 10:56:35 normalization > 10:56:27.590151 [debug] [Thread-5 ]: SQL status: SUCCESS 82 in 0.59 seconds 2022-04-22 10:56:35 normalization > 10:56:27.590423 [debug] [Thread-5 ]: Using snowflake connection "model.airbyte_utils.TICKETS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:27.590530 [debug] [Thread-5 ]: On model.airbyte_utils.TICKETS_VIA_SOURCE_FROM: commit; 2022-04-22 10:56:35 normalization > 10:56:27.610457 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 0.32 seconds 2022-04-22 10:56:35 normalization > 10:56:27.614258 [debug] [Thread-1 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:27.614495 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2: Close 2022-04-22 10:56:35 normalization > 10:56:27.618059 [debug] [Thread-2 ]: SQL status: SUCCESS 14 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:56:27.621610 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:27.622015 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:27.697036 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:56:27.706028 [debug] [Thread-2 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:27.706465 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:27.706622 [debug] [Thread-2 ]: Began executing node model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM 2022-04-22 10:56:35 normalization > 10:56:27.712772 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:27.712991 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:27.721043 [info ] [Thread-1 ]: 89 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2.......................... [SUCCESS 1 in 4.31s] 2022-04-22 10:56:35 normalization > 10:56:27.721522 [debug] [Thread-1 ]: Finished running node model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_2 2022-04-22 10:56:35 normalization > 10:56:27.721758 [debug] [Thread-1 ]: Began running node model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_TO 2022-04-22 10:56:35 normalization > 10:56:27.722095 [info ] [Thread-1 ]: 94 of 95 START incremental model ZENDESK_SUPPORT.TICKET_AUDITS_EVENTS_VIA_SOURCE_TO..................................... [RUN] 2022-04-22 10:56:35 normalization > 10:56:27.722917 [debug] [Thread-1 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:27.723125 [debug] [Thread-1 ]: Began compiling node model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_TO 2022-04-22 10:56:35 normalization > 10:56:27.723294 [debug] [Thread-1 ]: Compiling model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_TO 2022-04-22 10:56:35 normalization > 10:56:27.738443 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:27.738676 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_TO: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_TO"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:27.738785 [debug] [Thread-1 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:56:27.773201 [debug] [Thread-4 ]: SQL status: SUCCESS 1 in 0.26 seconds 2022-04-22 10:56:35 normalization > 10:56:27.792350 [debug] [Thread-4 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:27.803676 [debug] [Thread-4 ]: On model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE: Close 2022-04-22 10:56:35 normalization > 10:56:27.813728 [debug] [Thread-2 ]: SQL status: SUCCESS 14 in 0.1 seconds 2022-04-22 10:56:35 normalization > 10:56:27.826876 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 0.24 seconds 2022-04-22 10:56:35 normalization > 10:56:27.893810 [debug] [Thread-3 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:27.896256 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:27.896745 [debug] [Thread-3 ]: On model.airbyte_utils.TICKETS_VIA_SOURCE_TO: Close 2022-04-22 10:56:35 normalization > 10:56:27.908252 [debug] [Thread-5 ]: SQL status: SUCCESS 1 in 0.32 seconds 2022-04-22 10:56:35 normalization > 10:56:27.923281 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace temporary table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM__dbt_tmp" as 2022-04-22 10:56:35 normalization > (select * from( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > with __dbt__cte__TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM_AB1 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to parse JSON blob stored in a single column and extract into separated field columns as described by the JSON Schema 2022-04-22 10:56:35 normalization > -- depends_on: "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_SOURCE_HASHID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json("from"), '"id"')) as ID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json("from"), '"name"')) as NAME, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json("from"), '"title"')) as TITLE, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json("from"), '"address"')) as ADDRESS, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json("from"), '"deleted"')) as DELETED, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json("from"), '"subject"')) as SUBJECT, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json("from"), '"ticket_id"')) as TICKET_ID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json("from"), '"revision_id"')) as REVISION_ID, 2022-04-22 10:56:35 normalization > get_path(parse_json("from"), '"original_recipients"') as ORIGINAL_RECIPIENTS, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_VIA_SOURCE" as table_alias 2022-04-22 10:56:35 normalization > -- from at ticket_audits/events/via/source/from 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > and "from" is not null 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM_AB2 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to cast each column to its adequate SQL type converted from the JSON schema type 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM_AB1 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_SOURCE_HASHID, 2022-04-22 10:56:35 normalization > cast(ID as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as ID, 2022-04-22 10:56:35 normalization > cast(NAME as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as NAME, 2022-04-22 10:56:35 normalization > cast(TITLE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as TITLE, 2022-04-22 10:56:35 normalization > cast(ADDRESS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as ADDRESS, 2022-04-22 10:56:35 normalization > cast(DELETED as boolean) as DELETED, 2022-04-22 10:56:35 normalization > cast(SUBJECT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as SUBJECT, 2022-04-22 10:56:35 normalization > cast(TICKET_ID as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as TICKET_ID, 2022-04-22 10:56:35 normalization > cast(REVISION_ID as 2022-04-22 10:56:35 normalization > bigint 2022-04-22 10:56:35 normalization > ) as REVISION_ID, 2022-04-22 10:56:35 normalization > ORIGINAL_RECIPIENTS, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM_AB1 2022-04-22 10:56:35 normalization > -- from at ticket_audits/events/via/source/from 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM_AB3 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to build a hash column based on the values of this record 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM_AB2 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(_AIRBYTE_SOURCE_HASHID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(NAME as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(TITLE as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(ADDRESS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(DELETED as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(SUBJECT as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(TICKET_ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(REVISION_ID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(ORIGINAL_RECIPIENTS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_FROM_HASHID, 2022-04-22 10:56:35 normalization > tmp.* 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM_AB2 tmp 2022-04-22 10:56:35 normalization > -- from at ticket_audits/events/via/source/from 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > )-- Final base SQL model 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM_AB3 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_SOURCE_HASHID, 2022-04-22 10:56:35 normalization > ID, 2022-04-22 10:56:35 normalization > NAME, 2022-04-22 10:56:35 normalization > TITLE, 2022-04-22 10:56:35 normalization > ADDRESS, 2022-04-22 10:56:35 normalization > DELETED, 2022-04-22 10:56:35 normalization > SUBJECT, 2022-04-22 10:56:35 normalization > TICKET_ID, 2022-04-22 10:56:35 normalization > REVISION_ID, 2022-04-22 10:56:35 normalization > ORIGINAL_RECIPIENTS, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_FROM_HASHID 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM_AB3 2022-04-22 10:56:35 normalization > -- from at ticket_audits/events/via/source/from from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > and cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) >= 2022-04-22 10:56:35 normalization > cast('2022-04-22 10:47:49.699000-07:00' as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ) order by (_AIRBYTE_EMITTED_AT) 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:56:27.930626 [debug] [Thread-5 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:27.940636 [debug] [Thread-5 ]: On model.airbyte_utils.TICKETS_VIA_SOURCE_FROM: Close 2022-04-22 10:56:35 normalization > 10:56:28.026767 [info ] [Thread-3 ]: 92 of 95 OK created incremental model ZENDESK_SUPPORT.TICKETS_VIA_SOURCE_TO............................................. [SUCCESS 1 in 3.52s] 2022-04-22 10:56:35 normalization > 10:56:28.027272 [debug] [Thread-3 ]: Finished running node model.airbyte_utils.TICKETS_VIA_SOURCE_TO 2022-04-22 10:56:35 normalization > 10:56:28.027533 [debug] [Thread-3 ]: Began running node model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE 2022-04-22 10:56:35 normalization > 10:56:28.028069 [info ] [Thread-3 ]: 95 of 95 START incremental model ZENDESK_SUPPORT.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE...................... [RUN] 2022-04-22 10:56:35 normalization > 10:56:28.028732 [debug] [Thread-3 ]: Acquiring new snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE" 2022-04-22 10:56:35 normalization > 10:56:28.028980 [debug] [Thread-3 ]: Began compiling node model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE 2022-04-22 10:56:35 normalization > 10:56:28.029125 [debug] [Thread-3 ]: Compiling model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE 2022-04-22 10:56:35 normalization > 10:56:28.047488 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE" 2022-04-22 10:56:35 normalization > 10:56:28.048696 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE" 2022-04-22 10:56:35 normalization > 10:56:28.048974 [debug] [Thread-3 ]: Opening a new connection, currently in state closed 2022-04-22 10:56:35 normalization > 10:56:28.054416 [info ] [Thread-4 ]: 90 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE................... [SUCCESS 1 in 4.51s] 2022-04-22 10:56:35 normalization > 10:56:28.055029 [debug] [Thread-4 ]: Finished running node model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE 2022-04-22 10:56:35 normalization > 10:56:28.112862 [info ] [Thread-5 ]: 91 of 95 OK created incremental model ZENDESK_SUPPORT.TICKETS_VIA_SOURCE_FROM........................................... [SUCCESS 1 in 4.26s] 2022-04-22 10:56:35 normalization > 10:56:28.167950 [debug] [Thread-5 ]: Finished running node model.airbyte_utils.TICKETS_VIA_SOURCE_FROM 2022-04-22 10:56:35 normalization > 10:56:28.320575 [debug] [Thread-1 ]: SQL status: SUCCESS 7 in 0.58 seconds 2022-04-22 10:56:35 normalization > 10:56:28.332280 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:28.332541 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_TO: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_TO"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:28.401074 [debug] [Thread-1 ]: SQL status: SUCCESS 7 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:56:28.403903 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:28.404087 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_TO: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_TO"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:28.509159 [debug] [Thread-3 ]: SQL status: SUCCESS 6 in 0.46 seconds 2022-04-22 10:56:35 normalization > 10:56:28.519539 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE" 2022-04-22 10:56:35 normalization > 10:56:28.519786 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE" 2022-04-22 10:56:35 normalization > 10:56:28.577682 [debug] [Thread-3 ]: SQL status: SUCCESS 6 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:56:28.580429 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE" 2022-04-22 10:56:35 normalization > 10:56:28.580620 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE" 2022-04-22 10:56:35 normalization > 10:56:28.831663 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 0.43 seconds 2022-04-22 10:56:35 normalization > 10:56:28.841553 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:28.841792 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_TO: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_TO"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:28.859794 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 0.28 seconds 2022-04-22 10:56:35 normalization > 10:56:28.869706 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE" 2022-04-22 10:56:35 normalization > 10:56:28.869949 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE" 2022-04-22 10:56:35 normalization > 10:56:28.894082 [debug] [Thread-1 ]: SQL status: SUCCESS 7 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:56:28.896779 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:28.897007 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_TO: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_TO"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:28.944322 [debug] [Thread-3 ]: SQL status: SUCCESS 6 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:56:28.947084 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE" 2022-04-22 10:56:35 normalization > 10:56:28.947276 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > select max(cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > )) from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE" 2022-04-22 10:56:35 normalization > 10:56:28.975698 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 0.08 seconds 2022-04-22 10:56:35 normalization > 10:56:28.983618 [debug] [Thread-1 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:28.984034 [debug] [Thread-1 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:28.984209 [debug] [Thread-1 ]: Began executing node model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_TO 2022-04-22 10:56:35 normalization > 10:56:28.991727 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:28.991927 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_TO: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_TO"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:29.014089 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 1.08 seconds 2022-04-22 10:56:35 normalization > 10:56:29.018353 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:29.018556 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:56:29.021430 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:56:29.028795 [debug] [Thread-3 ]: Writing injected SQL for node "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE" 2022-04-22 10:56:35 normalization > 10:56:29.029187 [debug] [Thread-3 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:29.029480 [debug] [Thread-3 ]: Began executing node model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE 2022-04-22 10:56:35 normalization > 10:56:29.035116 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE" 2022-04-22 10:56:35 normalization > 10:56:29.035380 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE" 2022-04-22 10:56:35 normalization > 10:56:29.042631 [debug] [Thread-1 ]: SQL status: SUCCESS 7 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:56:29.052518 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:29.052709 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_TO: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_TO"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace temporary table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_VIA_SOURCE_TO__dbt_tmp" as 2022-04-22 10:56:35 normalization > (select * from( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > with __dbt__cte__TICKET_AUDITS_EVENTS_VIA_SOURCE_TO_AB1 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to parse JSON blob stored in a single column and extract into separated field columns as described by the JSON Schema 2022-04-22 10:56:35 normalization > -- depends_on: "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_SOURCE_HASHID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json("to"), '"name"')) as NAME, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json("to"), '"address"')) as ADDRESS, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_VIA_SOURCE" as table_alias 2022-04-22 10:56:35 normalization > -- to at ticket_audits/events/via/source/to 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > and "to" is not null 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKET_AUDITS_EVENTS_VIA_SOURCE_TO_AB2 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to cast each column to its adequate SQL type converted from the JSON schema type 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_AUDITS_EVENTS_VIA_SOURCE_TO_AB1 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_SOURCE_HASHID, 2022-04-22 10:56:35 normalization > cast(NAME as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as NAME, 2022-04-22 10:56:35 normalization > cast(ADDRESS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as ADDRESS, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_AUDITS_EVENTS_VIA_SOURCE_TO_AB1 2022-04-22 10:56:35 normalization > -- to at ticket_audits/events/via/source/to 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKET_AUDITS_EVENTS_VIA_SOURCE_TO_AB3 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to build a hash column based on the values of this record 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_AUDITS_EVENTS_VIA_SOURCE_TO_AB2 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(_AIRBYTE_SOURCE_HASHID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(NAME as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(ADDRESS as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_TO_HASHID, 2022-04-22 10:56:35 normalization > tmp.* 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_AUDITS_EVENTS_VIA_SOURCE_TO_AB2 tmp 2022-04-22 10:56:35 normalization > -- to at ticket_audits/events/via/source/to 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > )-- Final base SQL model 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_AUDITS_EVENTS_VIA_SOURCE_TO_AB3 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_SOURCE_HASHID, 2022-04-22 10:56:35 normalization > NAME, 2022-04-22 10:56:35 normalization > ADDRESS, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_TO_HASHID 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_AUDITS_EVENTS_VIA_SOURCE_TO_AB3 2022-04-22 10:56:35 normalization > -- to at ticket_audits/events/via/source/to from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_VIA_SOURCE" 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > and cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) >= 2022-04-22 10:56:35 normalization > cast('2022-04-22 10:47:49.679000-07:00' as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ) order by (_AIRBYTE_EMITTED_AT) 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:56:29.086893 [debug] [Thread-3 ]: SQL status: SUCCESS 6 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:56:29.098140 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE" 2022-04-22 10:56:35 normalization > 10:56:29.099740 [debug] [Thread-2 ]: SQL status: SUCCESS 14 in 0.08 seconds 2022-04-22 10:56:35 normalization > 10:56:29.100032 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > create or replace temporary table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE__dbt_tmp" as 2022-04-22 10:56:35 normalization > (select * from( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > with __dbt__cte__TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE_AB1 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to parse JSON blob stored in a single column and extract into separated field columns as described by the JSON Schema 2022-04-22 10:56:35 normalization > -- depends_on: "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11" 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_11_HASHID, 2022-04-22 10:56:35 normalization > to_varchar(get_path(parse_json(MESSAGE), '"user"')) as USER, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11" as table_alias 2022-04-22 10:56:35 normalization > -- MESSAGE at ticket_comments/metadata/flags_options/11/message 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > and MESSAGE is not null 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE_AB2 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to cast each column to its adequate SQL type converted from the JSON schema type 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE_AB1 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_11_HASHID, 2022-04-22 10:56:35 normalization > cast(USER as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ) as USER, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE_AB1 2022-04-22 10:56:35 normalization > -- MESSAGE at ticket_comments/metadata/flags_options/11/message 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ), __dbt__cte__TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE_AB3 as ( 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > -- SQL model to build a hash column based on the values of this record 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE_AB2 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > md5(cast(coalesce(cast(_AIRBYTE_11_HASHID as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') || '-' || coalesce(cast(USER as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > ), '') as 2022-04-22 10:56:35 normalization > varchar 2022-04-22 10:56:35 normalization > )) as _AIRBYTE_MESSAGE_HASHID, 2022-04-22 10:56:35 normalization > tmp.* 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE_AB2 tmp 2022-04-22 10:56:35 normalization > -- MESSAGE at ticket_comments/metadata/flags_options/11/message 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > )-- Final base SQL model 2022-04-22 10:56:35 normalization > -- depends_on: __dbt__cte__TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE_AB3 2022-04-22 10:56:35 normalization > select 2022-04-22 10:56:35 normalization > _AIRBYTE_11_HASHID, 2022-04-22 10:56:35 normalization > USER, 2022-04-22 10:56:35 normalization > _AIRBYTE_AB_ID, 2022-04-22 10:56:35 normalization > _AIRBYTE_EMITTED_AT, 2022-04-22 10:56:35 normalization > convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, 2022-04-22 10:56:35 normalization > _AIRBYTE_MESSAGE_HASHID 2022-04-22 10:56:35 normalization > from __dbt__cte__TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE_AB3 2022-04-22 10:56:35 normalization > -- MESSAGE at ticket_comments/metadata/flags_options/11/message from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11" 2022-04-22 10:56:35 normalization > where 1 = 1 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > and cast(_AIRBYTE_EMITTED_AT as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) >= 2022-04-22 10:56:35 normalization > cast('2022-04-11 22:52:06.416000-07:00' as 2022-04-22 10:56:35 normalization > timestamp with time zone 2022-04-22 10:56:35 normalization > ) 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > ) order by (_AIRBYTE_EMITTED_AT) 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:56:29.105975 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:29.106706 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:29.185533 [debug] [Thread-2 ]: SQL status: SUCCESS 14 in 0.08 seconds 2022-04-22 10:56:35 normalization > 10:56:29.195355 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:29.195648 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:56:29.279969 [debug] [Thread-2 ]: SQL status: SUCCESS 14 in 0.08 seconds 2022-04-22 10:56:35 normalization > 10:56:29.285107 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:29.285315 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:29.333577 [debug] [Thread-2 ]: SQL status: SUCCESS 14 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:56:29.337273 [debug] [Thread-2 ]: 2022-04-22 10:56:35 normalization > In "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM": 2022-04-22 10:56:35 normalization > Schema changed: False 2022-04-22 10:56:35 normalization > Source columns not in target: [] 2022-04-22 10:56:35 normalization > Target columns not in source: [] 2022-04-22 10:56:35 normalization > New column types: [] 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 10:56:29.338437 [debug] [Thread-2 ]: Writing runtime SQL for node "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:29.339194 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:29.339330 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM"} */ 2022-04-22 10:56:35 normalization > begin; 2022-04-22 10:56:35 normalization > 10:56:29.425604 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:56:29.425937 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:29.426063 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM: insert into "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM" ("_AIRBYTE_SOURCE_HASHID", "ID", "NAME", "TITLE", "ADDRESS", "DELETED", "SUBJECT", "TICKET_ID", "REVISION_ID", "ORIGINAL_RECIPIENTS", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_FROM_HASHID") 2022-04-22 10:56:35 normalization > ( 2022-04-22 10:56:35 normalization > select "_AIRBYTE_SOURCE_HASHID", "ID", "NAME", "TITLE", "ADDRESS", "DELETED", "SUBJECT", "TICKET_ID", "REVISION_ID", "ORIGINAL_RECIPIENTS", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_FROM_HASHID" 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM__dbt_tmp" 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:56:29.759544 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 0.71 seconds 2022-04-22 10:56:35 normalization > 10:56:29.764042 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:29.764277 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_TO: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_TO"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_VIA_SOURCE_TO__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:56:29.830350 [debug] [Thread-1 ]: SQL status: SUCCESS 7 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:56:29.839784 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:29.840035 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_TO: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_TO"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:29.884064 [debug] [Thread-2 ]: SQL status: SUCCESS 253 in 0.46 seconds 2022-04-22 10:56:35 normalization > 10:56:29.884423 [debug] [Thread-2 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM" 2022-04-22 10:56:35 normalization > 10:56:29.884546 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM: commit; 2022-04-22 10:56:35 normalization > 10:56:29.906290 [debug] [Thread-1 ]: SQL status: SUCCESS 7 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:56:29.912064 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:29.912290 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_TO: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_TO"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_VIA_SOURCE_TO__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:56:29.934445 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 0.83 seconds 2022-04-22 10:56:35 normalization > 10:56:29.939539 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE" 2022-04-22 10:56:35 normalization > 10:56:29.939751 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:56:29.972088 [debug] [Thread-1 ]: SQL status: SUCCESS 7 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:56:29.979897 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:29.980139 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_TO: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_TO"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_AUDITS_EVENTS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:30.013380 [debug] [Thread-3 ]: SQL status: SUCCESS 6 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:56:30.018213 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE" 2022-04-22 10:56:35 normalization > 10:56:30.018441 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE" 2022-04-22 10:56:35 normalization > 10:56:30.031974 [debug] [Thread-1 ]: SQL status: SUCCESS 7 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:56:30.034793 [debug] [Thread-1 ]: 2022-04-22 10:56:35 normalization > In "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_AUDITS_EVENTS_VIA_SOURCE_TO": 2022-04-22 10:56:35 normalization > Schema changed: False 2022-04-22 10:56:35 normalization > Source columns not in target: [] 2022-04-22 10:56:35 normalization > Target columns not in source: [] 2022-04-22 10:56:35 normalization > New column types: [] 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 10:56:30.035849 [debug] [Thread-1 ]: Writing runtime SQL for node "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:30.036577 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:30.036715 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_TO: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_TO"} */ 2022-04-22 10:56:35 normalization > begin; 2022-04-22 10:56:35 normalization > 10:56:30.073039 [debug] [Thread-3 ]: SQL status: SUCCESS 6 in 0.05 seconds 2022-04-22 10:56:35 normalization > 10:56:30.078502 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE" 2022-04-22 10:56:35 normalization > 10:56:30.078787 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE__dbt_tmp" 2022-04-22 10:56:35 normalization > 10:56:30.110881 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:56:30.111231 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:30.111368 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_TO: insert into "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_VIA_SOURCE_TO" ("_AIRBYTE_SOURCE_HASHID", "NAME", "ADDRESS", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_TO_HASHID") 2022-04-22 10:56:35 normalization > ( 2022-04-22 10:56:35 normalization > select "_AIRBYTE_SOURCE_HASHID", "NAME", "ADDRESS", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_TO_HASHID" 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_AUDITS_EVENTS_VIA_SOURCE_TO__dbt_tmp" 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:56:30.149678 [debug] [Thread-3 ]: SQL status: SUCCESS 6 in 0.07 seconds 2022-04-22 10:56:35 normalization > 10:56:30.154910 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE" 2022-04-22 10:56:35 normalization > 10:56:30.155126 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE"} */ 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > describe table "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE" 2022-04-22 10:56:35 normalization > 10:56:30.165055 [debug] [Thread-2 ]: SQL status: SUCCESS 1 in 0.28 seconds 2022-04-22 10:56:35 normalization > 10:56:30.172771 [debug] [Thread-2 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:30.173856 [debug] [Thread-2 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM: Close 2022-04-22 10:56:35 normalization > 10:56:30.212511 [debug] [Thread-3 ]: SQL status: SUCCESS 6 in 0.06 seconds 2022-04-22 10:56:35 normalization > 10:56:30.215465 [debug] [Thread-3 ]: 2022-04-22 10:56:35 normalization > In "AIRBYTE_DB"."ZENDESK_SUPPORT"."TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE": 2022-04-22 10:56:35 normalization > Schema changed: False 2022-04-22 10:56:35 normalization > Source columns not in target: [] 2022-04-22 10:56:35 normalization > Target columns not in source: [] 2022-04-22 10:56:35 normalization > New column types: [] 2022-04-22 10:56:35 normalization > 2022-04-22 10:56:35 normalization > 10:56:30.216509 [debug] [Thread-3 ]: Writing runtime SQL for node "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE" 2022-04-22 10:56:35 normalization > 10:56:30.217222 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE" 2022-04-22 10:56:35 normalization > 10:56:30.217371 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE: /* {"app": "dbt", "dbt_version": "1.0.0", "profile_name": "normalize", "target_name": "prod", "node_id": "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE"} */ 2022-04-22 10:56:35 normalization > begin; 2022-04-22 10:56:35 normalization > 10:56:30.305486 [info ] [Thread-2 ]: 93 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM.............................. [SUCCESS 1 in 3.85s] 2022-04-22 10:56:35 normalization > 10:56:30.306762 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 0.09 seconds 2022-04-22 10:56:35 normalization > 10:56:30.309032 [debug] [Thread-2 ]: Finished running node model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM 2022-04-22 10:56:35 normalization > 10:56:30.309383 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE" 2022-04-22 10:56:35 normalization > 10:56:30.310001 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE: insert into "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE" ("_AIRBYTE_11_HASHID", "USER", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_MESSAGE_HASHID") 2022-04-22 10:56:35 normalization > ( 2022-04-22 10:56:35 normalization > select "_AIRBYTE_11_HASHID", "USER", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_MESSAGE_HASHID" 2022-04-22 10:56:35 normalization > from "AIRBYTE_DB".ZENDESK_SUPPORT."TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE__dbt_tmp" 2022-04-22 10:56:35 normalization > ); 2022-04-22 10:56:35 normalization > 10:56:30.529005 [debug] [Thread-1 ]: SQL status: SUCCESS 9 in 0.42 seconds 2022-04-22 10:56:35 normalization > 10:56:30.529316 [debug] [Thread-1 ]: Using snowflake connection "model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_TO" 2022-04-22 10:56:35 normalization > 10:56:30.529433 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_TO: commit; 2022-04-22 10:56:35 normalization > 10:56:30.788807 [debug] [Thread-3 ]: SQL status: SUCCESS 64 in 0.48 seconds 2022-04-22 10:56:35 normalization > 10:56:30.789157 [debug] [Thread-3 ]: Using snowflake connection "model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE" 2022-04-22 10:56:35 normalization > 10:56:30.789274 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE: commit; 2022-04-22 10:56:35 normalization > 10:56:30.814592 [debug] [Thread-1 ]: SQL status: SUCCESS 1 in 0.29 seconds 2022-04-22 10:56:35 normalization > 10:56:30.818124 [debug] [Thread-1 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:30.818386 [debug] [Thread-1 ]: On model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_TO: Close 2022-04-22 10:56:35 normalization > 10:56:30.902038 [info ] [Thread-1 ]: 94 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_AUDITS_EVENTS_VIA_SOURCE_TO................................ [SUCCESS 1 in 3.18s] 2022-04-22 10:56:35 normalization > 10:56:30.903170 [debug] [Thread-1 ]: Finished running node model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_TO 2022-04-22 10:56:35 normalization > 10:56:30.996369 [debug] [Thread-3 ]: SQL status: SUCCESS 1 in 0.21 seconds 2022-04-22 10:56:35 normalization > 10:56:30.999934 [debug] [Thread-3 ]: finished collecting timing info 2022-04-22 10:56:35 normalization > 10:56:31.000204 [debug] [Thread-3 ]: On model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE: Close 2022-04-22 10:56:35 normalization > 10:56:31.089978 [info ] [Thread-3 ]: 95 of 95 OK created incremental model ZENDESK_SUPPORT.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE................. [SUCCESS 1 in 3.06s] 2022-04-22 10:56:35 normalization > 10:56:31.090473 [debug] [Thread-3 ]: Finished running node model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE 2022-04-22 10:56:35 normalization > 10:56:31.092793 [debug] [MainThread]: Acquiring new snowflake connection "master" 2022-04-22 10:56:35 normalization > 10:56:31.093669 [info ] [MainThread]: 2022-04-22 10:56:35 normalization > 10:56:31.093933 [info ] [MainThread]: Finished running 13 view models, 8 table models, 74 incremental models in 80.49s. 2022-04-22 10:56:35 normalization > 10:56:31.094240 [debug] [MainThread]: Connection 'master' was properly closed. 2022-04-22 10:56:35 normalization > 10:56:31.094419 [debug] [MainThread]: Connection 'model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_TO' was properly closed. 2022-04-22 10:56:35 normalization > 10:56:31.094582 [debug] [MainThread]: Connection 'model.airbyte_utils.TICKET_AUDITS_EVENTS_VIA_SOURCE_FROM' was properly closed. 2022-04-22 10:56:35 normalization > 10:56:31.094695 [debug] [MainThread]: Connection 'model.airbyte_utils.TICKET_COMMENTS_METADATA_FLAGS_OPTIONS_11_MESSAGE' was properly closed. 2022-04-22 10:56:35 normalization > 10:56:31.094780 [debug] [MainThread]: Connection 'model.airbyte_utils.TICKET_AUDITS_METADATA_FLAGS_OPTIONS_11_MESSAGE' was properly closed. 2022-04-22 10:56:35 normalization > 10:56:31.094891 [debug] [MainThread]: Connection 'model.airbyte_utils.TICKETS_VIA_SOURCE_FROM' was properly closed. 2022-04-22 10:56:35 normalization > 10:56:31.161915 [info ] [MainThread]: 2022-04-22 10:56:35 normalization > 10:56:31.162315 [info ] [MainThread]: Completed with 1 error and 0 warnings: 2022-04-22 10:56:35 normalization > 10:56:31.162672 [info ] [MainThread]: 2022-04-22 10:56:35 normalization > 10:56:31.163001 [error] [MainThread]: Database Error in model TICKET_METRICS_SCD (models/generated/airbyte_incremental/scd/ZENDESK_SUPPORT/TICKET_METRICS_SCD.sql) 2022-04-22 10:56:35 normalization > 10:56:31.163375 [error] [MainThread]: 002108 (22000): SQL compilation error: cannot change column INITIALLY_ASSIGNED_AT from type DATE to TIMESTAMP_TZ(9) 2022-04-22 10:56:35 normalization > 10:56:31.163570 [error] [MainThread]: 2022-04-22 10:56:35 normalization > 10:56:31.163947 [info ] [MainThread]: 2022-04-22 10:56:35 normalization > 10:56:31.164182 [info ] [MainThread]: Done. PASS=86 WARN=0 ERROR=1 SKIP=8 TOTAL=95 2022-04-22 10:56:35 INFO i.a.v.j.JsonSchemaValidator(test):56 - JSON schema validation failed. errors: $.access_token: is missing but it is required, $.refresh_token: is missing but it is required 2022-04-22 10:56:35 INFO i.a.v.j.JsonSchemaValidator(test):56 - JSON schema validation failed. errors: $.method: does not have a value in the enumeration [Standard]