Skip to content

Commit

Permalink
added audit_helper
Browse files Browse the repository at this point in the history
  • Loading branch information
Rae-Zou committed Jan 6, 2024
1 parent 6e7c6d6 commit ce0849b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{# in dbt Develop #}

{% set old_etl_relation=ref('customer_orders') -%}

{% set dbt_relation=ref('fact_customer_orders') %}

{{ audit_helper.compare_relations(
a_relation=old_etl_relation,
b_relation=dbt_relation,
primary_key="order_id"
) }}
3 changes: 3 additions & 0 deletions dbt_refactoring_for_modularity/packages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
packages:
- package: dbt-labs/audit_helper
version: 0.9.0

0 comments on commit ce0849b

Please sign in to comment.