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

    https://github.com/apache/spark/pull/497#discussion_r12454278
  
    --- Diff: 
graphx/src/main/scala/org/apache/spark/graphx/impl/EdgePartition.scala ---
    @@ -212,9 +275,34 @@ class EdgePartition[@specialized(Char, Int, Boolean, 
Byte, Long, Float, Double)
       }
     
       /**
    +   * Get an iterator over the edge triplets in this partition.
    +   *
    +   * It is safe to keep references to the objects from this iterator.
    +   */
    +  def tripletIterator(
    +      includeSrc: Boolean = true, includeDst: Boolean = true): 
Iterator[EdgeTriplet[VD, ED]] = {
    --- End diff --
    
    Consider making EdgePartition know its own includeSrc and includeDst, then 
assert equality here


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