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/v2-updates #21

Merged
merged 15 commits into from
Sep 2, 2022
Merged

feature/v2-updates #21

merged 15 commits into from
Sep 2, 2022

Conversation

fivetran-joemarkiewicz
Copy link
Contributor

Are you a current Fivetran customer?

Fivetran created PR

What change(s) does this PR introduce?

This PR includes the following updates:

  • Addition of the following new models:
    • pinterest_ads__advertiser_report
    • pinterest_ads__campaign_report
    • pinterest_ads__ad_group_report
    • pinterest_ads__keyword_report
    • pinterest_ads__pin_promotion_report
    • pinterest_ads__url_report
  • Added testing for each end model to ensure granularity and accuracy of the modeled data.
  • README and yml documentation updates

Did you update the CHANGELOG?

  • Yes

Does this PR introduce a breaking change?

  • Yes (please provide breaking change details below.)
  • No (please provide an explanation as to how the change is non-breaking below.)

Did you update the dbt_project.yml files with the version upgrade (please leverage standard semantic versioning)? (In both your main project and integration_tests)

  • Yes

Is this PR in response to a previously created Bug or Feature Request

How did you test the PR changes?

  • CircleCi
  • Local (please provide additional testing details below)

Select which warehouse(s) were used to test the PR

  • BigQuery
  • Redshift
  • Snowflake
  • Postgres
  • Databricks
  • Other (provide details below)

Provide an emoji that best describes your current mood

🏊‍♂️

Feedback

We are so excited you decided to contribute to the Fivetran community dbt package! We continue to work to improve the packages and would greatly appreciate your feedback on our existing dbt packages or what you'd like to see next.

@fivetran-joemarkiewicz fivetran-joemarkiewicz added documentation Improvements or additions to documentation enhancement New feature or request labels Jun 30, 2022
@fivetran-joemarkiewicz fivetran-joemarkiewicz marked this pull request as ready for review July 5, 2022 16:09
Copy link
Contributor

@fivetran-sheringuyen fivetran-sheringuyen left a comment

Choose a reason for hiding this comment

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

Hey @fivetran-joemarkiewicz, awesome PR!

I left some in-line notes and had a couple of questions:

  • In this package, I noticed in the .yml file that sometimes you do a DOCS reference for a definition and sometimes you have the definition explicitly in the .yml, is there a reason for that? E.g. some campaign_id fields will have the definition and some will refer to DOCS.
  • Can you talk a little as to why there's a non_null test for date_day across your models?
  • Looks like similar to the source package, you can close PR Feature/advertiser addition #19 as well as delete the branch for spark :)

DECISIONLOG.md Outdated Show resolved Hide resolved
DECISIONLOG.md Outdated Show resolved Hide resolved
models/pinterest.yml Show resolved Hide resolved
models/pinterest_ads__ad_group_report.sql Show resolved Hide resolved
models/pinterest.yml Show resolved Hide resolved
models/pinterest.yml Show resolved Hide resolved
models/pinterest.yml Show resolved Hide resolved
models/pinterest.yml Show resolved Hide resolved
dbt_project.yml Outdated Show resolved Hide resolved
@fivetran-joemarkiewicz
Copy link
Contributor Author

Thanks for the review @fivetran-sheringuyen! I was able to address your inline comments and see below for my responses to your broader questions:

In this package, I noticed in the .yml file that sometimes you do a DOCS reference for a definition and sometimes you have the definition explicitly in the .yml, is there a reason for that? E.g. some campaign_id fields will have the definition and some will refer to DOCS.

  • This was an oversight on my part. I didn't update the previous docs to use the docs.md I created from the source. I just updated the previous descriptions to fit with the standard across models of using the docs.md when available.

Can you talk a little as to why there's a non_null test for date_day across your models?

  • Following our team discussions. I added the not null tests to the day and lowest grain fields to ensure data completeness.

Looks like similar to the source package, you can close PR #19 as well as delete the branch for spark :)

  • For sure! I closed the PR and deleted the stale branch.

Copy link
Contributor

@fivetran-sheringuyen fivetran-sheringuyen left a comment

Choose a reason for hiding this comment

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

Awesome work, thanks for the updates @fivetran-joemarkiewicz !

@fivetran-sheringuyen fivetran-sheringuyen merged commit 6ea231f into main Sep 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants