Skip to content

Commit

Permalink
fix: insert_overwrite updates for tables with int partitions (#450)
Browse files Browse the repository at this point in the history
  • Loading branch information
artem-garmash authored Oct 10, 2023
1 parent cf3df7f commit 76c4eec
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
{%- set single_partition = [] -%}
{%- for col in row -%}
{%- set column_type = adapter.convert_type(table, loop.index0) -%}
{%- if column_type == 'integer' -%}
{%- if column_type == 'integer' or column_type is none -%}
{%- set value = col|string -%}
{%- elif column_type == 'string' -%}
{%- set value = "'" + col + "'" -%}
Expand Down

0 comments on commit 76c4eec

Please sign in to comment.