You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2022/03/25 09:34:00 UTC
[jira] [Commented] (SPARK-38655) UnboundedPrecedingOffsetWindowFunctionFrame cannot find the offset row whose input is not null
[ https://issues.apache.org/jira/browse/SPARK-38655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17512276#comment-17512276 ]
Apache Spark commented on SPARK-38655:
--------------------------------------
User 'beliefer' has created a pull request for this issue:
https://github.com/apache/spark/pull/35971
> UnboundedPrecedingOffsetWindowFunctionFrame cannot find the offset row whose input is not null
> ----------------------------------------------------------------------------------------------
>
> Key: SPARK-38655
> URL: https://issues.apache.org/jira/browse/SPARK-38655
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Affects Versions: 3.3.0
> Reporter: jiaan.geng
> Priority: Major
>
> select x, nth_value(x, 5) IGNORE NULLS over (order by x rows between unbounded preceding and current row)
> from (select explode(sequence(1, 3)) x)
> returns
> null
> null
> 3
> But it should returns
> null
> null
> null
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org