[Bug] Division by zero errors originating from intermediate deposit models #137
Labels
error:unforced
status:in_progress
Currently being worked on
type:bug
Something is broken or incorrect
update_type:models
Primary focus requires model updates
Is there an existing issue for this?
Describe the issue
Quickstart customers were experiencing division by zero errors after upgrading to the recent release of the package. This is because in the v0.14.0 release we introduced changes to our intermediate deposit models to support multicurrency that required a division operation on
total_amount
from thedeposits
source. But we didn't account for the possibility that the denominators can be zero. We will introduce functionality that sets these values to null.Relevant error log or model output
Expected behavior
Successful compilation when the
total_amount
for a deposit is zero.dbt Project configurations
Package versions
packages:
version: [">=0.10.0", "<0.11.0"]
What database are you using dbt with?
snowflake, bigquery
dbt Version
1.7.16
Additional Context
See Height ticket T-759329
Are you willing to open a PR to help address this issue?
The text was updated successfully, but these errors were encountered: