Skip to content

Commit

Permalink
Update core/dbt/include/global_project/macros/adapters/columns.sql
Browse files Browse the repository at this point in the history
Co-authored-by: colin-rogers-dbt <[email protected]>
  • Loading branch information
emmyoop and colin-rogers-dbt authored Sep 26, 2023
1 parent 8ac4bb3 commit d258156
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
{%- set col = columns[i] -%}
{%- if col['data_type'] is not defined -%}
{%- do col_err.append(col['name']) -%}
{#-- If this column's type is just 'numeric' missing precision/scale, raise a warning --#}
{#-- If this column's type is just 'numeric' then it is missing precision/scale, raise a warning --#}
{#- elif api.Column.create(col['name'], col['data_type'].strip()).is_numeric() -#}
{%- elif col['data_type'].strip().lower() in ('numeric', 'decimal', 'number') -%}
{%- do col_naked_numeric.append(col['name']) -%}
Expand Down

0 comments on commit d258156

Please sign in to comment.