Skip to content

Commit 301297e

Browse files
committed
Make dbt-profiler support decimal
Signed-off-by: popcorny <[email protected]>
1 parent a1d0511 commit 301297e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

macros/recce_duckdb.sql

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{%- macro duckdb__is_numeric_dtype(dtype) -%}
2+
{% set is_numeric = "int" in dtype or "bigint" in dtype or "float" in dtype or "double" in dtype or "decimal" in dtype.lower() %}
3+
{% do return(is_numeric) %}
4+
{%- endmacro -%}

0 commit comments

Comments
 (0)