We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb38e7e commit 99443eaCopy full SHA for 99443ea
integration_tests/models/sql/test_nullcheck_table.sql
@@ -11,6 +11,17 @@ with nulled as (
11
12
)
13
14
+{% if target.type == 'snowflake' %}
15
+
16
+select
17
+ field_1::varchar as field_1,
18
+ field_2::varchar as field_2,
19
+ field_3::varchar as field_3
20
21
+from nulled
22
23
+{% else %}
24
25
select
26
27
{{ dbt_utils.safe_cast('field_1',
@@ -26,3 +37,5 @@ select
37
)}} as field_3
38
28
39
from nulled
40
41
+{% endif %}
0 commit comments