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

    https://github.com/apache/spark/pull/497#discussion_r12454050
  
    --- Diff: 
graphx/src/main/scala/org/apache/spark/graphx/impl/EdgePartition.scala ---
    @@ -100,7 +147,23 @@ class EdgePartition[@specialized(Char, Int, Boolean, 
Byte, Long, Float, Double)
           i += 1
         }
         assert(newData.size == i)
    -    new EdgePartition(srcIds, dstIds, newData, index)
    +    this.withData(newData)
    +  }
    +
    +  /**
    +   * Construct a new edge partition containing only the edges matching 
`epred` and where both
    +   * vertices match `vpred`.
    --- End diff --
    
    Assumes the EdgePartition is upgraded to full triplets


---
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.
---

Reply via email to