Return-Path: X-Original-To: apmail-apex-dev-archive@minotaur.apache.org Delivered-To: apmail-apex-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 898E31867D for ; Thu, 3 Mar 2016 16:47:00 +0000 (UTC) Received: (qmail 72091 invoked by uid 500); 3 Mar 2016 16:47:00 -0000 Delivered-To: apmail-apex-dev-archive@apex.apache.org Received: (qmail 72037 invoked by uid 500); 3 Mar 2016 16:47:00 -0000 Mailing-List: contact dev-help@apex.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@apex.incubator.apache.org Delivered-To: mailing list dev@apex.incubator.apache.org Received: (qmail 72005 invoked by uid 99); 3 Mar 2016 16:46:59 -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, 03 Mar 2016 16:46:59 +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 4430FC257B for ; Thu, 3 Mar 2016 16:46:59 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.279 X-Spam-Level: * X-Spam-Status: No, score=1.279 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=datatorrent-com.20150623.gappssmtp.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 xt1o3txWMb6t for ; Thu, 3 Mar 2016 16:46:57 +0000 (UTC) Received: from mail-oi0-f50.google.com (mail-oi0-f50.google.com [209.85.218.50]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 04CB25F571 for ; Thu, 3 Mar 2016 16:46:56 +0000 (UTC) Received: by mail-oi0-f50.google.com with SMTP id d205so19184581oia.0 for ; Thu, 03 Mar 2016 08:46:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=datatorrent-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=NreWGit6Zuzs3FAOchX1I9kmHxH/PeiPd1H88LgEjqQ=; b=0FKZ5Mni7bINW4OKehMo36Vlw+hnUHlDyWtComFJPNk/SrM51KhtDkgXtnDRzmRi0F Bn0MXm2fzWYYGS3HOJrAZn2I3e3XUx+3OOIgN1GJ/JZyDOODfE3nEXdCMxGa80SrjFh0 FmEKS8rlUhXU5S+3XL4TbXi/LqBZN2Mun+uOcIOvzBzDBQ6ioDf+VBQqPXo+ZW8i45Gu bCC3Fi08xeLzxZlKPD7mNYO5uLg508RvLOk6KZ6aM+bNy5F34O1jTOue1tQy6XKBZSXH VJ/qS+4QhmvF5iSZpnSVK0axnKeeGOvwlJeZXdIhD1+O4DCg0nPAc2nQLtRyobsiEuJz Yisw== 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:date :message-id:subject:from:to; bh=NreWGit6Zuzs3FAOchX1I9kmHxH/PeiPd1H88LgEjqQ=; b=ZMZUtU9BGeoWAj7sdVw9MlMrFOhWY6rd0ELNyXx0nrlbt3uS3VGRt0ew4I5vdYE4GX KtblP5UgCm9foyG1Qpex+Ra+7j/je641YgqrgC4fNEuseUjlBKQAKFqYdGvDsHmgivPN xZtTSB+NntRCitMedZ7hNDFBE4DDZzY5IQY7F2otRaBxC93+L+UJu0IgoHV11hHWdWjX RaA2/udZR7guZF6oPmG6jr78bDFToPEqKNrdJnZqj7QZnr6L7Fh8sHdaITUFOfksniFC mLMsEtXbYoErbbL56MEMEgSVaubN4ccJq0xXpak1ujKdnmqiQEKVJA5k5Fvtvd7s93eO h/+A== X-Gm-Message-State: AD7BkJKH0GlgVsuHIX6j4+qniyKx+ItciN/x4igtH90SrlIOoWqYoTLzj+jKndnjTTBbFv07gYmneHolqLtExbDB MIME-Version: 1.0 X-Received: by 10.202.51.195 with SMTP id z186mr2155843oiz.12.1457023615682; Thu, 03 Mar 2016 08:46:55 -0800 (PST) Received: by 10.202.75.9 with HTTP; Thu, 3 Mar 2016 08:46:55 -0800 (PST) In-Reply-To: References: Date: Thu, 3 Mar 2016 08:46:55 -0800 Message-ID: Subject: Re: nomenclature change for APPLICATION_WINDOW_COUNT From: Thomas Weise To: dev@apex.incubator.apache.org Content-Type: multipart/alternative; boundary=001a113ce5680b458a052d27bf45 --001a113ce5680b458a052d27bf45 Content-Type: text/plain; charset=UTF-8 Yogi, This is a good suggestion. We should change it in the next major release. Perhaps we can open a JIRA that we can use to list this and similar items so they are not forgotten. With respect to windowing in general we should look into expanding from the current processing time based approach. We support event time in several operators. We can look at Beam and Flink to broaden this. Thomas On Thu, Mar 3, 2016 at 4:32 AM, Yogi Devendra wrote: > Hi, > > I studied source code, docs related to windowing for my presentation on > "Windowing in Apex". > > After going through the phase of learning, teaching apex windowing concepts > to others; I realized that attribute APPLICATION_WINDOW_COUNT from > OperatorContext should have better name. > > Because: > 1. From the name it looks like a attribute of the APPLICATION; but actually > it is an Operator attribute. > 2. It is very confusing to say that APPLICATION_WINDOW_COUNT can be > different for different Operators within an Application. > > Can we have some better name for this attribute? > Any suggestions for the new name? > I propose following names: > 1. OPERATOR_WINDOW_COUNT > 2. OPERATOR_WINDOW_SPAN > > I understand that, introducing new name to the existing attribute might > break backward compatibility. But, we can deal with that by deprecating the > older name and keeping it alive till next major release. > > What is your opinion on this? > > ~ Yogi > --001a113ce5680b458a052d27bf45--