You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Xianyang Liu (Jira)" <ji...@apache.org> on 2019/10/17 09:27:00 UTC
[jira] [Created] (SPARK-29499) Add mapPartitionsWithIndex for
RDDBarrier
Xianyang Liu created SPARK-29499:
------------------------------------
Summary: Add mapPartitionsWithIndex for RDDBarrier
Key: SPARK-29499
URL: https://issues.apache.org/jira/browse/SPARK-29499
Project: Spark
Issue Type: Bug
Components: PySpark, Spark Core
Affects Versions: 2.4.4
Reporter: Xianyang Liu
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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org