This PR will result in the following new package version:
v0.12.1
Please provide the finalized CHANGELOG entry which details the relevant changes included in this PR:
Feature Updates
Declaration of passthrough variables for the stg_stripe__card model. This can, for example, be used to pull in non-standard columns from Stripe such as description, iin and issuer. See the README for more details (PR #81).
# dbt_project.yml
vars:
stripe_source:
card_pass_through_columns:
name: "description"
Under the Hood
Removed un-used columns from the get_card_columns()macro and aliased the metadata field, which is parsed but not wholly included in stg_stripe__card by default.
This ensures users can utilize the new card_pass_through_columns variable to include these fields in stg_stripe__card.
PR Checklist
Basic Validation
Please acknowledge that you have successfully performed the following commands locally:
[x] dbt run –full-refresh && dbt test
[ ] dbt run (if incremental models are present) && dbt test
Before marking this PR as "ready for review" the following have been applied:
[x] The appropriate issue has been linked, tagged, and properly assigned
[x] All necessary documentation and version upgrades have been applied
[x] docs were regenerated (unless this PR does not include any code or yml updates)
[x] BuildKite integration tests are passing
[x] Detailed validation steps have been provided below
Detailed Validation
Please share any and all of your validation steps:
Ran successfully with the following set of passthrough columns:
PR Overview
This PR will address the following Issue/Feature: https://github.com/fivetran/dbt_stripe_source/issues/80 by way of including https://github.com/fivetran/dbt_stripe_source/pull/81
This PR will result in the following new package version:
v0.12.1
Please provide the finalized CHANGELOG entry which details the relevant changes included in this PR:
Feature Updates
stg_stripe__card
model. This can, for example, be used to pull in non-standard columns from Stripe such asdescription
,iin
andissuer
. See the README for more details (PR #81).vars: stripe_source: card_pass_through_columns:
Under the Hood
get_card_columns()
macro and aliased themetadata
field, which is parsed but not wholly included instg_stripe__card
by default.card_pass_through_columns
variable to include these fields instg_stripe__card
.PR Checklist
Basic Validation
Please acknowledge that you have successfully performed the following commands locally:
Before marking this PR as "ready for review" the following have been applied:
Detailed Validation
Please share any and all of your validation steps:
Ran successfully with the following set of passthrough columns:
If you had to summarize this PR in an emoji, which would it be?
🍏