| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Codecov Report
@@ Coverage Diff @@
## master #320 +/- ##
==========================================
+ Coverage 91.17% 91.23% +0.05%
==========================================
Files 18 18
Lines 873 878 +5
Branches 73 73
==========================================
+ Hits 796 801 +5
Misses 77 77
Continue to review full report at Codecov.
|
Sorry, something went wrong.
|
@mengxr @felixcheung any thoughts on this one. |
Sorry, something went wrong.
|
This is very helpful, any updates? |
Sorry, something went wrong.
|
Hey @rjurney, Not sure of your status or involvement in this project but is there a chance you could push this through? 🤞 AFAICT this would unlock consistent component IDs across Connected Component executions for components that have unchanged nodes. |
Sorry, something went wrong.
|
@followingell I like this, but my machine is presently in an unhappy state as it relates to this project as I dip my toes in Spark proper waters. What testing have you done? |
Sorry, something went wrong.
Unfortunately none. I don't have access at the moment to a machine where I could test this without issues. |
Sorry, something went wrong.
|
Okay, give me a few days and I’ll test it. |
Sorry, something went wrong.
|
We have a lot of pending PRs related to Connected Components. I'm going to push this one forward after merging #552 |
Sorry, something went wrong.
|
Sounds good. I like this PR. |
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM!
Sorry, something went wrong.
|
I will try to resolve conflicts. |
Sorry, something went wrong.
|
@architch Thanks for resolving conflicts. You can use an existing pre-commit hook to fix style (or just run ./build/sbt root/scalafmtAll) |
Sorry, something went wrong.
|
Thanks for the contribution, @architch ! |
Sorry, something went wrong.
|
@architch I want to notify you that after some discussions we made a decision to keep as the default the behavior before your PR: #632 To use min vertex label as component label you will need to explicitly modify the parameter. You can use the config spark.graphframes.useLabelsAsComponents (set it to true) or API (useLabelsAsComponents: bool in Python and setUseLabelsAsComponents(value: Boolean) in JVM). Sorry about it, but do a breaking change will require too much work from downstream projects. I think for users it won't be hard to set config or argument to true and have a behavior from your PR. |
Sorry, something went wrong.
|
This seems like a happy medium :) |
Sorry, something went wrong.
|
Thanks @SemyonSinchenko for the info. It makes sense to make it configurable. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
This PR changes the label to minimum of the vertex ID belonging to a component.
The assigned label of output of Connected Component is currently a random number which is not consistent. If some delta edges are added to the graph, the output label of unaffected components also changes.
Output of friends graph example:
