Github user ankurdave commented on a diff in the pull request:
https://github.com/apache/spark/pull/5175#discussion_r27092877
--- Diff: graphx/src/main/scala/org/apache/spark/graphx/VertexRDD.scala ---
@@ -122,6 +122,14 @@ abstract class VertexRDD[VD](
def mapValues[VD2: ClassTag](f: (VertexId, VD) => VD2): VertexRDD[VD2]
/**
+ * For each VertexId present in both `this` and `other`, minus will act
as a set difference
+ * operation returning only those unique VertexId's present in `this`.
+ *
+ * @param other an RDD to run the set operation against
+ */
+ def minus(other: RDD[(VertexId, VD)]): VertexRDD[VD]
--- End diff --
It would be good to add a version that takes a VertexRDD, similar to the
other methods below. That way we could avoid calling createUsingIndex when we
already have two VertexRDDs that share the same index.
---
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]