Skip to content

Commit d6fc12f

Browse files
authored
Merge branch 'main' into release-fabric-adapter
2 parents 125c1ab + 72cd8b0 commit d6fc12f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

macros/supporting/string_default_dtype.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,12 +128,12 @@
128128
{%- if execute -%}
129129
{%- do exceptions.warn("Warning: You have set the global variable 'datavault4dbt." ~ type ~ "_default_dtype' to a dictionary, but have not included the adapter you use (synapse) as a key. Applying the default value.") -%}
130130
{% endif %}
131-
{%- set string_default_dtype = "VARCHAR" -%}
131+
{%- set string_default_dtype = "NVARCHAR(1000)" -%}
132132
{% endif %}
133133
{%- elif global_var is not mapping and datavault4dbt.is_something(global_var) -%}
134134
{%- set string_default_dtype = global_var -%}
135135
{%- else -%}
136-
{%- set string_default_dtype = "VARCHAR" -%}
136+
{%- set string_default_dtype = "NVARCHAR(1000)" -%}
137137
{%- endif -%}
138138

139139
{{ return(string_default_dtype) }}

0 commit comments

Comments
 (0)