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
@@ -15,6 +15,9 @@
15
15
- 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))
16
16
- Add `not_empty_string` generic test that asserts column values are not an empty string. ([#632](https://github.com/dbt-labs/dbt-utils/issues/632), [#634](https://github.com/dbt-labs/dbt-utils/pull/634))
17
17
18
+
## Under the hood
19
+
- Remove deprecated table argument from unpivot ([#671](https://github.com/dbt-labs/dbt-utils/pull/671))
20
+
18
21
## Fixes
19
22
- Better handling of whitespaces in the star macro ([#651](https://github.com/dbt-labs/dbt-utils/pull/651))
20
23
- 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