Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-2911

provide rdd.parent[T](j) to obtain jth parent of rdd

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2.0
    • Component/s: Spark Core
    • Labels:

      Description

      For writing RDD subclasses that involve more than a single parent dependency, it would be convenient (and more readable) to say:

      rdd.parent[T](j)

      instead of:

      rdd.dependencies(j).rdd.asInstanceOf[RDD[T]]

        Attachments

          Activity

            People

            • Assignee:
              eje Erik Erlandson
              Reporter:
              eje Erik Erlandson
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: