Skip to content

Commit

Permalink
fix models
Browse files Browse the repository at this point in the history
  • Loading branch information
btkcodedev committed Sep 8, 2024
1 parent 9104813 commit 340fc7b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ SELECT
'FALSE' AS is_contact_list_member_deleted,
{{ dbt.current_timestamp() }} AS _fivetran_synced,
NULL AS contact_id,
ROW_NUMBER() OVER (ORDER BY {{ dbt.current_timestamp() }} DESC) = 1 AS contact_list_id
NULL AS contact_list_id
FROM
{{ source('source_hubspot', 'contacts_list_memberships') }}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

SELECT
{{ dbt.current_timestamp() }} AS fivetran_synced,
"canonical-vid" AS canonical_id,
NULL AS canonical_id,
vid_to_merge AS contact_id,
entity_id,
first_name,
Expand All @@ -18,7 +18,7 @@ FROM

SELECT
{{ dbt.current_timestamp() }} AS fivetran_synced,
"canonical-vid" AS canonical_id,
NULL AS canonical_id,
vid_to_merge AS contact_id,
entity_id,
first_name,
Expand All @@ -34,7 +34,7 @@ FROM

SELECT
{{ dbt.current_timestamp() }} AS fivetran_synced,
`canonical_vid` AS canonical_id,
NULL AS canonical_id,
vid_to_merge AS contact_id,
entity_id,
first_name,
Expand Down

0 comments on commit 340fc7b

Please sign in to comment.