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

Jerry Z commented on SPARK-9744:
--------------------------------

What's PR short for??? I may have misunderstood things. Also if you have a 
moment...  mind letting me know if you can create a test data frame and 
successfully execute an sql query from the data frame with lag(COLUMN_NAME). 
Any advise on debugging those two culprits (being unable to use class 
reflection to create a data frame and why lag can't be recognised as a query 
statement)?

> 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
>
> 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
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to