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

Rounding big fix #21

Merged
merged 3 commits into from
Jun 1, 2021
Merged

Rounding big fix #21

merged 3 commits into from
Jun 1, 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 removed a decimal cast within the quickbooks__general_ledger model (and others) which was causing data warehouses to round decimals to the nearest whole number. Additionally, this PR removes rounding functions to be more compatibile with Postgres and not conflict with improper rounding of cents in models.

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.)
    This PR only removes decimal casting which would not be a breaking change.

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

🐣

Copy link
Contributor

@kristin-bagnall kristin-bagnall left a comment

Choose a reason for hiding this comment

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

looks good!

@fivetran-joemarkiewicz fivetran-joemarkiewicz merged commit 018dc22 into master Jun 1, 2021
@fivetran-joemarkiewicz fivetran-joemarkiewicz deleted the rounding-big-fix branch June 1, 2021 17:51
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