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

Closed
ryantimjohn opened this issue Nov 7, 2024 · 4 comments
Labels
bug Something isn't working

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
@joellabes
Copy link
Contributor

@ryantimjohn I don't see compare_which_columns_differ on the readme page, just compare_which_query_columns_differ and compare_which_relation_columns_differ - can you let me know where you're still seeing it in the docs?

@joellabes joellabes removed the triage label Dec 11, 2024
@ryantimjohn
Copy link
Author

@joellabes it's been updated since then and compare_which_columns_differ was removed so we can close this out!

@ryantimjohn
Copy link
Author

@joellabes This was the commit where that was removed (happened two weeks after me opening the issue):
2462be7

@joellabes
Copy link
Contributor

Ah my bad thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants