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

Adds department id to general ledger #63

Merged
merged 1 commit into from
Apr 10, 2023
Merged

Adds department id to general ledger #63

merged 1 commit into from
Apr 10, 2023

Conversation

MarcelloMolinaro
Copy link
Contributor

Are you a current Fivetran customer?

Yes!
Name: Marcello Molinaro
Title: Data Analyst
Company: Mozart Data

What change(s) does this PR introduce?

This PR adds department_id to the general_ledger model. This allows for segmenting by department_id in the reporting layer (and joining on the department table to grab department name if desired).

Did you update the CHANGELOG?

  • Yes

Does this PR introduce a breaking change?

  • No (please provide an explanation as to how the change is non-breaking below.)

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

  • No

How did you test the PR changes?

  • [] CircleCi
  • Local (please provide additional testing details below)
    I ran dbt seed then dbt test in the integration tests directory. I also added department_id to the seed files. All tests ran successfully:
    image
    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.

@MarcelloMolinaro
Copy link
Contributor Author

Hey, just checking back in on this. I brought in the latest changes on this so it can be merged (a new version was pushed while I made this PR). I'm wondering if there's a timeline on something like this or if I can help with anything. Thanks!

@fivetran-joemarkiewicz
Copy link
Contributor

Hi @MarcelloMolinaro thanks so much for opening this PR and working to add more features!

The latest release was one that was needed to ensure the data for a number of customers was accurate. However, this PR would fit better with our next suite of breaking changes. If you would be able to, it would be great if you could rebase your branch off our feature/quickbooks-updates-project branch. This branch is intended to contain our next suite of breaking change updates.

If you rebase, we should be able to seamlessly review and merge your changes into our next updates.

@MarcelloMolinaro MarcelloMolinaro changed the base branch from main to feature/quickbooks-updates-project December 27, 2022 22:24
@MarcelloMolinaro
Copy link
Contributor Author

Hi @fivetran-joemarkiewicz ! I've rebased the PR 🎉 . I reran the integration tests and there were some tests that failed, but they appeared to be outside of the department_id commits that I made (source_relation and class_id errors). Please let me know if there's anything else you think you'll need from me.

image
image

@MarcelloMolinaro
Copy link
Contributor Author

I'm seeing that my branch now has conflicts - Please let me know if you'd like me to re-base again.
Per the above errors in testing, I had checked out the base branch and saw the same errors, so I don't believe that my changes introduced them.

@fivetran-joemarkiewicz
Copy link
Contributor

Hi @MarcelloMolinaro yes that would be great if you would be comfortable rebasing to main. We can actually take it from there if you are comfortable as a number of updates have rolled out into main that may require some adjustments on our end before merging in.

@MarcelloMolinaro MarcelloMolinaro changed the base branch from feature/quickbooks-updates-project to main February 14, 2023 21:34
@fivetran-joemarkiewicz
Copy link
Contributor

Hi @MarcelloMolinaro just wanted to post back that we are still reviewing these updates and are going to work to integrate them into the next major release of the package.

I appreciate your patience with us working through this PR 😄

@MarcelloMolinaro
Copy link
Contributor Author

Hey @fivetran-joemarkiewicz , I have now rebased my branch to main! 🎉

As far as tests go, I don't believe that this PR added any new test failures. Running dbt test on main I saw the same test failures as I did after my changes.

I think is ready to merge, please let me know if you need anything else!

@MarcelloMolinaro
Copy link
Contributor Author

Hey again, just checking in on the status here to make sure I don't need to rebase again! Let me know if y'all need anything else.

@fivetran-joemarkiewicz
Copy link
Contributor

Hi @MarcelloMolinaro no need for you to rebase! We will plan to do a thorough review and rebase overhaul during our next major version upgrade to the QuickBooks package.

I do want to provide an update that the next major update won't be for a bit longer as a few other items have had to take priority. However, we have not forgotten about this PR! I will be sure to share an update here once we start working on the next major version upgrade to the package. When that time comes, this will undoubtedly be an invaluable piece of the upgrade!

Thank you again for taking the time to contribute this and I look forward to the next major update when we can fold this in 😄

@fivetran-joemarkiewicz fivetran-joemarkiewicz changed the base branch from main to feature/add-department-id April 10, 2023 14:41
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.

@MarcelloMolinaro thank you again so much for contributing these updates to the package! I am currently working through a few other updates to the QuickBooks this package and will fold your addition to of the department_id to the GL into the next wave. You should see these live by the middle of next week, along with a few other updates!

@fivetran-joemarkiewicz fivetran-joemarkiewicz changed the base branch from feature/add-department-id to MozartData-MarcelloMolinaro/adds-department_id April 10, 2023 18:15
@fivetran-joemarkiewicz fivetran-joemarkiewicz changed the base branch from MozartData-MarcelloMolinaro/adds-department_id to release/v0.8.0 April 10, 2023 18:17
@fivetran-joemarkiewicz fivetran-joemarkiewicz merged commit f28eda3 into fivetran:release/v0.8.0 Apr 10, 2023
@fivetran-joemarkiewicz fivetran-joemarkiewicz mentioned this pull request Apr 10, 2023
18 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants