forked from dbt-labs/jaffle-shop-classic
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update model names and add owner metadata
- Loading branch information
1 parent
7361227
commit 8ef7391
Showing
3 changed files
with
11 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
version: 2 | ||
|
||
models: | ||
- name: wh_customers | ||
- name: customers | ||
description: This table has basic information about a customer, as well as some derived facts based on a customer's orders | ||
meta: | ||
owner: "[email protected]" | ||
|
||
columns: | ||
- name: customer_id | ||
|
@@ -29,9 +31,10 @@ models: | |
- name: total_order_amount | ||
description: Total value (AUD) of a customer's orders | ||
|
||
- name: wh_orders | ||
- name: orders | ||
description: This table has basic information about orders, as well as some derived facts based on payments | ||
|
||
meta: | ||
owner: "[email protected]" | ||
columns: | ||
- name: order_id | ||
tests: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
with customers as ( | ||
|
||
select * from {{ ref('stg_customers') }} | ||
select * from {{ ref('stg_customers_pii') }} | ||
|
||
), | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
version: 2 | ||
|
||
models: | ||
- seeds: raw_customers | ||
- seeds: raw_orders | ||
- seeds: raw_payments | ||
seed: | ||
- name: raw_customers | ||
- name: raw_orders | ||
- name: raw_payments |