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

Fix enabled config to handle conditionals #37

Merged
merged 6 commits into from
Jan 5, 2023

Conversation

nszoni
Copy link
Contributor

@nszoni nszoni commented Jan 5, 2023

Are you a current Fivetran customer?

No, I'm Sonny Nguyen, Analytics Engineer from Hiflylabs:)

What change(s) does this PR introduce?

Fixes a bug switching off the apple_search_ads.search_term_report source. Previously, it wasn't able to compile the Jinja expression because the and parameter was outside the context. This achieves the intended behaviour.

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.)

It only disables the source when the right vars are defined as False as intended.

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?

  • 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
Collaborator

@fivetran-joemarkiewicz fivetran-joemarkiewicz left a comment

Choose a reason for hiding this comment

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

This looks great @nszoni! Thanks so much for taking the time to contribute back to our packages to fix the issue you originally discovered! 🏅

I am approving this PR, but I have one small request for you to add a contributor section to the CHANGELOG. Once that is applied I will be able to merge this and incorporate in the next patch release!

CHANGELOG.md Show resolved Hide resolved
@fivetran-joemarkiewicz fivetran-joemarkiewicz added type:bug Something is broken or incorrect priority:p2 Affects most users; fix needed update_type:testing Primary focus requires testing updates labels Jan 5, 2023
@fivetran-joemarkiewicz
Copy link
Collaborator

Brilliant!! Thanks so much for the quick turnaround @nszoni! These updates look great to me and I will kick off our internal process to merge and cut the release 🎉

@fivetran-joemarkiewicz fivetran-joemarkiewicz merged commit b9fdac2 into fivetran:main Jan 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority:p2 Affects most users; fix needed type:bug Something is broken or incorrect update_type:testing Primary focus requires testing updates
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants