Skip to content

Commit

Permalink
Fix union_relations error when no include/exclude provided (#509)
Browse files Browse the repository at this point in the history
  • Loading branch information
joellabes authored Mar 3, 2022
1 parent bf79a81 commit a2b6684
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion macros/sql/union.sql
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@

{%- set ordered_column_names = column_superset.keys() -%}

{%- if not column_superset.keys() -%}
{% if (include | length > 0 or exclude | length > 0) and not column_superset.keys() %}
{%- set relations_string -%}
{%- for relation in relations -%}
{{ relation.name }}
Expand Down

0 comments on commit a2b6684

Please sign in to comment.