Skip to content

Commit

Permalink
fix ids
Browse files Browse the repository at this point in the history
  • Loading branch information
btkcodedev committed Sep 8, 2024
1 parent 340fc7b commit 972e58a
Showing 1 changed file with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,13 @@
SELECT
{{ dbt.current_timestamp() }} AS fivetran_synced,
NULL AS canonical_id,
vid_to_merge AS contact_id,
NULL AS contact_id,
entity_id,
first_name,
last_name,
num_properties_moved,
timestamp,
"user-id" AS user_id,
vid_to_merge
FROM
{{ source('source_hubspot', 'contacts_merged_audit') }}

Expand All @@ -19,14 +18,13 @@ FROM
SELECT
{{ dbt.current_timestamp() }} AS fivetran_synced,
NULL AS canonical_id,
vid_to_merge AS contact_id,
NULL AS contact_id,
entity_id,
first_name,
last_name,
num_properties_moved,
timestamp,
merged_from_email_source_label AS user_id,
vid_to_merge
FROM
{{ source('source_hubspot', 'contacts_merged_audit') }}

Expand All @@ -35,14 +33,13 @@ FROM
SELECT
{{ dbt.current_timestamp() }} AS fivetran_synced,
NULL AS canonical_id,
vid_to_merge AS contact_id,
NULL AS contact_id,
entity_id,
first_name,
last_name,
num_properties_moved,
timestamp,
`user_id` AS user_id,
vid_to_merge
FROM
{{ source('source_hubspot', 'contacts_merged_audit') }}

Expand Down

0 comments on commit 972e58a

Please sign in to comment.