Skip to content
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/created-at-update #122

Merged
merged 4 commits into from
Oct 30, 2023

Conversation

fivetran-joemarkiewicz
Copy link
Contributor

PR Overview

This PR will address the following Issue/Feature: dbt_hubspot_source #117

This PR will result in the following new package version: v0.14.0

Since this is changing the name of a field in the end model this will be breaking.

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

🚨 Breaking Changes 🚨

  • The created_at field in the hubspot__contacts model has been renamed to created_date to be consistent with the source data and avoid duplicate columns when persisting all property_* fields at the source package.

Under the Hood

  • Updates to the seed files and seed file configurations for the package integration tests to ensure updates are properly tested.

PR Checklist

Basic Validation

Please acknowledge that you have successfully performed the following commands locally:

  • dbt compile
  • dbt run –full-refresh
  • dbt run
  • dbt test
  • dbt run –vars (All vars in the buildkite job)

Before marking this PR as "ready for review" the following have been applied:

  • The appropriate issue has been linked and tagged
  • You are assigned to the corresponding issue and this PR
  • BuildKite integration tests are passing

Detailed Validation

Please acknowledge that the following validation checks have been performed prior to marking this PR as "ready for review":

  • You have validated these changes and assure this PR will address the respective Issue/Feature.
  • You are reasonably confident these changes will not impact any other components of this package or any dependent packages.
  • You have provided details below around the validation steps performed to gain confidence in these changes.

I was able to confirm that the field changes in the end model. Please see the source package for further validation checks.

Standard Updates

Please acknowledge that your PR contains the following standard updates:

  • Package versioning has been appropriately indexed in the following locations:
    • indexed within dbt_project.yml
    • indexed within integration_tests/dbt_project.yml
  • CHANGELOG has individual entries for each respective change in this PR
  • README updates have been applied (if applicable)
  • [n/a] DECISIONLOG updates have been updated (if applicable)
  • Appropriate yml documentation has been added (if applicable)

dbt Docs

Please acknowledge that after the above were all completed the below were applied to your branch:

  • docs were regenerated (unless this PR does not include any code or yml updates)

If you had to summarize this PR in an emoji, which would it be?

📆

Copy link
Collaborator

@fivetran-jamie fivetran-jamie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good!

CHANGELOG.md Outdated Show resolved Hide resolved
README.md Show resolved Hide resolved
@fivetran-joemarkiewicz
Copy link
Contributor Author

@fivetran-jamie thanks for reviewing! I made some updates to my branch to account for your review notes and also included some new variables (also introduced in my source PR changes) that allow users to disable the history models if they wish. Would you be able to give another glance to make sure all looks good following my updates?

Copy link
Collaborator

@fivetran-jamie fivetran-jamie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks great! approved with one changelog comment

CHANGELOG.md Outdated
Comment on lines 5 to 8
- `stg_hubspot__company`
- `stg_hubspot__contact`
- `stg_hubspot__deal`
- `stg_hubspot__ticket`
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we note which transform end models are therefore affected?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fivetran-jamie I agree, I just added a sub bullet to show the downstream impacts. Surprisingly it was very straightforward in only impacting the relevant end models.

@fivetran-joemarkiewicz fivetran-joemarkiewicz mentioned this pull request Oct 30, 2023
18 tasks
@fivetran-jamie fivetran-jamie changed the base branch from main to feature/add-ticket-models October 30, 2023 16:47
@fivetran-jamie fivetran-jamie merged commit 817f687 into feature/add-ticket-models Oct 30, 2023
1 check was pending
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants