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

'dbt.context.macros.MacroNamespace object' has no attribute 'compare_which_columns_differ' #113

Open
ryantimjohn opened this issue Nov 7, 2024 · 0 comments
Labels
bug Something isn't working triage

Comments

@ryantimjohn
Copy link

Describe the bug

Compare which columns differ doesn't seem to exist, should be removed from docs here:
https://github.com/dbt-labs/dbt-audit-helper?tab=readme-ov-file#usage-5

Steps to reproduce

ran this code:

{% set old_relation = api.Relation.create(database='x',schema='x, identifier='mart_paidmedia_daily_revenue_performance') %}
{% set dbt_relation = ref('mart_paidmedia_daily_revenue_performance') %}

{{ audit_helper.compare_which_columns_differ(
    a_relation = old_relation,
    b_relation = dbt_relation,
    primary_key = "message_id"
) }}
@ryantimjohn ryantimjohn added bug Something isn't working triage labels Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage
Projects
None yet
Development

No branches or pull requests

1 participant