Github user ankurdave commented on a diff in the pull request:
https://github.com/apache/spark/pull/3303#discussion_r20420408
--- Diff:
graphx/src/main/scala/org/apache/spark/graphx/impl/EdgeRDDImpl.scala ---
@@ -75,20 +75,20 @@ class EdgeRDDImpl[ED: ClassTag, VD: ClassTag]
private[graphx] (
partitionsRDD.map(_._2.size.toLong).reduce(_ + _)
}
- override def mapValues[ED2: ClassTag](f: Edge[ED] => ED2): EdgeRDD[ED2,
VD] =
+ override def mapValues[ED2: ClassTag](f: Edge[ED] => ED2):
EdgeRDDImpl[ED2, VD] =
mapEdgePartitions((pid, part) => part.map(f))
- override def reverse: EdgeRDD[ED, VD] = mapEdgePartitions((pid, part) =>
part.reverse)
+ override def reverse: EdgeRDDImpl[ED, VD] = mapEdgePartitions((pid,
part) => part.reverse)
- override def filter(
+ def filter(
--- End diff --
We had to remove `filter` from EdgeRDD and move it exclusively to
EdgeRDDImpl because it depends on vertex attribute caching.
---
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]