-
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
renamed subscription to subscription_history #37
renamed subscription to subscription_history #37
Conversation
Hi @nachimehta thanks so much for opening this PR! 🙌 This was actually something I had on my radar as well. However, I was unable to test effectively with the updated connector that contains the history tables. My only question with this PR is to understand the implications of the naming change. For other packages where we introduced I will want to check with our product team to understand if these models introduce history mode. If they do, then we will want to filter out the inactive records via the |
@nachimehta would you actually be able to confirm if the Stripe data you are working with in fact does have a |
@fivetran-joemarkiewicz confirmed: |
@nachimehta thanks so much for confirming this! A few things I want to adjust before merging this with our branch and cutting a new release. I am actually going to retain the naming of the models to be With that, I am going to merge this PR with a working branch I will have on our end so we may do further integration testing. It would be great if you could continue to follow the next PR as there will be a possibility for you to test out the changes before we merge and release the next update. Thanks again so much for your contributions 🏅. The same commentary here will apply to the accompanying PR you opened on our dbt_stripe package. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As stated in the above comment, I will be merging this into a working branch on our end to make a few small adjustments before merging.
Please feel free to follow the accompanying PR to stay updated on my changes and test them if you would like.
Thanks!
10bff82
into
fivetran:bugfix/nachimehta-subscription-history
@nachimehta I have been able to update the branches to account for all of these changes. Would you be able to test the following branch in your packages:
- git: https://github.com/fivetran/dbt_stripe.git
revision: bugfix/nachimehta-subscription-history
warn-unpinned: false FYI This includes your changes from both the source and transform version of the package. |
Pull Request
Are you a current Fivetran customer?
No. I am a SI. Nachi Mehta, CEO, OxWorks
What change(s) does this PR introduce?
Updates subscription table to match new ERD (subscription history)
Did you update the CHANGELOG?
Does this PR introduce a breaking change?
Anyone using this package with previous ERD will fail to build the subscription history table.
Did you update the dbt_project.yml files with the version upgrade (please leverage standard semantic versioning)? (In both your main project and integration_tests)
Is this PR in response to a previously created Bug or Feature Request
How did you test the PR changes?
Set this up to run with newest fivetran package, synced April 6th 2022. I have the subscription history table with my company's live data, so I have the schemas to work with. I did some row count validation as well -- things seem good.
Select which warehouse(s) were used to test the PR
Provide an emoji that best describes your current mood
:bruh:
Feedback
We are so excited you decided to contribute to the Fivetran community dbt package! We continue to work to improve the packages and would greatly appreciate your feedback on our existing dbt packages or what you'd like to see next.