Skip to content

Commit

Permalink
Remove crufty Jinja
Browse files Browse the repository at this point in the history
  • Loading branch information
clrcrl committed Aug 22, 2020
1 parent 7ae385d commit 7aa8038
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions macros/sql/union.sql
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{%- macro union_relations(relations, column_override=none, include=[], exclude=[], source_column_name=none) -%}
{%- macro union_relations(relations, column_override=none, include=[], exclude=[], source_column_name='_dbt_source_relation') -%}

{%- if exclude and include -%}
{{ exceptions.raise_compiler_error("Both an exclude and include list were provided to the `union` macro. Only one is allowed") }}
Expand All @@ -10,7 +10,6 @@
{% endif -%}

{%- set column_override = column_override if column_override is not none else {} -%}
{%- set source_column_name = source_column_name if source_column_name is not none else '_dbt_source_relation' -%}

{%- set relation_columns = {} -%}
{%- set column_superset = {} -%}
Expand Down

0 comments on commit 7aa8038

Please sign in to comment.