You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Thomas Han (JIRA)" <ji...@apache.org> on 2017/11/14 04:05:00 UTC
[jira] [Commented] (SPARK-10496) Efficient DataFrame cumulative sum
[ https://issues.apache.org/jira/browse/SPARK-10496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16250802#comment-16250802 ]
Thomas Han commented on SPARK-10496:
------------------------------------
Any updates on this?
> Efficient DataFrame cumulative sum
> ----------------------------------
>
> Key: SPARK-10496
> URL: https://issues.apache.org/jira/browse/SPARK-10496
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Reporter: Joseph K. Bradley
> Priority: Minor
>
> Goal: Given a DataFrame with a numeric column X, create a new column Y which is the cumulative sum of X.
> This can be done with window functions, but it is not efficient for a large number of rows. It could be done more efficiently using a prefix sum/scan.
--
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