diff --git a/macros/cross_db_utils.sql b/macros/cross_db_utils.sql index 3b2f1ef..7709904 100644 --- a/macros/cross_db_utils.sql +++ b/macros/cross_db_utils.sql @@ -24,7 +24,7 @@ {%- endmacro -%} {%- macro default__is_numeric_dtype(dtype) -%} - {% set is_numeric = dtype.startswith("int") or dtype.startswith("float") or "numeric" in dtype or "number" in dtype or "double" in dtype %} + {% set is_numeric = dtype.startswith("int") or dtype.startswith("float") or "numeric" in dtype or "number" in dtype or "double" in dtype or "bigint" in dtype %} {% do return(is_numeric) %} {%- endmacro -%} @@ -99,4 +99,4 @@ where lower(table_schema) = lower('{{ relation.schema }}') and lower(table_name) = lower('{{ relation.identifier }}') and attr.attnum > 0 -{%- endmacro -%} \ No newline at end of file +{%- endmacro -%}