diff --git a/macros/dataset.sql b/macros/dataset.sql index f50e304..1dd5f80 100644 --- a/macros/dataset.sql +++ b/macros/dataset.sql @@ -88,7 +88,7 @@ dataset as ( ) {# Additional Join Condition relies on primary and appended subquery/CTE names #} {% if activity.additional_join_condition is string %} - and ( {{ activity.additional_join_condition(primary=primary(), appended=appended) }} ) + and ( {{ activity.additional_join_condition }} ) {% else %} and ( {{ activity.additional_join_condition(primary(), appended) }} ) {% endif %}