spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joseph K. Bradley (JIRA)" <>
Subject [jira] [Created] (SPARK-10496) Efficient DataFrame cumulative sum
Date Tue, 08 Sep 2015 23:52:45 GMT
Joseph K. Bradley created SPARK-10496:

             Summary: Efficient DataFrame cumulative sum
                 Key: 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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message