You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2019/05/21 04:23:19 UTC
[jira] [Updated] (SPARK-9744) Add RDD method to map with lag and
lead
[ https://issues.apache.org/jira/browse/SPARK-9744?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hyukjin Kwon updated SPARK-9744:
--------------------------------
Labels: bulk-closed (was: )
> Add RDD method to map with lag and lead
> ---------------------------------------
>
> Key: SPARK-9744
> URL: https://issues.apache.org/jira/browse/SPARK-9744
> Project: Spark
> Issue Type: Wish
> Components: Spark Core
> Reporter: Jerry Z
> Priority: Minor
> Labels: bulk-closed
>
> To avoid zipping with index and doing numerous mapping and joins, having a single method call to map with an additional two parameters (1: list of offsets [(-) for lag, 0 for current and (+) for lead])) and (2:default value). The other difference to the map function takes an argument of List<T> and not just T.
--
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