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

Commit 8ef7391

Browse files
Update model names and add owner metadata
1 parent 7361227 commit 8ef7391

3 files changed

Lines changed: 11 additions & 8 deletions

File tree

jaffle_shop/models/warehouse/_models.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
version: 2
22

33
models:
4-
- name: wh_customers
4+
- name: customers
55
description: This table has basic information about a customer, as well as some derived facts based on a customer's orders
6+
meta:
7+
owner: "joshua.oconnor@kraken.tech"
68

79
columns:
810
- name: customer_id
@@ -29,9 +31,10 @@ models:
2931
- name: total_order_amount
3032
description: Total value (AUD) of a customer's orders
3133

32-
- name: wh_orders
34+
- name: orders
3335
description: This table has basic information about orders, as well as some derived facts based on payments
34-
36+
meta:
37+
owner: "joshua.oconnor@kraken.tech"
3538
columns:
3639
- name: order_id
3740
tests:

jaffle_shop/models/warehouse/wh_customers.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
with customers as (
22

3-
select * from {{ ref('stg_customers') }}
3+
select * from {{ ref('stg_customers_pii') }}
44

55
),
66

jaffle_shop/seeds/_models.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
version: 2
22

3-
models:
4-
- seeds: raw_customers
5-
- seeds: raw_orders
6-
- seeds: raw_payments
3+
seed:
4+
- name: raw_customers
5+
- name: raw_orders
6+
- name: raw_payments

0 commit comments

Comments
 (0)