some more changes
This commit is contained in:
3
dbt/macros/extract_numeric.sql
Normal file
3
dbt/macros/extract_numeric.sql
Normal file
@@ -0,0 +1,3 @@
|
||||
{% macro extract_numeric(column_name) %}
|
||||
NULLIF(regexp_replace({{ column_name }}, '[^0-9]','','g'), '')::numeric
|
||||
{% endmacro %}
|
||||
Reference in New Issue
Block a user