fivetran / dbt_fivetran_log

Data models for Fivetran's internal log connector built using dbt.
https://fivetran.github.io/dbt_fivetran_log/
Apache License 2.0
30 stars 24 forks source link

Ensure incremental runs of audit_table do not create duplicates #97

Closed fivetran-jamie closed 9 months ago

fivetran-jamie commented 10 months ago

PR Overview

This PR will address the following Issue/Feature:

No issue made, I uncovered this when validating a separate issue's PR.

dbt test fails on incremental runs only. Passes on full refreshes

image

This PR will result in the following new package version:

1.3.0 -- folks should run a full refresh in case they have duplicates currently, also this will be batched with breaking changes

Please detail what change(s) this PR introduces and any additional information that should be known during the review of this PR:

I was able to resolve the test failures by adjusting this line to use a > instead of >=

Bug Fixes

PR Checklist

Basic Validation

Please acknowledge that you have successfully performed the following commands locally:

Before marking this PR as "ready for review" the following have been applied:

Detailed Validation

Please acknowledge that the following validation checks have been performed prior to marking this PR as "ready for review":

See Hex notebook in Height (this issue doesn't have a specific height task but it's linked in all the other fivetran platform tickets i'm working on this sprint)

Standard Updates

Please acknowledge that your PR contains the following standard updates:

dbt Docs

Please acknowledge that after the above were all completed the below were applied to your branch:

If you had to summarize this PR in an emoji, which would it be?

🪠