superhog user raw
This commit is contained in:
parent
8341125c78
commit
e8898ab072
3 changed files with 22 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -5,4 +5,6 @@ sources:
|
|||
schema: sync_core
|
||||
tables:
|
||||
- name: user
|
||||
identifier: User
|
||||
identifier: User
|
||||
- name: superhog_user
|
||||
identifier: superhoguser
|
||||
17
models/staging/stg_core_superhog_user.sql
Normal file
17
models/staging/stg_core_superhog_user.sql
Normal 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
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue