-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature] Add non-standard columns to Card #80
Comments
Hi @bramrodenburg ! Thanks for opening this issue and contributing a potential PR here. I'd be a little wary about adding too many variables to this model as it becomes a bit complex for customers to manage. I think we can take a few approaches here that are more sustainable.
However, since these are non-standard fields and will not be used the wide majority of our customers, I don't feel as comfortable bringing these in by default.
So my preferred approach would be (2). Let me know if that makes sense or if you have any questions! But I think we are definitely close to scoping this task out and bringing it into a coming sprint. |
The second approach would have my preference over the approach I originally suggested. Would this be something I could give a go on my open pull request, or is this something you would pick up in a coming sprint? I am more than happy to update my PR and contribute. |
Hi @bramrodenburg ! If you are able to have time to update your PR and add passthrough functionality, that'd be great! You can use the template from our other packages to update this PR. Here are some guidance steps:
I'd also recommend naming the variable For more context, this macro creates the proper name, datatype, and aliasing for user defined pass through column variable. This macro allows for pass through variables to be more dynamic and allow users to alias custom fields they are bringing in.
For more context, this macro is used to generate the correct sql for package staging models for user defined pass through columns.
Hope that's helpful! It shouldn't take too long despite all these steps, but let me know if you have any questions. |
Thanks a lot for the detailed steps. It made it super straightforward to implement it. Incorporated it into my PR. |
Thanks @bramrodenburg ! Glad it was straightforward and you were able to verify that everything works as planned. I think the plan is we will bring this PR into our review for a coming sprint, as we have multiple Stripe issues we want to address concurrently (including I think another one of yours!), so we will batch them together so they can all go live at once. The changes should be straightforward to verify so hopefully it shouldn't take long for us to get this ready to release. |
Is there an existing feature request for this?
Describe the Feature
The columns
description
,iin
andissuer
are by default not available in the Card table. Users first need to contact Stripe, after which Fivetran also picks up these columns. It would be great if there are flags that allow users of the package to add these columns to thestg_stripe__card
model.How would you implement this feature?
Add boolean variables that allow users to add
description
,iin
andissuer
to thestg_stripe__card
model. Note that these will need to be separate variables, since these columns can be enabled by Stripe on an individual basis.Describe alternatives you've considered
No response
Are you interested in contributing this feature?
Anything else?
See the Fivetran documentation here: https://fivetran.com/docs/connectors/applications/stripe
The text was updated successfully, but these errors were encountered: