Skip to content

Commit

Permalink
update casting
Browse files Browse the repository at this point in the history
  • Loading branch information
fivetran-catfritz committed Jul 20, 2023
1 parent 8a4780d commit 9a851dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/intermediate/int_amazon_ads__portfolio_history.sql
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ with portfolios as (
{%- elif column['name'] == 'profile_id' -%}
cast(null as {{ dbt.type_string() }}) as profile_id
{%- else -%}
null as {{column['name']}}
cast(null as {{ column['datatype'] }}) as {{ column['name'] }}
{%- endif -%}
{# add comma if not the last column #}
{%- if not loop.last -%} , {% endif -%}
Expand Down

0 comments on commit 9a851dd

Please sign in to comment.