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

switching account fields in gl model #22

Merged
merged 2 commits into from
Dec 3, 2021

Conversation

fivetran-joemarkiewicz
Copy link
Contributor

Are you a current Fivetran customer?

Fivetran created PR

What change(s) does this PR introduce?

This PR changes the account_code, account_id, account_name, and account_type fields within the xero_general_ledger to now being selected from the stg_xero__account model instead of the stg_xero__journal_line model.

It was found that account names may be changed within Xero, but the account name within a journal line entry will remain the old name. As such, this fix will ensure all records on the xero__general_ledger and downstream models reflect the most up to date name of the account.

Does this PR introduce a breaking change?

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

We are only changing the base table these fields are being selected from. Therefore, this will not result in a breaking change for existing users.

Is this PR in response to a previously created Issue

How did you test the PR changes?

  • CircleCi
  • Other (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
Copy link
Contributor Author

These changes were tested within Issue #18 and proved to be succesful and resolve the unique dbt test error within the users environment.

As this was tested by the user who raised the issue I am comfortable merging this into the next release.

@fivetran-joemarkiewicz fivetran-joemarkiewicz merged commit ebe99f5 into main Dec 3, 2021
@fivetran-joemarkiewicz fivetran-joemarkiewicz deleted the hotfix/gl-update-account-fields branch May 2, 2022 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant