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

Add mapPartitionsWithIndex for RDDBarrier

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.4.4
    • 3.0.0
    • PySpark, Spark Core
    • None

    Description

      There is only one method in `RDDBarrier`. We often use the partition index as a label for the current partition. We need to get the index from `TaskContext`  index in the method of `mapPartitions` which is not convenient.

      Attachments

        Issue Links

          Activity

            People

              coneyliu Xianyang Liu
              coneyliu Xianyang Liu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: