Github user pwendell commented on a diff in the pull request:

    https://github.com/apache/spark/pull/448#discussion_r12346614
  
    --- Diff: graphx/src/main/scala/org/apache/spark/graphx/EdgeRDD.scala ---
    @@ -51,18 +51,12 @@ class EdgeRDD[@specialized ED: ClassTag](
     
       override def collect(): Array[Edge[ED]] = this.map(_.copy()).collect()
     
    -  override def persist(newLevel: StorageLevel): EdgeRDD[ED] = {
    +  override def persist(newLevel: StorageLevel): this.type = {
         partitionsRDD.persist(newLevel)
         this
       }
     
    -  /** Persist this RDD with the default storage level (`MEMORY_ONLY`). */
    -  override def persist(): EdgeRDD[ED] = persist(StorageLevel.MEMORY_ONLY)
    -
    -  /** Persist this RDD with the default storage level (`MEMORY_ONLY`). */
    -  override def cache(): EdgeRDD[ED] = persist()
    --- End diff --
    
    @mridulm It's not necessary to overload these anymore.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to