Return-Path: X-Original-To: apmail-flink-user-archive@minotaur.apache.org Delivered-To: apmail-flink-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 76F9018CE3 for ; Fri, 21 Aug 2015 12:51:29 +0000 (UTC) Received: (qmail 29755 invoked by uid 500); 21 Aug 2015 12:51:24 -0000 Delivered-To: apmail-flink-user-archive@flink.apache.org Received: (qmail 29678 invoked by uid 500); 21 Aug 2015 12:51:24 -0000 Mailing-List: contact user-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@flink.apache.org Delivered-To: mailing list user@flink.apache.org Received: (qmail 29668 invoked by uid 99); 21 Aug 2015 12:51:24 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Aug 2015 12:51:24 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id E05D51AA939 for ; Fri, 21 Aug 2015 12:51:23 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.006 X-Spam-Level: X-Spam-Status: No, score=-0.006 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.006] autolearn=disabled Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id UOAAL4grlKfK for ; Fri, 21 Aug 2015 12:51:19 +0000 (UTC) Received: from smail.rz.tu-ilmenau.de (smail.rz.tu-ilmenau.de [141.24.4.149]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 962A320634 for ; Fri, 21 Aug 2015 12:51:19 +0000 (UTC) Received: from [192.168.110.159] (wl-r1-3.rz.tu-ilmenau.de [141.24.11.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smail.rz.tu-ilmenau.de (Postfix) with ESMTPSA id 1C9A95EFAA for ; Fri, 21 Aug 2015 14:51:12 +0200 (CEST) Message-ID: <55D71EBF.4080006@tu-ilmenau.de> Date: Fri, 21 Aug 2015 14:51:11 +0200 From: Philipp Goetze User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0 MIME-Version: 1.0 To: user@flink.apache.org Subject: Custom Aggregate - Example Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hello community, how do I define a custom aggregate function in Flink Streaming (Scala)? Could you please provide an example on how to do that? Thank you and best regards, Philipp