Skip to content

Commit

Permalink
Merge branch 'main' into release-fabric-adapter
Browse files Browse the repository at this point in the history
  • Loading branch information
tkiehn authored Oct 9, 2024
2 parents 125c1ab + 72cd8b0 commit d6fc12f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions macros/supporting/string_default_dtype.sql
Original file line number Diff line number Diff line change
Expand Up @@ -128,12 +128,12 @@
{%- if execute -%}
{%- 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.") -%}
{% endif %}
{%- set string_default_dtype = "VARCHAR" -%}
{%- set string_default_dtype = "NVARCHAR(1000)" -%}
{% endif %}
{%- elif global_var is not mapping and datavault4dbt.is_something(global_var) -%}
{%- set string_default_dtype = global_var -%}
{%- else -%}
{%- set string_default_dtype = "VARCHAR" -%}
{%- set string_default_dtype = "NVARCHAR(1000)" -%}
{%- endif -%}

{{ return(string_default_dtype) }}
Expand Down

0 comments on commit d6fc12f

Please sign in to comment.