[
https://issues.apache.org/jira/browse/SPARK-2911?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Josh Rosen resolved SPARK-2911.
-------------------------------
Resolution: Fixed
Fix Version/s: 1.2.0
Assignee: Erik Erlandson
Marking as 'fixed' in 1.2.0 since these pull requests were merged into master
but not into branch-1.1.
> 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
> Assignee: Erik Erlandson
> Priority: Minor
> Labels: easyfix, easytest
> Fix For: 1.2.0
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]