You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Gaurav Shah (JIRA)" <ji...@apache.org> on 2017/08/18 15:11:01 UTC

[jira] [Commented] (SPARK-17423) Support IGNORE NULLS option in Window functions

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

Gaurav Shah commented on SPARK-17423:
-------------------------------------

is there a way to do second non-null value ? 
changing the window to 

{code:sql}
ROWS BETWEEN UNBOUNDED PRECEDING AND 2 PRECEDING
{code}

 would not help

> Support IGNORE NULLS option in Window functions
> -----------------------------------------------
>
>                 Key: SPARK-17423
>                 URL: https://issues.apache.org/jira/browse/SPARK-17423
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 2.0.0
>            Reporter: Tim Chan
>            Priority: Minor
>
> http://stackoverflow.com/questions/24338119/is-it-possible-to-ignore-null-values-when-using-lag-and-lead-functions-in-sq



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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