fixed naming
This commit is contained in:
parent
20425495f9
commit
28b658a4fe
2 changed files with 4 additions and 4 deletions
|
|
@ -11,7 +11,7 @@ models:
|
|||
- unique
|
||||
- not_null
|
||||
|
||||
- name: archived
|
||||
- name: is_archived
|
||||
data_type: boolean
|
||||
description: ""
|
||||
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
with
|
||||
raw_contacts as (select * from {{ source("hubspot", "contacts") }}),
|
||||
stg_core__contacts as (
|
||||
stg_hubspot__contacts as (
|
||||
select
|
||||
{{ adapter.quote("id") }} as id_contact,
|
||||
{{ adapter.quote("archived") }} as archived,
|
||||
{{ adapter.quote("archived") }} as is_archived,
|
||||
{{ adapter.quote("companies") }} as companies,
|
||||
{{ adapter.quote("properties") }} as properties,
|
||||
{{ adapter.quote("createdAt") }} as created_at_utc,
|
||||
|
|
@ -15,4 +15,4 @@ with
|
|||
from raw_contacts
|
||||
)
|
||||
select *
|
||||
from stg_core__contacts
|
||||
from stg_hubspot__contacts
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue