Skip to content
Merged
Show file tree
Hide file tree
Changes from 14 commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
4c6bbef
feature/new_union_macro_metadata_fields_and_variable_configs
fivetran-savage Jan 27, 2026
ecf0a8e
add_variable_configs_to_downstream_models
fivetran-savage Jan 28, 2026
9fdebec
add_charge_medatada_fields_to_end_model
fivetran-savage Jan 28, 2026
30a7a52
add_union_macro_files
fivetran-savage Jan 29, 2026
41b2a9b
add_union_macro_files
fivetran-savage Jan 29, 2026
aa8992c
add_metadata_macro
fivetran-savage Feb 4, 2026
5909cde
update_charge_seed_column
fivetran-savage Feb 4, 2026
0ebd3b3
update_integration_test_seed_column_definitions
fivetran-savage Feb 5, 2026
6a73071
add_seed_column_details
fivetran-savage Feb 5, 2026
9e78db2
sdd_column_definitions
fivetran-savage Feb 5, 2026
6276501
update_ci_folder
fivetran-savage Feb 5, 2026
d99a38c
update_changelog_and_readme
fivetran-savage Feb 5, 2026
33775f9
update_column_definitions
fivetran-savage Feb 5, 2026
6aca2b5
add_coupon_to_yml
fivetran-savage Feb 5, 2026
893cb47
update_quickstart_yml
fivetran-savage Feb 9, 2026
3d4bafd
change_macro_link
fivetran-savage Feb 10, 2026
2eca5b8
add_transfers_var_config
fivetran-savage Feb 10, 2026
20a289a
update_readme
fivetran-savage Feb 10, 2026
a20ba3d
change_order_of_tests
fivetran-savage Feb 10, 2026
9fd63b2
add_vars_to_int_models
fivetran-savage Feb 10, 2026
81e4914
adjust_jinja
fivetran-savage Feb 10, 2026
3c6b49f
update_readme
fivetran-savage Feb 10, 2026
a63f8ae
restore_changelog_history
fivetran-savage Feb 10, 2026
b261218
Restore changelog history
fivetran-savage Feb 10, 2026
fc48a1f
Apply suggestions from code review
fivetran-savage Feb 11, 2026
4e7276c
Update README
fivetran-savage Feb 11, 2026
eb0b847
Update CHANGELOG
fivetran-savage Feb 11, 2026
037132d
Update CHANGELOG.md
fivetran-savage Feb 11, 2026
388e289
Update CHANGELOG.md
fivetran-savage Feb 11, 2026
89a843f
Update CHANGELOG.md
fivetran-savage Feb 11, 2026
87d5a6e
Update macros/select_metadata_columns.sql
fivetran-savage Feb 11, 2026
a896abd
Apply suggestions from code review
fivetran-savage Feb 11, 2026
14c9fae
Update README
fivetran-savage Feb 11, 2026
385f4dd
Generate dbt docs via GitHub Actions
github-actions[bot] Feb 11, 2026
90ee3d2
Apply suggestions from code review
fivetran-savage Feb 12, 2026
1dd6061
Update CHANGELOG
fivetran-savage Feb 12, 2026
73e539d
Apply suggestions from code review
fivetran-savage Feb 12, 2026
dc330d3
Remove select_metadata_columns macro from customer_overview
fivetran-savage Feb 12, 2026
49688cd
Update indentation
fivetran-savage Feb 12, 2026
b6fa2ec
Enhance CHANGELOG with model and Quickstart updates
fivetran-savage Feb 12, 2026
80eaf64
Update CHANGELOG.md
fivetran-savage Feb 12, 2026
f7fc894
Apply suggestions from code review
fivetran-savage Feb 12, 2026
55d143e
Fix indentation
fivetran-savage Feb 12, 2026
d9ee75b
update_changelog
fivetran-savage Feb 12, 2026
850761c
Update CHANGELOG.md
fivetran-savage Feb 12, 2026
a65fc5f
Apply suggestions from code review
fivetran-savage Feb 12, 2026
b010bba
Generate dbt docs via GitHub Actions
github-actions[bot] Feb 12, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .quickstart/quickstart.yml
Comment thread
fivetran-savage marked this conversation as resolved.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ table_variables:
stripe__using_credit_notes:
- credit_note_line_item
- credit_note
stripe__using_transfers:
- transfer
stripe__using_payouts:
Comment thread
fivetran-savage marked this conversation as resolved.
- payout
- payout_balance_transaction
stripe__using_coupons:
- coupon

Expand Down
545 changes: 38 additions & 507 deletions CHANGELOG.md

Large diffs are not rendered by default.

1,223 changes: 85 additions & 1,138 deletions README.md

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion dbt_project.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
config-version: 2
name: 'stripe'
version: '1.4.0'
version: '1.5.0'
require-dbt-version: [">=1.3.0", "<3.0.0"]

models:
Expand Down Expand Up @@ -49,3 +49,4 @@ vars:
transfer: "{{ source('stripe', 'transfer') }}"

card_pass_through_columns: []
stripe_sources: []
Comment thread
fivetran-avinash marked this conversation as resolved.
8 changes: 4 additions & 4 deletions integration_tests/ci/sample.profiles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ integration_tests:
pass: "{{ env_var('CI_REDSHIFT_DBT_PASS') }}"
dbname: "{{ env_var('CI_REDSHIFT_DBT_DBNAME') }}"
port: 5439
schema: stripe_integrations_tests_22
schema: stripe_integrations_tests
threads: 8
bigquery:
type: bigquery
method: service-account-json
project: 'dbt-package-testing'
schema: stripe_integrations_tests_22
schema: stripe_integrations_tests
threads: 8
keyfile_json: "{{ env_var('GCLOUD_SERVICE_KEY') | as_native }}"
snowflake:
Expand All @@ -29,7 +29,7 @@ integration_tests:
role: "{{ env_var('CI_SNOWFLAKE_DBT_ROLE') }}"
database: "{{ env_var('CI_SNOWFLAKE_DBT_DATABASE') }}"
warehouse: "{{ env_var('CI_SNOWFLAKE_DBT_WAREHOUSE') }}"
schema: stripe_integrations_tests_22
schema: stripe_integrations_tests
threads: 8
postgres:
type: postgres
Expand All @@ -38,7 +38,7 @@ integration_tests:
pass: "{{ env_var('CI_POSTGRES_DBT_PASS') }}"
dbname: "{{ env_var('CI_POSTGRES_DBT_DBNAME') }}"
port: 5432
schema: stripe_integrations_tests_22
schema: stripe_integrations_tests
threads: 8
databricks:
catalog: "{{ env_var('CI_DATABRICKS_DBT_CATALOG') }}"
Expand Down
37 changes: 36 additions & 1 deletion integration_tests/dbt_project.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
config-version: 2

name: 'stripe_integration_tests'
version: '1.4.0'
version: '1.5.0'

profile: 'integration_tests'

Expand All @@ -20,6 +20,7 @@ vars:
stripe_balance_transaction_identifier: "balance_transaction_data"
stripe_card_identifier: "card_data"
stripe_charge_identifier: "charge_data"
stripe_coupon_identifier: "coupon_data"
stripe_customer_identifier: "customer_data"
stripe_discount_identifier: "discount_data"
stripe_dispute_identifier: "dispute_data"
Expand Down Expand Up @@ -67,26 +68,60 @@ seeds:
+column_types:
balance_transaction_id: "{{ 'varchar(500)' if target.type in ('redshift','postgres') else 'string'}}"
created: timestamp
captured: boolean
livemode: boolean
paid: boolean
refunded: boolean
amount: "{{ 'bigint' if target.type in ('redshift','postgres') else 'INT64' if target.type == 'bigquery' else 'bigint'}}"
amount_refunded: "{{ 'bigint' if target.type in ('redshift','postgres') else 'INT64' if target.type == 'bigquery' else 'bigint'}}"
application_fee_amount: "{{ 'bigint' if target.type in ('redshift','postgres') else 'INT64' if target.type == 'bigquery' else 'bigint'}}"
outcome_risk_score: "{{ 'float' if target.type in ('redshift','postgres') else 'FLOAT64' if target.type == 'bigquery' else 'float'}}"
customer_data:
+column_types:
description: "{{ 'varchar(500)' if target.type in ('redshift','postgres') else 'string'}}"
invoice_data:
+column_types:
due_date: timestamp
paid: boolean
auto_advance: boolean
amount_due: "{{ 'bigint' if target.type in ('redshift','postgres') else 'INT64' if target.type == 'bigquery' else 'bigint'}}"
amount_paid: "{{ 'bigint' if target.type in ('redshift','postgres') else 'INT64' if target.type == 'bigquery' else 'bigint'}}"
amount_remaining: "{{ 'bigint' if target.type in ('redshift','postgres') else 'INT64' if target.type == 'bigquery' else 'bigint'}}"
subtotal: "{{ 'bigint' if target.type in ('redshift','postgres') else 'INT64' if target.type == 'bigquery' else 'bigint'}}"
tax: "{{ 'bigint' if target.type in ('redshift','postgres') else 'INT64' if target.type == 'bigquery' else 'bigint'}}"
total: "{{ 'bigint' if target.type in ('redshift','postgres') else 'INT64' if target.type == 'bigquery' else 'bigint'}}"
attempt_count: "{{ 'bigint' if target.type in ('redshift','postgres') else 'INT64' if target.type == 'bigquery' else 'bigint'}}"
number: "{{ 'bigint' if target.type in ('redshift','postgres') else 'INT64' if target.type == 'bigquery' else 'bigint'}}"
post_payment_credit_notes_amount: "{{ 'bigint' if target.type in ('redshift','postgres') else 'INT64' if target.type == 'bigquery' else 'bigint'}}"
pre_payment_credit_notes_amount: "{{ 'bigint' if target.type in ('redshift','postgres') else 'INT64' if target.type == 'bigquery' else 'bigint'}}"
payout_data:
+column_types:
destination_bank_account_id: "{{ 'varchar(500)' if target.type in ('redshift','postgres') else 'string'}}"
destination_card_id: "{{ 'varchar(500)' if target.type in ('redshift','postgres') else 'string'}}"
plan_data:
+column_types:
interval_count: "{{ 'bigint' if target.type in ('redshift','postgres') else 'INT64' if target.type == 'bigquery' else 'bigint'}}"
price_data:
+column_types:
recurring_interval: "{{ 'varchar(100)' if target.type in ('redshift','postgres') else 'string'}}"
recurring_aggregate_usage: "{{ 'varchar(100)' if target.type in ('redshift','postgres') else 'string'}}"
recurring_usage_type: "{{ 'varchar(100)' if target.type in ('redshift','postgres') else 'string'}}"
recurring_interval_count: "{{ 'bigint' if target.type in ('redshift','postgres') else 'INT64' if target.type == 'bigquery' else 'bigint'}}"
subscription_item_data:
+column_types:
quantity: "{{ 'bigint' if target.type in ('redshift','postgres') else 'INT64' if target.type == 'bigquery' else 'bigint'}}"
discount_data:
+enabled: "{{ true if target.type not in ('snowflake', 'postgres') else false }}"
+column_types:
amount: "{{ 'bigint' if target.type in ('redshift','postgres') else 'INT64' if target.type == 'bigquery' else 'bigint'}}"
discount_data_snowflake:
+alias: discount_data
+enabled: "{{ true if target.type == 'snowflake' else false }}"
discount_data_postgres:
+alias: discount_data
+enabled: "{{ true if target.type == 'postgres' else false }}"
+column_types:
amount: "{{ 'bigint' if target.type in ('redshift','postgres') else 'INT64' if target.type == 'bigquery' else 'bigint'}}"


dispatch:
Expand Down
Loading