You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Warning: the `unpivot` macro no longer accepts a `table` parameter. \
24
-
This parameter will be deprecated in a future release of dbt-utils. Use the `relation` parameter instead. \
25
-
The {}.{} model triggered this warning. \
26
-
'.format(model.package_name, model.name) -%}
27
-
{%- do exceptions.warn(error_message) -%}
28
-
{% endif %}
29
-
30
-
{% if relation and table %}
31
-
{{ exceptions.raise_compiler_error("Error: both the `relation` and `table` parameters were provided to `unpivot` macro. Choose one only (we recommend `relation`).") }}
32
-
{% elif not relation and table %}
33
-
{% set relation=table %}
34
-
{% elif not relation and not table %}
21
+
{% if not relation %}
35
22
{{ exceptions.raise_compiler_error("Error: argument `relation` is required for `unpivot` macro.") }}
0 commit comments