Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id CD00B200C2F for ; Mon, 6 Mar 2017 15:19:36 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id CB9AF160B84; Mon, 6 Mar 2017 14:19:36 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 1EC87160B73 for ; Mon, 6 Mar 2017 15:19:35 +0100 (CET) Received: (qmail 71914 invoked by uid 500); 6 Mar 2017 14:19:35 -0000 Mailing-List: contact dev-help@gearpump.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@gearpump.incubator.apache.org Delivered-To: mailing list dev@gearpump.incubator.apache.org Received: (qmail 71901 invoked by uid 99); 6 Mar 2017 14:19:35 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Mar 2017 14:19:35 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id E894DC0FDB for ; Mon, 6 Mar 2017 14:19:34 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -2.347 X-Spam-Level: X-Spam-Status: No, score=-2.347 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-2.999, SPF_NEUTRAL=0.652] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 8v_0aOgU3jrT for ; Mon, 6 Mar 2017 14:19:34 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 1505E5F4AA for ; Mon, 6 Mar 2017 14:19:34 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 35726E04E7 for ; Mon, 6 Mar 2017 14:19:33 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id E83322416C for ; Mon, 6 Mar 2017 14:19:32 +0000 (UTC) Date: Mon, 6 Mar 2017 14:19:32 +0000 (UTC) From: "Manu Zhang (JIRA)" To: dev@gearpump.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (GEARPUMP-289) Add FoldFunction MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 06 Mar 2017 14:19:37 -0000 [ https://issues.apache.org/jira/browse/GEARPUMP-289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Manu Zhang resolved GEARPUMP-289. --------------------------------- Resolution: Fixed Fix Version/s: 0.8.3 Issue resolved by pull request 167 [https://github.com/apache/incubator-gearpump/pull/167] > Add FoldFunction > ---------------- > > Key: GEARPUMP-289 > URL: https://issues.apache.org/jira/browse/GEARPUMP-289 > Project: Apache Gearpump > Issue Type: Sub-task > Components: streaming > Affects Versions: 0.8.2 > Reporter: Manu Zhang > Assignee: Manu Zhang > Fix For: 0.8.3 > > > {{FoldFunction}} is a more general case of the existing {{ReduceFunction}}. It allows users to combine input values and put it into an accumulator (e.g. {{Collection}}). Without it, we have to firstly map an element to a collection and reduce over all collections, which is verbose and inefficient. -- This message was sent by Atlassian JIRA (v6.3.15#6346)