-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
CT-3144 Fix test edges type filter on Graph #8696
CT-3144 Fix test edges type filter on Graph #8696
Conversation
Thanks for your pull request, and welcome to our community! We require contributors to sign our Contributor License Agreement and we don't seem to have your signature on file. Check out this article for more information on why we have a CLA. In order for us to review and merge your code, please submit the Individual Contributor License Agreement form attached above above. If you have questions about the CLA, or if you believe you've received this message in error, please reach out through a comment on this PR. CLA has not been signed by users: @renanleme |
Thank you for your pull request! We could not find a changelog entry for this change. For details on how to document a change, see the contributing guide. |
Thanks for your pull request, and welcome to our community! We require contributors to sign our Contributor License Agreement and we don't seem to have your signature on file. Check out this article for more information on why we have a CLA. In order for us to review and merge your code, please submit the Individual Contributor License Agreement form attached above above. If you have questions about the CLA, or if you believe you've received this message in error, please reach out through a comment on this PR. CLA has not been signed by users: @renanleme |
Thanks for your pull request, and welcome to our community! We require contributors to sign our Contributor License Agreement and we don't seem to have your signature on file. Check out this article for more information on why we have a CLA. In order for us to review and merge your code, please submit the Individual Contributor License Agreement form attached above above. If you have questions about the CLA, or if you believe you've received this message in error, please reach out through a comment on this PR. CLA has not been signed by users: @renanleme |
Thanks for your pull request, and welcome to our community! We require contributors to sign our Contributor License Agreement and we don't seem to have your signature on file. Check out this article for more information on why we have a CLA. In order for us to review and merge your code, please submit the Individual Contributor License Agreement form attached above above. If you have questions about the CLA, or if you believe you've received this message in error, please reach out through a comment on this PR. CLA has not been signed by users: @renanleme |
Thanks for your pull request, and welcome to our community! We require contributors to sign our Contributor License Agreement and we don't seem to have your signature on file. Check out this article for more information on why we have a CLA. In order for us to review and merge your code, please submit the Individual Contributor License Agreement form attached above above. If you have questions about the CLA, or if you believe you've received this message in error, please reach out through a comment on this PR. CLA has not been signed by users: @renanleme |
Codecov ReportAll modified lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #8696 +/- ##
===========================================
- Coverage 86.61% 65.16% -21.46%
===========================================
Files 176 176
Lines 25678 25681 +3
===========================================
- Hits 22240 16734 -5506
- Misses 3438 8947 +5509
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
@renanleme Thanks again for your work here. I found that there were a couple remaining problems, which can be resolved by using this definition of def filter_edges_by_type(self, first_node, second_node, edge_type):
return self.graph.get_edge_data(first_node, second_node).get("edge_type") != edge_type I found that the use of If you are able to make this change in your PR and sign the CLA, I will merge it and get it backported so that all dbt users can benefit! |
Thanks for your pull request, and welcome to our community! We require contributors to sign our Contributor License Agreement and we don't seem to have your signature on file. Check out this article for more information on why we have a CLA. In order for us to review and merge your code, please submit the Individual Contributor License Agreement form attached above above. If you have questions about the CLA, or if you believe you've received this message in error, please reach out through a comment on this PR. CLA has not been signed by users: @renanleme |
Hey, @peterallenwebb, thanks for helping me with it! I updated the pr as suggested, I tested my use case locally and it's a little bit faster indeed. Let me know if anything else is needed. |
* CT-3144 Fix test edges filter * CT-3144 Add changelog * CT-3144 Remove duplicated line * CT-3144 Remove duplicated line * CT-3144 Rename vars * CT-3144 Update filter to use get_edge_data * Trigger cla
* CT-3144 Fix test edges filter * CT-3144 Add changelog * CT-3144 Remove duplicated line * CT-3144 Remove duplicated line * CT-3144 Rename vars * CT-3144 Update filter to use get_edge_data * Trigger cla Co-authored-by: Renan Leme <[email protected]>
* CT-3144 Fix test edges filter * CT-3144 Add changelog * CT-3144 Remove duplicated line * CT-3144 Remove duplicated line * CT-3144 Rename vars * CT-3144 Update filter to use get_edge_data * Trigger cla
resolves #8692
Problem
After upgrading to 1.6.2 from 1.5.1 our build is taking way longer to start the first model
From around 7 to 8 minutes to complete to more than 1 hour without starting.
Solution
Changed the
networkx
function used to filter test type edgesChecklist