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 44066189CC for ; Sat, 23 May 2015 21:11:02 +0000 (UTC) Received: (qmail 14873 invoked by uid 500); 23 May 2015 21:11:02 -0000 Delivered-To: apmail-flink-user-archive@flink.apache.org Received: (qmail 14802 invoked by uid 500); 23 May 2015 21:11:02 -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 14792 invoked by uid 99); 23 May 2015 21:11:02 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 23 May 2015 21:11:02 +0000 Received: from mail-la0-f48.google.com (mail-la0-f48.google.com [209.85.215.48]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id AB1D41A0492 for ; Sat, 23 May 2015 21:11:01 +0000 (UTC) Received: by laat2 with SMTP id t2so31362947laa.1 for ; Sat, 23 May 2015 14:11:00 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.112.139.198 with SMTP id ra6mr11857149lbb.15.1432415460085; Sat, 23 May 2015 14:11:00 -0700 (PDT) Received: by 10.152.164.227 with HTTP; Sat, 23 May 2015 14:10:59 -0700 (PDT) In-Reply-To: References: Date: Sat, 23 May 2015 23:10:59 +0200 Message-ID: Subject: Re: bug? open() not getting called with RichWindowMapFunction From: =?UTF-8?Q?Gyula_F=C3=B3ra?= To: user@flink.apache.org Content-Type: multipart/alternative; boundary=001a11c3474eab58270516c6364e --001a11c3474eab58270516c6364e Content-Type: text/plain; charset=UTF-8 Hi, This was a known issue and has been fixed already on the current master. Gyula On Sat, May 23, 2015 at 10:26 PM, Emmanuel wrote: > > extending AbstractRichFunction gives access to the open function which is > called at init if I understand correctly. > > That works fine with RichMapFunction, but with RichWindowMapFunction which > also extends AbstractRichFunction the *open* function never seems to get > called. > > I also tried extending AbstractRichFunction and implementing > AbstractRichFunction but that does not help with this.. so it seems like > the open function is just never called when setting up a mapWindow > transform. > > I'm using 0.9-milestone1 > > Is this a bug? > Thanks > > --001a11c3474eab58270516c6364e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

This was a known issue and ha= s been fixed already on the current master.

Gyula
<= /div>

On Sat, May = 23, 2015 at 10:26 PM, Emmanuel <eleroy@msn.com> wrote:

ex= tending=C2=A0AbstractRichFunction=C2=A0gives access to the open function which is called at init = if I understand correctly.
=
That works fine with=C2=A0RichMapFunction, but with=C2=A0RichWindowMapFunction=C2=A0which = also extends=C2=A0AbstractRichFunction<= span style=3D"font-size:12pt">=C2=A0the=C2=A0open=C2=A0function never seems to ge= t called.

=
I also tried extending=C2=A0AbstractRichFunction=C2=A0and implementing=C2=A0AbstractRichFunct= ion=C2=A0but that does not help with = this.. so it seems like the open function is just never called when setting= up a mapWindow transform.
=
I'm using 0.9-mile= stone1

Is this a bug?
Thanks
=C2=A0=C2=A0=C2=A0

--001a11c3474eab58270516c6364e--