Skip to content
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

adding subscription_id in invoice table for use in the main stripe pa… #41

Closed
wants to merge 6 commits into from

Conversation

ashishk-de
Copy link

@ashishk-de ashishk-de commented May 27, 2022

…ckage

Pull Request
Are you a current Fivetran customer?
yes. Abine Inc

What change(s) does this PR introduce?
Adds subscription_id to invoice table.

Did you update the CHANGELOG?

  • Yes

Does this PR introduce a breaking change?

  • Yes (please provide breaking change details below.)
  • No (please provide an explanation as to how the change is non-breaking below.)
  • Unsure (please provide an explanation as to how the change is non-breaking below.)
    My stripe instance uses subscription. I am unsure if the Invoice object from stripe will always have the subscription_id column available based on your usage of subscriptions feature in stripe.

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)

  • Yes

Is this PR in response to a previously created Bug or Feature Request

How did you test the PR changes?

  • CircleCi
  • Local (please provide additional testing details below)
    image

Select which warehouse(s) were used to test the PR

  • BigQuery
  • Redshift
  • Snowflake
  • Postgres
  • Databricks
  • Other (provide details below)

Provide an emoji that best describes your current mood

💃

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.

@fivetran-joemarkiewicz fivetran-joemarkiewicz added enhancement New feature or request good first issue Good for newcomers labels Jun 13, 2022
Copy link
Contributor

@fivetran-joemarkiewicz fivetran-joemarkiewicz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ashishk-de thanks so much for opening this PR 🙌

I apologize for the delayed response in giving this a review. I just took a look and this enhancement seems like a more than reasonable addition to the package. Before we progress with merging this to main and including in the next release, I did have a few requested updates:

  • With the new field being added to the staging model, we should also update the src_stripe.yml and stg_stripe.yml files to include the new field within the dbt documentation.
  • Make the same version increase adjustment that you made in the dbt_project.yml file within the integration_test/dbt_project.yml file.

Once those small changes are applied, we should be good to go! Let me know if you have any questions 😄

dbt_project.yml Outdated Show resolved Hide resolved
@fivetran-reneeli fivetran-reneeli mentioned this pull request Jun 17, 2022
14 tasks
@fivetran-reneeli
Copy link
Contributor

This has been merged with #45

fivetran-reneeli added a commit that referenced this pull request Jun 21, 2022
Add timezone notation to timestamp column definition (#42)
Addition of subscription ID in the stg_stripe__invoice model (#41)
@fivetran-jamie
Copy link
Contributor

closing as this was merged with another PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants