You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Liang-Chi Hsieh (JIRA)" <ji...@apache.org> on 2019/04/04 10:40:00 UTC

[jira] [Commented] (SPARK-27385) use mapPartitionsWIthIndex in Dataframe

    [ https://issues.apache.org/jira/browse/SPARK-27385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16809706#comment-16809706 ] 

Liang-Chi Hsieh commented on SPARK-27385:
-----------------------------------------

I don't really see {dataframe.rdd.mapPartitionsWithIndex}} gives any significant advantage over {{dataframe.mapPartitionsWithIndex}}, if you just want to do {{mapPartitionsWithIndex}} on the underlying rdd.

> use mapPartitionsWIthIndex in Dataframe
> ---------------------------------------
>
>                 Key: SPARK-27385
>                 URL: https://issues.apache.org/jira/browse/SPARK-27385
>             Project: Spark
>          Issue Type: New Feature
>          Components: SQL
>    Affects Versions: 1.6.0, 1.6.1, 1.6.2, 1.6.3
>            Reporter: 范晓亮
>            Priority: Minor
>              Labels: DataFrame, mapPartitionsWithIndex
>
> As there is no mapPartitionsWithIndex in Dataframe ,if I want to use mapPartitionsWithIndex, I have to use dataframe.rdd.mapPartitionsWithIndex instade. What I want to do is to use mapPartitionsWithIndex directly in Dataframe. So, I want to add mapPartitionsWithIndex in Dataframe, that's all.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org