Skip to content

Commit 64fddef

Browse files
authored
fix: improve get_partition_batches to treat integers properly (#425)
1 parent 6f61530 commit 64fddef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dbt/include/athena/macros/materializations/models/helpers/get_partition_batches.sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
{%- if col is none -%}
2929
{%- set value = 'null' -%}
3030
{%- set comp_func = ' is ' -%}
31-
{%- elif column_type == 'integer' -%}
31+
{%- elif column_type == 'integer' or column_type is none -%}
3232
{%- set value = col | string -%}
3333
{%- elif column_type == 'string' -%}
3434
{%- set value = "'" + col + "'" -%}

0 commit comments

Comments
 (0)