Skip to content

Commit cd4c5e2

Browse files
joellabesTimoKruthfivetran-joemarkiewicz
authored
Utils 0.7.4b1 (#433)
* Update require-dbt-version to be 1.0 * Fix SQL 42000 on Exasol (#420) " SQL-Error [42000]: syntax error, unexpected '*' " If you specify the * in the unioned with their respectiv names <name>.* you do not receive the SQL Error posted above. This should not inflict any further problems since it is redundant for most DBs. * Minor readme link fixes (#431) * minor readme link fixes * changelog addition Co-authored-by: Joel Labes <joel.labes@dbtlabs.com> * 0.7.4 changelog (#432) * Update CHANGELOG.md * Note branch name change Co-authored-by: Timo Kruth <timo_kruth@gmx.de> Co-authored-by: Joe Markiewicz <74217849+fivetran-joemarkiewicz@users.noreply.github.com>
1 parent 73a6556 commit cd4c5e2

File tree

4 files changed

+23
-10
lines changed

4 files changed

+23
-10
lines changed

CHANGELOG.md

+16-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
# dbt-utils v0.7.4b1
2+
This is a compatibility release in preparation for `dbt-core` v1.0.0 (🎉). When dbt-core 1.0.0 hits release candidate status, we will release the final version of 0.7.4
3+
4+
🚨 Projects using utils 0.7.4 with Core 1.0.0 can expect to see a deprecation warning. This will be resolved in 0.8.0 of dbt_utils alongside the final version of 1.0.0.
5+
6+
:rotating_light:🚨 We have renamed the `master` branch to `main`. If you have a local version of `dbt-utils`, you will need to update to the new branch. See the [GitHub docs](https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/managing-branches-in-your-repository/renaming-a-branch#updating-a-local-clone-after-a-branch-name-changes) for more details.
7+
8+
## Under the hood
9+
- Bump `require-dbt-version` to have an upper bound of `'<=1.0.0'`.
10+
- Url link fixes within the README for `not_constant`, `dateadd`, `datediff` and updated the header `Logger` to `Jinja Helpers`. ([#431](https://github.com/dbt-labs/dbt-utils/pull/431))
11+
- Fully qualified a `cte_name.*` in the `equality` test to avoid an Exasol error ([#420](https://github.com/dbt-labs/dbt-utils/pull/420))
12+
13+
## Contributors:
14+
- [joemarkiewicz](https://github.com/fivetran-joemarkiewicz)
15+
- [TimoKruth](https://github.com/TimoKruth)
16+
117
# dbt-utils v0.7.3
218

319
## Under the hood
@@ -14,8 +30,6 @@
1430

1531

1632
## Under the hood
17-
18-
1933
- Allow user to provide any case type when defining the `exclude` argument in `dbt_utils.star()` ([#403](https://github.com/dbt-labs/dbt-utils/pull/403))
2034
- Log whole row instead of just column name in 'accepted_range' schema test to allow better visibility into failures ([#413](https://github.com/dbt-labs/dbt-utils/pull/413))
2135
- Use column name to group in 'get_column_values ' to allow better cross db functionality ([#407](https://github.com/dbt-labs/dbt-utils/pull/407))
@@ -27,7 +41,6 @@
2741
- Declare compatibility with dbt v0.21.0, which has no breaking changes for this package ([#398](https://github.com/fishtown-analytics/dbt-utils/pull/398))
2842

2943

30-
3144
# dbt-utils v0.7.0
3245
## Breaking changes
3346

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Check [dbt Hub](https://hub.getdbt.com/dbt-labs/dbt_utils/latest/) for the lates
1212
- [expression_is_true](#expression_is_true-source)
1313
- [recency](#recency-source)
1414
- [at_least_one](#at_least_one-source)
15-
- [not_constant](#not_constant)
15+
- [not_constant](#not_constant-source)
1616
- [cardinality_equality](#cardinality_equality-source)
1717
- [unique_where](#unique_where-source)
1818
- [not_null_where](#not_null_where-source)
@@ -48,13 +48,13 @@ Check [dbt Hub](https://hub.getdbt.com/dbt-labs/dbt_utils/latest/) for the lates
4848

4949
- [Cross-database macros](#cross-database-macros):
5050
- [current_timestamp](#current_timestamp-source)
51-
- [dateadd](#date_add-source)
52-
- [datediff](#datadiff-source)
51+
- [dateadd](#dateadd-source)
52+
- [datediff](#datediff-source)
5353
- [split_part](#split_part-source)
5454
- [last_day](#last_day-source)
5555
- [width_bucket](#width_bucket-source)
5656

57-
- [Logger](#logger)
57+
- [Jinja Helpers](#jinja-helpers)
5858
- [pretty_time](#pretty_time-source)
5959
- [pretty_log_format](#pretty_log_format-source)
6060
- [log_info](#log_info-source)

dbt_project.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: 'dbt_utils'
22
version: '0.7.0'
33

4-
require-dbt-version: [">=0.20.0", "<0.22.0"]
4+
require-dbt-version: [">=0.20.0", "<=1.0.0"]
55

66
config-version: 2
77

macros/schema_tests/equality.sql

+2-2
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ b_minus_a as (
6464

6565
unioned as (
6666

67-
select 'a_minus_b' as which_diff, * from a_minus_b
67+
select 'a_minus_b' as which_diff, a_minus_b.* from a_minus_b
6868
union all
69-
select 'b_minus_a' as which_diff, * from b_minus_a
69+
select 'b_minus_a' as which_diff, b_minus_a.* from b_minus_a
7070

7171
)
7272

0 commit comments

Comments
 (0)