Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove references to dbt_utils for cross-db functionality #54

Merged
merged 1 commit into from
Sep 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"]