-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-15057][GRAPHX] Remove stale TODO comment for making enum in GraphGenerators
#12839
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
Conversation
|
Test build #57522 has finished for PR 12839 at commit
|
|
I disagree with this. Quadrants are conventionally referred to by number (really, 1-4 not 0-3, but hey) rather than a letter. This is a private API anyway. I don't think this is improved with an enum. |
|
Hi, @srowen . Thank you for review! Actually what I wanted to do was removing that long-lasting TODO comment. :) |
|
I personally favor trivially resolving this by removing the TODO. I don't recognize the ABCD notation for quadrants anyway. |
|
Oh, actually, the ABCD notation comes from the description of that function. |
|
That makes more sense, OK. It's not referring to the usual quadrant I - IV in the plane. I think that's still not the recommended way to make enums in Scala (?) and may simply not be worth changing now, IMHO. |
|
Sure. I just thought |
enum in GraphGenerators
|
Thank you for making decision for this PR, @srowen . |
|
Could you merge this PR, @srowen ? |
|
Test build #57547 has finished for PR 12839 at commit
|
|
OK, merged to master |
|
Thank you, @srowen . |
|
Since this is very low risk, I'm going to cherry-pick this in branch-2.0 too to minimize the diff. |
…GraphGenerators This PR removes a stale TODO comment in `GraphGenerators.scala` Just comment removed. Author: Dongjoon Hyun <dongjoon@apache.org> Closes #12839 from dongjoon-hyun/SPARK-15057. (cherry picked from commit 46965cd) Signed-off-by: Reynold Xin <rxin@databricks.com>
|
Thank you, @rxin . :) |
What changes were proposed in this pull request?
This PR removes a stale TODO comment in
GraphGenerators.scalaHow was this patch tested?
Just comment removed.