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/enable-null-urls #72

Conversation

fivetran-catfritz
Copy link
Contributor

@fivetran-catfritz fivetran-catfritz commented Dec 9, 2022

Are you a current Fivetran customer?

Fivetran created PR.
What change(s) does this PR introduce?

  • For use in the dbt_ad_reporting package, users can now allow records having nulls in url fields to be included in the ad_reporting__url_report model.
  • Disabled the not_null test for pinterest_ads__url_report when null urls are allowed

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

  • Yes, Issue/Feature #59
  • No

How did you test the PR changes?

  • BuildKite
  • 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.

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-catfritz, looks mostly good! Just some minor updates before merge.

Once you are able to get buildkite passing, and docs regenerated, please feel free to merge.

CHANGELOG.md Outdated
@@ -1,3 +1,15 @@
## 🎉 Features 🎉
- Added ability for a user to allow records having nulls in url fields to be included in the `ad_reporting__url_report` and/or the underlying `...url_report` models. This is done by setting the below variable to `False` in your `dbt_project.yml` file.
Copy link
Contributor

Choose a reason for hiding this comment

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

you can use the wildcard asterisk to denote all url reports:

*url_report

Copy link
Contributor

Choose a reason for hiding this comment

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

and also, remember to cite the PR here!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

CHANGELOG.md Outdated
## 🚘 Under the Hood 🚘
- Disabled the `not_null` test for `ad_reporting__url_report` when null urls are allowed. [#72](https://github.com/fivetran/dbt_ad_reporting/pull/72)


Copy link
Contributor

Choose a reason for hiding this comment

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

remember to move the above section into the migrations changelog entry!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

packages.yml Outdated
@@ -8,47 +8,47 @@ packages:
# - package: fivetran/snapchat_ads
# version: [">=0.5.0", "<0.6.0"]
- git: https://github.com/fivetran/dbt_snapchat_ads.git
revision: MagicBot/dbt-utils-cross-db-migration
revision: feature/enable-null-urls
Copy link
Contributor

Choose a reason for hiding this comment

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

reminder to switch revisions once all upstream packages have been merged with the migration branch!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@fivetran-sheringuyen
Copy link
Contributor

I am going to merge this even though it is still failing databricks. It's the same issue we have been seeing in Google Ads and I believe once that is resolved, this will pass. Oddly, removing it from integration testing is still not completely solving the problem.

@fivetran-sheringuyen fivetran-sheringuyen merged commit e9c2fe0 into MagicBot/dbt-utils-cross-db-migration Dec 15, 2022
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