Skip to content

Commit

Permalink
Update snowflake pit.sql to enable static pit_type-string
Browse files Browse the repository at this point in the history
Now it's possible for the pit_type-parameter to be a static string(prefixed by ! )
  • Loading branch information
tkiehn authored Jul 9, 2024
1 parent fbcfa42 commit ad815f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion macros/tables/snowflake/pit.sql
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ pit_records AS (
SELECT

{% if datavault4dbt.is_something(pit_type) -%}
'{{ datavault4dbt.as_constant(pit_type) }}' as type,
{{ datavault4dbt.as_constant(pit_type) }} as type,
{%- endif %}
{% if datavault4dbt.is_something(custom_rsrc) -%}
'{{ custom_rsrc }}' as {{ rsrc }},
Expand Down

0 comments on commit ad815f2

Please sign in to comment.