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

feature/email-event-filter #104

Merged
merged 7 commits into from
May 3, 2023

Conversation

fivetran-joemarkiewicz
Copy link
Contributor

PR Overview

This PR will address the following Issue/Feature: FR #96

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

This is simply a documentation and under the hood update based on the updates within PR #104 from the source package. As such, no breaking updates will be reflected.

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

This PR mainly includes documentation around the newly added hubspot_using_filtered_events variable (true by default) that changes the behavior of the stg_hubspot__email_event staging model to filter out filtered events if the variable is set to false. Please see PR #104 for more details around the upstream changes.

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 '{hubspot_using_filtered_events: false}'

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.

Please see PR #104 for the validation steps taken to ensure the changes are behaving as expected in the source. With comfort around these changes, I feel the downstream implications will behave the same and as intended.

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)
  • [N/A] 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?

📧

Comment on lines +2 to +8
# - package: fivetran/hubspot_source
# version: [">=0.9.0", "<0.10.0"]

- git: https://github.com/fivetran/dbt_hubspot_source.git
revision: feature/email-event-filter
warn-unpinned: false

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Will update before merging

@fivetran-joemarkiewicz fivetran-joemarkiewicz marked this pull request as ready for review May 1, 2023 14:41
CHANGELOG.md Outdated

## Under the Hood
- The `email_event_data.csv` seed file was updated to include events that are listed as `true` for filtered_events. This is to effectively test the above mentioned feature update.
- Included `hubspot_using_filtered_events: false` as a variable declared in the final `run_models.sh` step to ensure our integration tests gain coverage over this new feature and variable.
Copy link
Contributor

@fivetran-reneeli fivetran-reneeli May 2, 2023

Choose a reason for hiding this comment

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

I'm not seeing this config in the run_models.sh script, just in the one in source, maybe we don't need this bit here if it's something more relevant for the source package

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-reneeli thanks for catching this! I must have accidentally removed this when I trimmed one of the run commands. Just added it back in.

Copy link
Contributor

@fivetran-reneeli fivetran-reneeli 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, just have very minor remarks!

fivetran-joemarkiewicz and others added 2 commits May 2, 2023 13:03
Co-authored-by: Renee Li <91097070+fivetran-reneeli@users.noreply.github.com>
Copy link
Contributor

@fivetran-reneeli fivetran-reneeli 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! Reminder to update package deps

@fivetran-catfritz fivetran-catfritz changed the base branch from main to release/v0.9.1 May 3, 2023 14:35
@fivetran-catfritz fivetran-catfritz merged commit 6b2f5da into release/v0.9.1 May 3, 2023
@fivetran-catfritz fivetran-catfritz mentioned this pull request May 3, 2023
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