You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (Jira)" <ji...@apache.org> on 2020/01/22 21:54:01 UTC
[jira] [Commented] (SPARK-29499) Add mapPartitionsWithIndex for
RDDBarrier
[ https://issues.apache.org/jira/browse/SPARK-29499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17021555#comment-17021555 ]
Dongjoon Hyun commented on SPARK-29499:
---------------------------------------
Hi, [~jiangxb1987]. This is merged only `master`, right? I updated the `Fix Version`.
> 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
> Assignee: Xianyang Liu
> Priority: Major
> Fix For: 3.0.0
>
>
> 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