[Bug] Uniqueness test on unique_invoice_line_item_id #73
Labels
bug
Something isn't working
error:unforced
priority:p2
Affects most users; fix needed
status:accepted
Scoped and accepted into queue
type:bug
Something is broken or incorrect
update_type:testing
Primary focus requires testing updates
Is there an existing issue for this?
Describe the issue
An error in my Fivetran/Stripe package today with uniqueness in
stg_stripe_invoice_line_items
model.Seems to be testing for uniqueness on
unique_invoice_line_item_id
but I have a few records where it is not unique through the data source.Relevant error log or model output
Expected behavior
As this
stg_stripe_invoice_line_items
has 2 PK's I expect theunique_stg_stripe__invoice_line_item_unique_invoice_line_item_id
to not exist.dbt_utils_unique_combination_of_columns_stg_stripe__invoice_line_item_invoice_line_item_id__invoice_id__source_relation
is already there to ensure the combo is uniquedbt Project configurations
Package versions
What database are you using dbt with?
bigquery
dbt Version
18:16:55 Running with dbt=1.6.11
Additional Context
I think you just need to remove this test?
Are you willing to open a PR to help address this issue?
The text was updated successfully, but these errors were encountered: