-
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
reply time updates #50
reply time updates #50
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.
lgtm!
Side note I like how the comment_counts CTE in int_zendesk__comment_metrics
breaks out the different comments so it was straightforward to switch count_internal_comments to count_agent_comments in zendesk__tickets_metrics
.
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.
looks good to me! would love to walk through it a lil during standup if we can tho, just to make sure I get what's going on
end_user_comments.ticket_id, | ||
-- If the commentor was internal and a first comment then we want the ticket created date to be the end user comment created date | ||
-- Otherwise we will want to end user comment created date | ||
case when end_user_comments.commenter_role = 'internal_comment' and end_user_comments.is_first_comment |
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.
Make case when inclusive of all first comments.
Think customer made ticket Friday, no response, commented on Tuesday, response. That should be 2 days not 2 minutes.
Are you a current Fivetran customer?
Fivetran created PR
What change(s) does this PR introduce?
This PR updates the logic that goes into the reply time metrics. Previously the logic only captured reply times if the customer (
external_comment
) was made first. However, Zendesk calculates this metric as the first agent reply time following the tickets creations. This means if an agent responds first then we will want to take this into account as well.Does this PR introduce a breaking change?
While this PR does not incorporate breaking changes, it does include major code updates and will also be integrated within the next v0.7.0 release.
Is this PR in response to a previously created Issue
How did you test the PR changes?
Select which warehouse(s) were used to test the PR
Provide an emoji that best describes your current mood
📯
Feedback
We are so excited you decided to contribute to the Fivetran community dbt package! We continue to work to improve the packages and would greatly appreciate your feedback on our existing dbt packages or what you'd like to see next.