Skip to content

Commit

Permalink
treat none column type the same as int
Browse files Browse the repository at this point in the history
  • Loading branch information
nicor88 committed Sep 26, 2023
1 parent 6f61530 commit 3e8e5c2
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@
{%- set value = "DATE'" + col | string + "'" -%}
{%- elif column_type == 'timestamp' -%}
{%- set value = "TIMESTAMP'" + col | string + "'" -%}
{%- elif column_type is none -%}
{%- set value = col | string -%}
{%- else -%}
{%- do exceptions.raise_compiler_error('Need to add support for column type ' + column_type) -%}
{%- endif -%}
Expand Down

0 comments on commit 3e8e5c2

Please sign in to comment.