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/linkedin click uri updates #120

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

fivetran-joemarkiewicz
Copy link
Contributor

@fivetran-joemarkiewicz fivetran-joemarkiewicz commented Sep 17, 2024

PR Overview

This PR will address the following Issue/Feature: dbt_linkedin Issue #35

This PR will result in the following new package version: v1.10.0

This will be a breaking change as a result of the upstream dbt_linkedin and dbt_linkedin_source updates.

Please provide the finalized CHANGELOG entry which details the relevant changes included in this PR:

Breaking Changes (within upstream dbt_linkedin_source and dbt_linkedin)

  • The dependency on dbt_linkedin has been bumped to the [">=0.10.0", "<0.11.0"] range and the dbt_linkedin_source dependency has been bumped to the [">=0.10.0", "<0.11.0"] range. These upstream version ranges include the following breaking changes. For more details regarding these changes, refer to the dbt_linkedin_source v0.10.0 and dbt_linkedin v0.10.0 release notes.
    • The click_uri_type field has been added to the below mentioned models. This field allows users to differentiate which click uri type (text_ad or spotlight) is being used to populate the results of the click_uri field.
      • stg_linkedin_ads__creative_history
      • linkedin_ads__creative_report
      • linkedin_ads__url_report
      • Please be aware this new field only supports text_ad or spotlight click uri types. If you are interested in this package supporting more click uri ad types, please let us know in this Feature Request.

Bug Fixes (upstream dbt_linkedin_source change)

  • The click_uri field has been adjusted to populate the results following a coalesce on the text_ad_landing_page, spotlight_landing_page, or click_uri fields. For more details refer to dbt_linkedin_source v0.10.0 release notes.

Under the Hood

  • Addition of the following consistency validation tests for the below mentioned models to be used during integration tests (only used by Fivetran maintainers):
    • ad_reporting__ad_report
    • ad_reporting__url_report

PR Checklist

Basic Validation

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

  • dbt run –full-refresh && dbt test
  • [n/a] 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

❗ Special Updates for Ad Reporting ❗

To reduce integration testing time, not all models should be enabled in the run_models.sh vars. Update the variables after dbt run and dbt test to set:

  • this PR's package to true
  • Google Ads and Facebook Ads to true (if not already)
  • All other packages to false

Detailed Validation

Please share any and all of your validation steps:

Please see the upstream PRs for relevant validations:

Additionally, please see the passing validation tests below:
image

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

🔗

Comment on lines +14 to +19
# - package: fivetran/linkedin
# version: [">=0.10.0", "<0.11.0"]

- git: https://github.com/fivetran/dbt_linkedin.git
revision: feature/click-uri-updates
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 merge and release

@fivetran-joemarkiewicz fivetran-joemarkiewicz marked this pull request as ready for review September 17, 2024 18:46
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!

Copy link
Contributor

@fivetran-avinash fivetran-avinash left a comment

Choose a reason for hiding this comment

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

lgtm

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