Skip to content

Commit

Permalink
fix: allow bigint as type for sql server in type_integer check
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennis-UiPath committed Jun 14, 2022
1 parent 96991c0 commit 0f2e9a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion macros/generic_tests/test_type_integer.sql
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ where Information_schema.Columns."TABLE_SCHEMA" = '{{ model.schema }}'
{% if target.type == 'snowflake' %}
and Information_schema.Columns."DATA_TYPE" <> 'NUMBER'
{% elif target.type == 'sqlserver' %}
and Information_schema.Columns."DATA_TYPE" <> 'int'
and Information_schema.Columns."DATA_TYPE" not in ('int', 'bigint')
{% endif %}

{% endmacro %}

0 comments on commit 0f2e9a2

Please sign in to comment.