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 40E2C200C47 for ; Thu, 30 Mar 2017 11:46:47 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 3F555160B8B; Thu, 30 Mar 2017 09:46:47 +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 843DD160B78 for ; Thu, 30 Mar 2017 11:46:46 +0200 (CEST) Received: (qmail 59794 invoked by uid 500); 30 Mar 2017 09:46:45 -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 59785 invoked by uid 99); 30 Mar 2017 09:46:45 -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, 30 Mar 2017 09:46:45 +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 CF6DDCD301 for ; Thu, 30 Mar 2017 09:46:44 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled 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 EfxY8CdF005h for ; Thu, 30 Mar 2017 09:46:44 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id AA71E5FCB5 for ; Thu, 30 Mar 2017 09:46:43 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 99321E0BD2 for ; Thu, 30 Mar 2017 09:46:42 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id BE77024170 for ; Thu, 30 Mar 2017 09:46:41 +0000 (UTC) Date: Thu, 30 Mar 2017 09:46:41 +0000 (UTC) From: "sunjincheng (JIRA)" To: issues@flink.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (FLINK-6204) Update all OVER window ProcessFunction implementations to use the SortedQueueState MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 30 Mar 2017 09:46:47 -0000 [ https://issues.apache.org/jira/browse/FLINK-6204?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1594= 8717#comment-15948717 ]=20 sunjincheng edited comment on FLINK-6204 at 3/30/17 9:46 AM: ------------------------------------------------------------- Yes, That's My meaning. This JIRA. will do the second task `#2).Update all = OVER window ProcessFunction implementations to use the SortedQueueState` An= d I'll add a JIRA.[FLINK-6219|https://issues.apache.org/jira/browse/FLINK-6= 219] for `#1).Add SortedQueueState, which allows for efficient insertion, t= raversal in order, and removal from the head`.=20 Best, SunJincheng was (Author: sunjincheng121): Yes, That's My meaning. This JIRA. will do the second task `#2).Update all = OVER window ProcessFunction implementations to use the SortedQueueState` An= d I'll add a JIRA. for `#1).Add SortedQueueState, which allows for efficien= t insertion, traversal in order, and removal from the head`.=20 Best, SunJincheng > Update all OVER window ProcessFunction implementations to use the Sorted= QueueState > -------------------------------------------------------------------------= ---------- > > Key: FLINK-6204 > URL: https://issues.apache.org/jira/browse/FLINK-6204 > Project: Flink > Issue Type: Bug > Components: Table API & SQL > Reporter: sunjincheng > Assignee: sunjincheng > > Currently `event time OVER ROWS BETWEEN UNBOUNDED PRECEDING aggregation t= o SQL` implementation class: ` UnboundedEventTimeOverProcessFunction` use= data size uncontrollable memory data structures`sortedTimestamps: util.Lin= kedList [Long] cache data timestamps and sort timestamps. IMO,It's not a go= od way, because in the production environment there are millions of window = data pre millisecond in our application scenario.So, I want to remove `util= .LinkedList [Long] `. Welcome anyone to give me feedback. > What do you think? [~fhueske] and [~Yuhong_kyo] > When a SortedQueueState is available=EF=BC=8Cwe will Update all OVER wind= ow ProcessFunction implementations to use the SortedQueueState. -- This message was sent by Atlassian JIRA (v6.3.15#6346)