Skip to content

Commit

Permalink
add seed and new model
Browse files Browse the repository at this point in the history
  • Loading branch information
segoldma committed Sep 5, 2024
1 parent b47082c commit 4ac66d3
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions models/marts/dim_characters.sql
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ with characters as (
, appearance_counts.episode_count
, characters.loaded_at
, 2 as col2
, 3 as col3

from characters
left join personality_traits
Expand Down
10 changes: 10 additions & 0 deletions models/staging/stg_writers.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{{
config(materialized='view')
}}

select
id as writer_id
, name as writer_name
, current_timestamp() as loaded_at

from {{ ref('writers') }}
2 changes: 2 additions & 0 deletions seeds/writers.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ID,Name
1,Mike Judge

0 comments on commit 4ac66d3

Please sign in to comment.