Return-Path: X-Original-To: apmail-spark-issues-archive@minotaur.apache.org Delivered-To: apmail-spark-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E634717DF0 for ; Tue, 8 Sep 2015 23:52:46 +0000 (UTC) Received: (qmail 98115 invoked by uid 500); 8 Sep 2015 23:52:46 -0000 Delivered-To: apmail-spark-issues-archive@spark.apache.org Received: (qmail 97948 invoked by uid 500); 8 Sep 2015 23:52:46 -0000 Mailing-List: contact issues-help@spark.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@spark.apache.org Received: (qmail 97811 invoked by uid 99); 8 Sep 2015 23:52:46 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Sep 2015 23:52:46 +0000 Date: Tue, 8 Sep 2015 23:52:45 +0000 (UTC) From: "Joseph K. Bradley (JIRA)" To: issues@spark.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (SPARK-10496) Efficient DataFrame cumulative sum MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Joseph K. Bradley created SPARK-10496: ----------------------------------------- Summary: 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.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org For additional commands, e-mail: issues-help@spark.apache.org