Skip to content

Commit

Permalink
🎨 restructure config blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
tomshelllby committed Jan 20, 2024
1 parent 45acce1 commit 70f02f9
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions models/tasman_mta__filtered_conversion_events.sql
Original file line number Diff line number Diff line change
@@ -1,7 +1,17 @@
{% if var('incremental') == 'true' %}
{{config(materialized='incremental', snowflake_warehouse=get_warehouse())}}
{{
config(
materialized='incremental',
snowflake_warehouse=get_warehouse()
)
}}
{% else %}
{{config(materialized='table',snowflake_warehouse=get_warehouse())}}
{{
config(
materialized='table',
snowflake_warehouse=get_warehouse()
)
}}
{% endif %}

with
Expand Down

0 comments on commit 70f02f9

Please sign in to comment.