Skip to content

Commit

Permalink
Source migration
Browse files Browse the repository at this point in the history
Signed-off-by: popcorny <[email protected]>
  • Loading branch information
popcornylu committed Jun 15, 2023
1 parent 0c13f2f commit c489941
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 1 addition & 3 deletions dbt_project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ require-dbt-version: [">=1.0.0", "<2.0.0"]
models:
jaffle_shop:
materialized: table
+tags: piperider
staging:
materialized: view
+tags: piperider
marts:
+tags: piperider
4 changes: 2 additions & 2 deletions models/staging/stg_customers.sql
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ with source as (
Normally we would select from the table here, but we are using seeds to load
our data in this project
#}
select * from {{ ref('raw_customers') }}
select * from {{ ref('raw_customers_v2') }}

),

renamed as (

select
id as customer_id,
customer_id,
first_name,
last_name

Expand Down
1 change: 1 addition & 0 deletions seeds/raw_customers.csv
Original file line number Diff line number Diff line change
Expand Up @@ -99,3 +99,4 @@ id,first_name,last_name
98,Nicole,M.
99,Mary,G.
100,Jean,M.
101,CL,K.

0 comments on commit c489941

Please sign in to comment.