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 ACBAC200BAA for ; Thu, 27 Oct 2016 09:59:20 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id AB585160AF6; Thu, 27 Oct 2016 07:59:20 +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 F24D9160AE4 for ; Thu, 27 Oct 2016 09:59:19 +0200 (CEST) Received: (qmail 74843 invoked by uid 500); 27 Oct 2016 07:59:19 -0000 Mailing-List: contact dev-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 dev@flink.apache.org Received: (qmail 74827 invoked by uid 99); 27 Oct 2016 07:59:18 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Oct 2016 07:59:18 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 51798C25F3 for ; Thu, 27 Oct 2016 07:59:18 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.679 X-Spam-Level: * X-Spam-Status: No, score=1.679 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id Rc4-Lbg9CWLm for ; Thu, 27 Oct 2016 07:59:15 +0000 (UTC) Received: from mail-lf0-f46.google.com (mail-lf0-f46.google.com [209.85.215.46]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 274045F39C for ; Thu, 27 Oct 2016 07:59:15 +0000 (UTC) Received: by mail-lf0-f46.google.com with SMTP id b81so23989552lfe.1 for ; Thu, 27 Oct 2016 00:59:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=bx2sKHLn1/LxRnauhB+I4K89xMFJONtNbDSRQKcLubc=; b=0NaBhVh4ebY9bQ9VVcIPhJUGmWYYwjqUD3hynP94AKz/3zTapRuavgSl6xCt0A8UJW siFLvQ/+PQVs7e+FcTuTciBnQIhXY/UvMbIQkZ3N5ECsZYx3ByzbPiqGNp2GHVF907X5 l3G+ob9IaX1q3NAz5cWb02tK0bN4hE2PME2NWtpqIqwhoDbUw3IubBChEAEgCT+b0LkH 0O40xQzrMID19q3yh8KQneIqeIXAp2ksxxfrD5cdhS8zcDJ7k41n5t/XSnOdk2/TzIQS 2os39JfC3+7/jVcmvah+9OMupdBXs4e7pIQN4HFX4Q0trE/YNN6WhY5nkdV9XXmrKx/R 3kIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=bx2sKHLn1/LxRnauhB+I4K89xMFJONtNbDSRQKcLubc=; b=l6fl720yxwkP4LctMCKUihi7x6u82enHD4jtDyVp0QyHv8yUzzmyEm4c8smzsTVYM0 wgPWlt5Hp2LP20/8dx1j0/ztVc9l4hZRYR72Y59DIrdaNkSk0j1z6cIXEX+30Zpniozx Jk5LWps+zKbE26WseuT6OrfgjJcwvJ2Vik+BwjTmsTo9vU1+xI5aYoXATzFpzadMohsV 0N+NC4ou1lKVhaF6GuvmPQl6DxXSUcthsljreJWMWHL+fjoTyd0BHEqYxwc1p32pV7T1 B+277zemGKjt2gUVckox6N39gG+9Yng0NZraSYOA33YrZth/fmZqnTBMb6lFSvCYNXut kdqA== X-Gm-Message-State: ABUngveZsZbKiqn4PHGwHSVLpXYddJqRLvSSzi+Z7HVQNKc7suF6lBKWnR9BjKiZVJdnKvvuGFZHtCY5JFr+qA== X-Received: by 10.25.215.34 with SMTP id o34mr4735311lfg.35.1477555151710; Thu, 27 Oct 2016 00:59:11 -0700 (PDT) MIME-Version: 1.0 Received: by 10.25.133.7 with HTTP; Thu, 27 Oct 2016 00:58:41 -0700 (PDT) In-Reply-To: References: From: Fabian Hueske Date: Thu, 27 Oct 2016 09:58:41 +0200 Message-ID: Subject: Re: [Discuss] FLIP-13 Side Outputs in Flink To: "dev@flink.apache.org" Content-Type: multipart/alternative; boundary=001a1140e5fef42e5b053fd41dfe archived-at: Thu, 27 Oct 2016 07:59:20 -0000 --001a1140e5fef42e5b053fd41dfe Content-Type: text/plain; charset=UTF-8 Hi CPC, I agree, support for side outputs would be nice for DataSet as well. However, this is not easily possible because it would require an extensive rewrite of the DataSet optimizer. IMO, that's out of scope for this proposal. Cheers, Fabian 2016-10-27 0:29 GMT+02:00 CPC : > Is it just related to stream api? This feature could be really useful for > etl scenarios with dataset api as well. > > On Oct 26, 2016 22:29, "Fabian Hueske" wrote: > > > Hi Chen, > > > > thanks for this interesting proposal. I think side output would be a very > > valuable feature to have! > > > > I went of the FLIP and have a few questions. > > > > - Will multiple side outputs of the same type be supported? > > - If I got it right, the FLIP proposes to change the signatures of many > > user-defined functions (FlatMapFunction, WindowFunction, ...). Most of > > these interfaces/classes are annotated with @Public, which means we > cannot > > change them in the Flink 1.x release line. What would be alternatives? I > > can think of a) casting the Collector into a RichCollector (as you do in > > your prototype) or b) retrieve the RichCollector from the RuntimeContext > > that a RichFunction provides. > > > > I'm not so familiar with the internals of the DataStream API, so I leave > > comments on that to other. > > > > Best, Fabian > > > > 2016-10-25 18:00 GMT+02:00 Chen Qin : > > > > > Hey folks, > > > > > > Please give feedback on FLIP-13! > > > https://cwiki.apache.org/confluence/display/FLINK/FLIP- > > > 13+Side+Outputs+in+Flink > > > JIRA task link to google doc > > > https://issues.apache.org/jira/browse/FLINK-4460 > > > > > > Thanks, > > > Chen Qin > > > > > > --001a1140e5fef42e5b053fd41dfe--