From 5450b715e28e72e10c0ab081bc033d21f0093df1 Mon Sep 17 00:00:00 2001 From: Claire Carroll <20294432+clrcrl@users.noreply.github.com> Date: Mon, 11 Jan 2021 11:36:18 -0500 Subject: [PATCH] Fix aliases default arg --- macros/sql/star.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macros/sql/star.sql b/macros/sql/star.sql index e7880df1..f07599e9 100644 --- a/macros/sql/star.sql +++ b/macros/sql/star.sql @@ -2,7 +2,7 @@ {{ return(adapter.dispatch('star', packages = dbt_utils._get_utils_namespaces())(from, relation_alias, except, aliases)) }} {% endmacro %} -{% macro default__star(from, relation_alias=False, except=[], aliases) -%} +{% macro default__star(from, relation_alias=False, except=[], aliases={}) -%} {%- do dbt_utils._is_relation(from, 'star') -%} {%- do dbt_utils._is_ephemeral(from, 'star') -%}