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

Bug/update disabling models #35

Merged
merged 6 commits into from
Sep 27, 2022
Merged

Conversation

fivetran-catfritz
Copy link
Contributor

Pull Request
Are you a current Fivetran customer?
Fivetran created PR

What change(s) does this PR introduce?

Bug Fixes

  • Add all model variables to the README "Disabling Models" section
  • Remove model variables from this package's dbt_project.yml to avoid potential conflict with a user's settings.

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.

README.md Outdated

The `salesforce__user_role_enabled` variable below refers to the `user_role` table.
To disable the corresponding functionality in this package, you must add the corresponding variable(s) to your `dbt_project.yml`, which are listed below. By default, that is if none of these variables are added, all variables are assumed to be true. Add variables only for the tables you would like to disable:

```yml
# dbt_project.yml
Copy link
Contributor

@fivetran-avinash fivetran-avinash Sep 26, 2022

Choose a reason for hiding this comment

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

I think you can remove lines 82-86 with the commented out dbt_project.yml and config-version: 2 line. Same with lines 66-70.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks, and I have updated. I also updated similarly in a few other similar code blocks for consistency.

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.

duplicated, see below review

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.

Hello @fivetran-catfritz! Everything looks good, just some minor tweaks to clean up the Readme.

One other thing--if you can update your integration_tests/requirements.txt files to the following specs below and include it in the PR. Joe mentioned that we should start updating requirements files going forward since the original 1.0.0 versions are starting to throw errors, just something to keep in mind!

Screen Shot 2022-09-26 at 2 31 50 PM

@fivetran-catfritz
Copy link
Contributor Author

@fivetran-avinash I have updated the pushed the requirements and readme changes!

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.

@fivetran-catfritz Looks great!

@fivetran-catfritz fivetran-catfritz merged commit 791fbb4 into main Sep 27, 2022
@fivetran-catfritz fivetran-catfritz deleted the bug/update-disabling-models branch September 27, 2022 20:48
@fivetran-catfritz fivetran-catfritz linked an issue Sep 27, 2022 that may be closed by this pull request
4 tasks
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.

[Bug] Update readme with new models to disable
2 participants