Skip to content

Commit

Permalink
src yml updates
Browse files Browse the repository at this point in the history
  • Loading branch information
fivetran-reneeli committed Apr 17, 2024
1 parent fcaf58b commit b147150
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

## Bug Fix
- Removes the `unique_invoice_line_item_id` uniqueness test in `stg_stripe__invoice_line_item`. This is because `unique_invoice_line_item_id` (`unique_id` in the raw source `invoice_line_item` table) was part of an older version of Stripe that was brought forth to help migrate internal references. See the Stripe [API update](https://stripe.com/docs/upgrades#2019-12-03) for more information. The Fivetran connector persists this in order to resolve the pagination break issue for invoice line items that was introduced by the [API update](https://stripe.com/docs/upgrades#2019-12-03).
- Furthermore the column definition for `unique_invoice_line_item_id` has been made more specific:
- Furthermore the column definition for `unique_invoice_line_item_id` (`unique_id` in the raw source `invoice_line_item` table) has been made more specific:
> "A unique id generated and only for old invoice line item ID's from a past version of the API. The introduction of this field resolves the pagination break issue for invoice line items, which was introduced by the [Stripe API update](https://stripe.com/docs/upgrades#2019-12-03)."
# dbt_stripe_source v0.11.0
Expand Down
2 changes: 1 addition & 1 deletion integration_tests/dbt_project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ version: '0.11.1'
profile: 'integration_tests'

vars:
stripe_schema: stripe_source_integrations_tests_3
stripe_schema: stripe_source_integrations_tests_4
stripe_source:
stripe_account_identifier: "account_data"
stripe_group_identifier: "group_data"
Expand Down
4 changes: 2 additions & 2 deletions models/src_stripe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -544,8 +544,8 @@ sources:
description: The subscription item that generated this invoice item. Left empty if the line item is not an explicit result of a subscription.
- name: type
description: A string identifying the type of the source of this line item, either an invoice item or a subscription.
- name: unique_invoice_line_item_id
description: A unique id generated for old invoice ID's from a past version of the API
- name: unique_id
description: A unique id generated and only for old invoice line item ID's from a past version of the API. The introduction of this field resolves the pagination break issue for invoice line items, which was introduced by the [Stripe API update](https://stripe.com/docs/upgrades#2019-12-03).
- name: livemode
description: Indicates if this is a test invoice line item.

Expand Down

0 comments on commit b147150

Please sign in to comment.