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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.2.0
    • Spark Core

    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

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

            Dates

              Created:
              Updated:
              Resolved: