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/variable-configs #137

Merged
merged 5 commits into from
Mar 5, 2024
Merged

Conversation

fivetran-joemarkiewicz
Copy link
Contributor

@fivetran-joemarkiewicz fivetran-joemarkiewicz commented Feb 28, 2024

PR Overview

This PR will address the following Issue/Feature: Internally raised issue

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

I went back and forth on this one. However, I feel a breaking change is the best path forward here. There is the chance that the sudden introduction of these new variable configs could cause users who have working projects to all of a sudden see missing data. Therefore, I felt it would be best to categorize this as a breaking change to be safe.

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

🚨 Breaking Changes: Variable Bug Fixes 🚨

  • The following adjustments have been made concerning the hubspot_email_event_sent_enabled variable:
    • The hubspot__contact_lists email metric fields are now dependent on the hubspot_email_event_sent_enabled variable being defined as true.
    • The hubspot__contact email metric fields are now dependent on the hubspot_email_event_sent_enabled variable being defined as true.
    • The hubspot__email_campaigns model is now dependent on the hubspot_email_event_sent_enabled variable being defined as true.
    • The int_hubspot__email_metrics__by_contact_list model is now dependent on the hubspot_email_event_sent_enabled variable being defined as true.

PR Checklist

Basic Validation

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

  • dbt run –full-refresh && dbt test
  • dbt run (if incremental models are present) && dbt test

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

  • The appropriate issue has been linked, tagged, and properly assigned
  • All necessary documentation and version upgrades have been applied
  • docs were regenerated (unless this PR does not include any code or yml updates)
  • BuildKite integration tests are passing
  • Detailed validation steps have been provided below

Detailed Validation

Please share any and all of your validation steps:

See below for the compilation validation steps:

  • When running on the latest version of the HubSpot package with the hubspot_email_event_enabled defined as true and the hubspot_email_event_sent_enabled variable defined as false I see the following error:
    • image
  • Then when testing this on the Dev version from this PR I see compilation success and also a successful run of the models
    • image
    • image

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 and runs great! just one question/suggestion in the changelog

CHANGELOG.md Show resolved Hide resolved
@fivetran-joemarkiewicz fivetran-joemarkiewicz marked this pull request as ready for review March 4, 2024 17:16
@fivetran-catfritz fivetran-catfritz self-requested a review March 4, 2024 21:16
Copy link
Contributor

@fivetran-catfritz fivetran-catfritz left a comment

Choose a reason for hiding this comment

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

Have a couple suggestions, but generally looks good!

CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
fivetran-joemarkiewicz and others added 2 commits March 4, 2024 15:30
Co-authored-by: fivetran-catfritz <111930712+fivetran-catfritz@users.noreply.github.com>
Co-authored-by: fivetran-catfritz <111930712+fivetran-catfritz@users.noreply.github.com>
Copy link
Contributor

@fivetran-catfritz fivetran-catfritz left a comment

Choose a reason for hiding this comment

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

lgtm!

@fivetran-joemarkiewicz fivetran-joemarkiewicz merged commit bf9aec2 into main Mar 5, 2024
9 checks passed
@fivetran-joemarkiewicz fivetran-joemarkiewicz deleted the bugfix/variable-configs branch March 5, 2024 15:11
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.

3 participants