fivetran / dbt_hubspot

Data models for Hubspot built using dbt.
https://fivetran.github.io/dbt_hubspot/
Apache License 2.0
33 stars 39 forks source link

[Feature] Leverage macro to test uniqueness of models #121

Closed fivetran-reneeli closed 8 months ago

fivetran-reneeli commented 1 year ago

Is there an existing feature request for this?

Describe the Feature

With the removal of dbt_expectations dependencies in PR #118 , we should create a macro that tests uniqueness of primary keys in the models, based on the given conditions

"not coalesce(is_x_deleted, false)"

Describe alternatives you've considered

No response

Are you interested in contributing this feature?

Anything else?

No response

fivetran-jamie commented 9 months ago

we could probably use the new(?) where config for dbt-native tests