superhog user raw

This commit is contained in:
Pablo Martin 2024-01-18 12:24:29 +01:00
parent 8341125c78
commit e8898ab072
3 changed files with 22 additions and 2 deletions

View file

@ -3,11 +3,12 @@ Welcome to your new dbt project!
### Using the starter project
Try running the following commands:
- dbt run
- dbt test
### Resources
### Resources:
- Learn more about dbt [in the docs](https://docs.getdbt.com/docs/introduction)
- Check out [Discourse](https://discourse.getdbt.com/) for commonly asked questions and answers
- Join the [chat](https://community.getdbt.com/) on Slack for live discussions and support

View file

@ -5,4 +5,6 @@ sources:
schema: sync_core
tables:
- name: user
identifier: User
identifier: User
- name: superhog_user
identifier: superhoguser

View file

@ -0,0 +1,17 @@
with raw_superhog_user as (select * from {{ source("core", "superhog_user") }})
select
avatar,
airbnbid,
airbnburl,
createddate,
updateddate,
verifieddate,
flagasproblem,
superhoguserid,
numberofproperties,
superhogverifiedsetid,
platformcommsrecipient,
othersharingplatformurl,
userverificationstatusid
from raw_superhog_user