-
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/last modified at #66
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@fivetran-catfritz thanks for working through this update and validating the issue and fix with the customer! I do have two small comments to be addressed before this will be good to be approved. Let me know if you have any questions. Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for applying the requested changes! Following your updates and after inspecting the validations you provided, this looks good to go!
Co-authored-by: Jamie Rodriguez <65564846+fivetran-jamie@users.noreply.github.com>
PR Overview
This PR will address the following Issue/Feature:
This PR will result in the following new package version:
Please provide the finalized CHANGELOG entry which details the relevant changes included in this PR:
Bug Fixes
is_latest_version
,last_modified_at
,status
, andcreated_at
for modelstg_linkedin_ads__creative_history
to accommodate Fivetran connectors that existed prior to the January 2023 Fivetran connector update.last_modified_at
field was retroactively filled with a default value of 1970-01-01 instead of null values. Consequently, the coalesce of line 35 could only use the value fromlast_modified_at
. To address this, we have adjusted the coalesce order to prioritize the previouslast_modified_time
and prevent it from being overridden by the default values mentioned for columnsis_latest_version
andlast_modified_at
.status
andcreated_at
for consistency.PR Checklist
Basic Validation
Please acknowledge that you have successfully performed the following commands locally:
dbt run (if incremental models are present) && dbt testBefore marking this PR as "ready for review" the following have been applied:
Detailed Validation
Please share any and all of your validation steps:
last_modified_at
.If you had to summarize this PR in an emoji, which would it be?
🎡