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

Apache Spark commented on SPARK-34257:
--------------------------------------

User 'beliefer' has created a pull request for this issue:
https://github.com/apache/spark/pull/31356

> Improve performance for last_value over unbounded window frame
> --------------------------------------------------------------
>
>                 Key: SPARK-34257
>                 URL: https://issues.apache.org/jira/browse/SPARK-34257
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 3.2.0
>            Reporter: jiaan.geng
>            Priority: Major
>
> The current implement of `last_value` will execute `updateExpressions` 
> multiple times.
> In fact, `last_value` only execute `updateExpressions` once on the last row.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to