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

    https://github.com/apache/spark/pull/21758#discussion_r205249547
  
    --- Diff: core/src/main/scala/org/apache/spark/rdd/MapPartitionsRDD.scala 
---
    @@ -27,7 +27,8 @@ import org.apache.spark.{Partition, TaskContext}
     private[spark] class MapPartitionsRDD[U: ClassTag, T: ClassTag](
         var prev: RDD[T],
         f: (TaskContext, Int, Iterator[T]) => Iterator[U],  // (TaskContext, 
partition index, iterator)
    -    preservesPartitioning: Boolean = false)
    +    preservesPartitioning: Boolean = false,
    +    isFromBarrier: Boolean = false)
    --- End diff --
    
    we should explain what this flag does in classdoc


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to