Skip to content
This repository was archived by the owner on Feb 10, 2025. It is now read-only.

Commit c489941

Browse files
committed
Source migration
Signed-off-by: popcorny <celu@infuseai.io>
1 parent 0c13f2f commit c489941

3 files changed

Lines changed: 4 additions & 5 deletions

File tree

dbt_project.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ require-dbt-version: [">=1.0.0", "<2.0.0"]
2222
models:
2323
jaffle_shop:
2424
materialized: table
25+
+tags: piperider
2526
staging:
2627
materialized: view
27-
+tags: piperider
28-
marts:
29-
+tags: piperider

models/staging/stg_customers.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ with source as (
44
Normally we would select from the table here, but we are using seeds to load
55
our data in this project
66
#}
7-
select * from {{ ref('raw_customers') }}
7+
select * from {{ ref('raw_customers_v2') }}
88

99
),
1010

1111
renamed as (
1212

1313
select
14-
id as customer_id,
14+
customer_id,
1515
first_name,
1616
last_name
1717

seeds/raw_customers.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,3 +99,4 @@ id,first_name,last_name
9999
98,Nicole,M.
100100
99,Mary,G.
101101
100,Jean,M.
102+
101,CL,K.

0 commit comments

Comments
 (0)