-
Notifications
You must be signed in to change notification settings - Fork 39
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
[Bug] Removal of deleted record filter resulting in uniqueness test failures #93
Comments
Adding that we're experiencing the same issue on Snowflake, also with email events ( |
Thanks for the note @bdtoole! Our team is currently working on an update to the downstream tests to account for this change. I will post back once we have an update. |
@bdtoole @kcraig-ats just to confirm, are y'all only seeing the failures in the |
@fivetran-jamie confirming it's just |
Hi @kcraig-ats thanks for sharing the additional details here on the tests you are seeing experiencing the failures. I have been able to open a PR that I believe should address the issue you are experiencing. Would you be able to test the following version of the package (you can replace the normal package dependency in your packages.yml with the following): packages:
- git: https://github.com/fivetran/dbt_hubspot.git
revision: bugfix/uniqueness-test-adjustment
warn-unpinned: false Let me know if using this version of the package addresses the original issue you started seeing after upgrading. Thanks! |
@fivetran-joemarkiewicz Yep, that fixed the issue! TY!! |
Confirming that the issue seems fixed for us, too! |
Thanks all for your help in raising this issue to our team. We have since been able to address the issue in the latest release of the dbt_hubspot package ( As a result, I will close out this issue. Please feel free to reopen if the issue persists. |
Is there an existing issue for this?
Describe the issue
Updating to version 0.8.0 of the HubSpot package resulted in uniqueness test failures. I read in dbt_hubspot_source #96 that the methods
where not coalesce(is_deleted, false)
andwhere not coalesce(_fivetran_deleted, false)
were removed from a number of models to allow for greater flexibility. In testing this does appear to be the cause of the failures. The records that are failing have different deleted flag values. Each set of duplicates has one false flag and the remaining flags are true. Note, I have contact merge auditing enabled and tested it to rule it out as the cause. In my case, this was specific to email events but seems like it might apply to other models where the filter was removed.Relevant error log or model output
No response
Expected behavior
Uniqueness tests should pass.
dbt Project configurations
n/a
Package versions
0.8.0
What database are you using dbt with?
redshift
dbt Version
1.3
Additional Context
Discussion with Jamie in dbt slack
Are you willing to open a PR to help address this issue?
The text was updated successfully, but these errors were encountered: