-
Notifications
You must be signed in to change notification settings - Fork 29
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
bugfix/holidat-utc-offset #126
bugfix/holidat-utc-offset #126
Conversation
fix(int_zendesk__schedule_spine): offset holiday start and end time too
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-joemarkiewicz This is approved with slight changes on the Changelog. I'll leave my PR validation in Height.
CHANGELOG.md
Outdated
@@ -1,3 +1,14 @@ | |||
# dbt_zendesk v0.12.1 |
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-joemarkiewicz We can remove this line.
# dbt_zendesk v0.12.1 | ||
|
||
## Bug Fixes | ||
- Updates the `int_zendesk__schedule_spine` model to convert the Holiday schedules into proper UTC values before being used in comparison with the schedule times. This ensures the holidays are properly mapped to schedules regardless of timezones. |
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-joemarkiewicz Since this is part of a batch release should we include a link to this specific PR and the changes introduced here?
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.
Yeah I will do the individual PR links for these since it is a batch release with multiple PRs.
PR Overview
This PR will address the following Issue/Feature: Issue #117
This PR will result in the following new package version:
v0.13.0
This will not result in breaking changes to the current users as it will only adjust the holiday times to properly be converted into their respective UTC comps. This will only adjust and patch a previous error to some schedule and holiday overlaps. As a result this will not be a breaking change.
However, this will be merged into a branch that does include a breaking upstream change. As such, we will want to make this a breaking change.
Please detail what change(s) this PR introduces and any additional information that should be known during the review of this PR:
Bug Fixes
int_zendesk__schedule_spine
model to convert the Holiday schedules into proper UTC values before being used in comparison with the schedule times. This ensures the holidays are properly mapped to schedules regardless of timezones.Under the Hood
.github
folder to properly categorize the Community and Maintainer PR templates.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":
To test these changes I performed the following validation efforts.
Craig Day
.holiday_name_check
logic.int_zendesk__schedule_spine
model we can see that the holiday forCraig Day
is still included in the schedule period. The expected results here would be that the day is excluded so the business hours aren't counted towards that holiday.Craig Day
is captured in theholiday_name_check
logic and in the end query for theint_zendesk__schedule_spine
model the day is properly omitted as the holiday is being taken into consideration and hours are not counted on that holiday.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?
📆