-
Notifications
You must be signed in to change notification settings - Fork 5
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] Review the incremental logic in iterable__events #45
Comments
After exploring this further I believe I was able to get to the bottom of the issue with the The crux of the issue resides within how we have structure the incremental logic and the incremental strategies we are using. We're leveraging the
This is appropriate as it helps with the performance of the incremental loads and only operates on the partition in question. However, this comes into conflict with the field we are filtering on to perform the incremental load: dbt_iterable/models/iterable__events.sql Lines 16 to 18 in 0c3b449
The To address this we will need to take either of the following approaches to update the existing incremental logic (please note that both of these approaches does not involve adjusting the partition logic as we do not want to partition by a timestamp):
Based on my scoping, I would assume the later approach would be the ideal one. We should also double check the other incremental models in this package to confirm this is not an issue in other models. |
Is there an existing issue for this?
Describe the issue
While reviewing PR #44 it was discovered that the row count for
iterable__events
does not match the row count ofstg_iterable__event
following an incremental run, running with test data on bigquery. We should look into why this is happening, if it's expected behavior, or if we should update the logic.Relevant error log or model output
No response
Expected behavior
I believe the row count for
iterable__events
should match the row count ofstg_iterable__event
dbt Project configurations
n/a but try with incremental run
Package versions
'0.12.0'
What database are you using dbt with?
bigquery
dbt Version
1.7.9
Additional Context
No response
Are you willing to open a PR to help address this issue?
The text was updated successfully, but these errors were encountered: