From ad815f2d81dd7969053aeb4d22e216b3523561a1 Mon Sep 17 00:00:00 2001 From: Theo Kiehn <162969167+tkiehn@users.noreply.github.com> Date: Tue, 9 Jul 2024 14:12:15 +0200 Subject: [PATCH] Update snowflake pit.sql to enable static pit_type-string Now it's possible for the pit_type-parameter to be a static string(prefixed by ! ) --- macros/tables/snowflake/pit.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macros/tables/snowflake/pit.sql b/macros/tables/snowflake/pit.sql index bf19c441..5476f54c 100644 --- a/macros/tables/snowflake/pit.sql +++ b/macros/tables/snowflake/pit.sql @@ -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 }},