spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Reynold Xin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-2911) provide rdd.parent[T](j) to obtain jth parent of rdd
Date Fri, 08 Aug 2014 19:21:11 GMT

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

Reynold Xin commented on SPARK-2911:
------------------------------------

We can do it as part of this ticket.
 

> provide rdd.parent[T](j) to obtain jth parent of rdd
> ----------------------------------------------------
>
>                 Key: SPARK-2911
>                 URL: https://issues.apache.org/jira/browse/SPARK-2911
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core
>            Reporter: Erik Erlandson
>            Priority: Minor
>              Labels: easyfix, easytest
>
> 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]]



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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


Mime
View raw message