Skip to content

Commit

Permalink
Merge pull request #54 from dbt-labs/060-remove-dbt-utils
Browse files Browse the repository at this point in the history
Remove references to dbt_utils for cross-db functionality
  • Loading branch information
joellabes authored Sep 7, 2022
2 parents bd58775 + 4785bd7 commit ce606d0
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 5 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
# audit_helper 0.6.0
🚨 This version requires dbt Core 1.2 or above, and is ready for dbt utils 1.0.

Changed:
* add column_name to output of compare_column_values by @leoebfolsom in https://github.com/dbt-labs/dbt-audit-helper/pull/47
* Easier switching between summary and details by @christineberger in https://github.com/dbt-labs/dbt-audit-helper/pull/52
* Removes references to dbt_utils for cross-db macros

New features:
* dbt Cloud instructions for compare_column_values by @SamHarting in https://github.com/dbt-labs/dbt-audit-helper/pull/45
* Compare all columns macro by @leoebfolsom in https://github.com/dbt-labs/dbt-audit-helper/pull/50


# audit_helper 0.5.0
This version brings full compatibility with dbt-core 1.0. It requires any version (minor and patch) of v1, which means far less need for compatibility releases in the future.

Expand Down
2 changes: 1 addition & 1 deletion dbt_project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: 'audit_helper'
version: '0.4.0'
config-version: 2

require-dbt-version: [">=1.0.0", "<2.0.0"]
require-dbt-version: [">=1.2.0", "<2.0.0"]

target-path: "target"
clean-targets: ["target", "dbt_packages"]
Expand Down
6 changes: 3 additions & 3 deletions macros/compare_queries.sql
Original file line number Diff line number Diff line change
Expand Up @@ -19,23 +19,23 @@ b as (
a_intersect_b as (

select * from a
{{ dbt_utils.intersect() }}
{{ dbt.intersect() }}
select * from b

),

a_except_b as (

select * from a
{{ dbt_utils.except() }}
{{ dbt.except() }}
select * from b

),

b_except_a as (

select * from b
{{ dbt_utils.except() }}
{{ dbt.except() }}
select * from a

),
Expand Down
2 changes: 1 addition & 1 deletion packages.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
packages:
- package: dbt-labs/dbt_utils
version: [">=0.8.0", "<0.9.0"]
version: [">=0.9.0", "<2.0.0"]

0 comments on commit ce606d0

Please sign in to comment.