fivetran / dbt_hubspot

Data models for Hubspot built using dbt.
https://fivetran.github.io/dbt_hubspot/
Apache License 2.0
33 stars 39 forks source link

Add service end models #123

Closed fivetran-jamie closed 1 year ago

fivetran-jamie commented 1 year ago

PR Overview

This PR will address the following Issue/Feature: Quarterly project to add service/ticket models

This PR will result in the following new package version:

breaking: v0.14.0 non-breaking: v0.13.1

for users who have not explicitly set hubspot__service_enabled to true, nothing will change (besides the tiny source package patch i added)

for users who have hubspot__service_enabled set to true, a lot will change!! they'll have two new end models, one of which is a pretty hefty incremental model with incremental intermediate models. that's probably something a user should explicitly elect to have so...breaking?

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

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":

for ticket history looked at our available dataset and compared ticket changes in the source ticket_property_history table to the end model.

for ticket enhanced model this one was fairly straightforward, as my code is basically just dynamic joins and a call to the pre-existing engagements_aggregated macro

for more details see slack DM

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?

🎃