Skip to content

Commit

Permalink
Merge pull request #5 from svinstech/fix_trailing_comma_again
Browse files Browse the repository at this point in the history
  • Loading branch information
jennaallen authored Mar 25, 2023
2 parents 2df8f4e + f08edc4 commit a64ad3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion macros/object_pivot.sql
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
select
{%- for ic in include_columns %}
{{ ic }}{%- if not loop.last -%},{%- endif -%}
{%- if keys|length > 0 -%},{%- endif -%}
{%- endfor -%}
{%- if keys|length > 0 -%},{%- endif -%}
{%- for k in keys -%}
{%- set alias_key = alias_keys[loop.index0] -%}
{%- if k not in exclude_keys -%}
Expand Down

0 comments on commit a64ad3b

Please sign in to comment.