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
Copy file name to clipboardexpand all lines: CHANGELOG.md
+4
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,9 @@
13
13
## New features
14
14
- New feature to omit the `source_column_name` column on the `union_relations` macro ([#331](https://github.com/dbt-labs/dbt-utils/issues/331), [#624](https://github.com/dbt-labs/dbt-utils/pull/624))
15
15
16
+
## Under the hood
17
+
- Remove deprecated table argument from unpivot ([#671](https://github.com/dbt-labs/dbt-utils/pull/671))
18
+
16
19
## Fixes
17
20
- Better handling of whitespaces in the star macro ([#651](https://github.com/dbt-labs/dbt-utils/pull/651))
18
21
- Fix to correct behavior in `mutually_exclusive_ranges` test in certain situations when `zero_length_range_allowed: true` and multiple ranges in a partition have the same value for `lower_bound_column`. ([[#659](https://github.com/dbt-labs/dbt-utils/issues/659)], [#660](https://github.com/dbt-labs/dbt-utils/pull/660))
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