Skip to content

Commit

Permalink
Add default to main function
Browse files Browse the repository at this point in the history
  • Loading branch information
agnessnowplow committed Jan 2, 2024
1 parent dac87c9 commit 762e8ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion macros/utils/cross_db/unnest.sql
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ You may obtain a copy of the Snowplow Community License Version 1.0 at https://d
Takes care of harmonising cross-db unnesting.
#}

{%- macro unnest(id_column, unnest_column, field_alias, source_table, with_index) -%}
{%- macro unnest(id_column, unnest_column, field_alias, source_table, with_index=false) -%}
{{ return(adapter.dispatch('unnest', 'snowplow_utils')(id_column, unnest_column, field_alias, source_table, with_index)) }}
{%- endmacro -%}

Expand Down

0 comments on commit 762e8ad

Please sign in to comment.