GitHub user insidedctm opened a pull request:
https://github.com/apache/spark/pull/11290
[SPARK-3650][GraphX] Triangle Count handles reverse edges incorrectly
## What changes were proposed in this pull request?
Reworking of @jegonzal PR #2495 to address the issue identified in
SPARK-3650. Code amended to use the convertToCanonicalEdges method.
## How was the this patch tested?
Patch was tested using the unit tests created in PR #2495
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/insidedctm/spark spark-3650
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/11290.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #11290
----
commit 428fa26880bb32f04d0799d2c227e52defb99428
Author: Robin East <[email protected]>
Date: 2015-09-14T21:09:26Z
Change bytes to bits in RoutingTablePartition.toMessage
commit cf66402fb77855711ffd17ddb3efa58c7d44296e
Author: Robin East <[email protected]>
Date: 2016-02-18T18:38:37Z
Merge remote-tracking branch 'upstream/master'
commit 96fcc0aae84450d6cc3edf046807048b2d8c2db1
Author: Joseph E. Gonzalez <[email protected]>
Date: 2014-09-22T21:57:28Z
Improving Triangle Count
commit 1edc09df8e32b6717aa300fe62636a9613bcbc27
Author: Joseph E. Gonzalez <[email protected]>
Date: 2014-09-22T22:16:46Z
fixing bug in unit tests where bi-directed edges lead to duplicate
triangles.
commit 47673cadc957eb35dbab01cdcbbe21382987e691
Author: Joseph E. Gonzalez <[email protected]>
Date: 2014-11-13T07:18:58Z
factored out code for canonicalization
commit c6cd74792d4f82e562d1c792d322f17b1877d4af
Author: Robin East <[email protected]>
Date: 2016-02-20T21:46:49Z
SPARK-3650 updates to PR 2495 to work with current master
commit c8ad0bd4ed998b86a465bc36ec59ddc5dcceef5e
Author: Robin East <[email protected]>
Date: 2016-02-21T11:27:10Z
revert unexpected changes to R/pkg/DESCRIPTION
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]