Skip to content

Commit

Permalink
swapped todos to tables. ditched the incremental view
Browse files Browse the repository at this point in the history
  • Loading branch information
luutuankiet committed Dec 22, 2024
1 parent 5d760cc commit 7e3c316
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion models/marts/core/fact_todos.sql
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{# had to hardcode the pre hook cause otherwise the old dummy lookahead dates gonn persist & build up #}
{{ config(
materialized='incremental',
materialized='table',
unique_key = ['todo_lookahead_skey'],
incremental_strategy = 'merge',
on_schema_change='append_new_columns',
Expand Down
2 changes: 1 addition & 1 deletion models/staging/stg_todos.sql
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

{{ config(
materialized='incremental',
materialized='table',
unique_key = ['todo_id'],
incremental_strategy = 'merge',
on_schema_change='append_new_columns'
Expand Down

0 comments on commit 7e3c316

Please sign in to comment.