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 DEF19200BCA for ; Mon, 21 Nov 2016 16:33:59 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id DD9CC160AF9; Mon, 21 Nov 2016 15:33:59 +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 5AE3A160AEF for ; Mon, 21 Nov 2016 16:33:59 +0100 (CET) Received: (qmail 99320 invoked by uid 500); 21 Nov 2016 15:33:58 -0000 Mailing-List: contact issues-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flink.apache.org Delivered-To: mailing list issues@flink.apache.org Received: (qmail 99308 invoked by uid 99); 21 Nov 2016 15:33:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Nov 2016 15:33:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 5F5742C0088 for ; Mon, 21 Nov 2016 15:33:58 +0000 (UTC) Date: Mon, 21 Nov 2016 15:33:58 +0000 (UTC) From: "Yassine Marzougui (JIRA)" To: issues@flink.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FLINK-3869) WindowedStream.apply with FoldFunction is too restrictive MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 21 Nov 2016 15:34:00 -0000 [ https://issues.apache.org/jira/browse/FLINK-3869?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15683873#comment-15683873 ] Yassine Marzougui commented on FLINK-3869: ------------------------------------------ [~aljoscha] Yes, I could fix the Scala API en the end too. > WindowedStream.apply with FoldFunction is too restrictive > --------------------------------------------------------- > > Key: FLINK-3869 > URL: https://issues.apache.org/jira/browse/FLINK-3869 > Project: Flink > Issue Type: Improvement > Components: Streaming > Reporter: Aljoscha Krettek > Assignee: Yassine Marzougui > > Right now we have this signature: > {code} > public SingleOutputStreamOperator apply(R initialValue, FoldFunction foldFunction, WindowFunction function) { > {code} > but we should have this signature to allow users to return a type other than the fold accumulator type from their window function: > {code} > public SingleOutputStreamOperator apply(ACC initialValue, FoldFunction foldFunction, WindowFunction function) { > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)