Skip to content

Commit fad073d

Browse files
author
Student
committed
add source config files
1 parent a9591ff commit fad073d

6 files changed

Lines changed: 25 additions & 55 deletions

File tree

dbt_project.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@ clean-targets: # directories to be removed by `dbt clean`
3232
models:
3333
ssp_analytics:
3434
# Config indicated by + and applies to all files under models/example/
35-
example:
35+
staging:
3636
+materialized: view

models/example/my_first_dbt_model.sql

Lines changed: 0 additions & 27 deletions
This file was deleted.

models/example/my_second_dbt_model.sql

Lines changed: 0 additions & 6 deletions
This file was deleted.

models/example/schema.yml

Lines changed: 0 additions & 21 deletions
This file was deleted.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
version: 2
2+
3+
sources:
4+
- name: franchises
5+
database: analytics
6+
schema: raw_google_sheets
7+
tables:
8+
- name: actives
9+
identifier: franchise_actives
10+
- name: general_managers
11+
identifier: franchise_general_managers
12+
- name: head_coaches
13+
identifier: franchise_coaches
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
version: 2
2+
3+
sources:
4+
- name: nba
5+
database: analytics
6+
schema: raw_nba
7+
tables:
8+
- name: games
9+
identifier: games_response
10+
- name: teams
11+
identifier: teams_response

0 commit comments

Comments
 (0)