ResultStage is the final stage in a job that applies a function on one or many partitions of the target RDD to compute the result of an action.
The partitions are given as a collection of partition ids (
partitions) and the function
func: (TaskContext, Iterator[_]) ⇒ _.
|findMissingPartitions is part of the Stage abstraction.|
In the above figure, partitions 1 and 2 are not finished (
F is false while
T is true).