Skip to content

MapPartitionsWithEvaluatorRDD

MapPartitionsWithEvaluatorRDD is an RDD.

Creating Instance

MapPartitionsWithEvaluatorRDD takes the following to be created:

MapPartitionsWithEvaluatorRDD is created when:

Computing Partition

RDD
compute(
  split: Partition,
  context: TaskContext): Iterator[U]

compute is part of the RDD abstraction.

compute requests the PartitionEvaluatorFactory to create a PartitionEvaluator.

compute requests the first parent RDD to iterator.

In the end, compute requests the PartitionEvaluator to evaluate the partition.