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 E732C200CAE for ; Wed, 21 Jun 2017 16:33:20 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id E5C8C160BE2; Wed, 21 Jun 2017 14:33: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 1156B160BD0 for ; Wed, 21 Jun 2017 16:33:19 +0200 (CEST) Received: (qmail 11583 invoked by uid 500); 21 Jun 2017 14:33: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 11571 invoked by uid 99); 21 Jun 2017 14:33:18 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Jun 2017 14:33:18 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 718AFC059A for ; Wed, 21 Jun 2017 14:33:18 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.379 X-Spam-Level: ** X-Spam-Status: No, score=2.379 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, KAM_NUMSUBJECT=0.5, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-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 (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 1NKDGzYA34Bq for ; Wed, 21 Jun 2017 14:33:16 +0000 (UTC) Received: from mail-ua0-f170.google.com (mail-ua0-f170.google.com [209.85.217.170]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id F07C95F2A8 for ; Wed, 21 Jun 2017 14:33:15 +0000 (UTC) Received: by mail-ua0-f170.google.com with SMTP id z22so19106068uah.1 for ; Wed, 21 Jun 2017 07:33:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=dY0XUNgHzASnIMVElwutII+UyfJLhRCnUczDPlROdDk=; b=bZpb/2P8LOMAcMI3CiN1TzKKHoCiB0O+t1zqamdJyQdhauVWA4YG/Zxd0WK6ejZLP3 E/ePCiWQWMXCflEHzetAGyba05XYj5GrB63W1KSin3t1YcIi6o2Sflyz4o2v2+clAngz 3kR84YauaD0CjxqKKpagGeJ/jX7EaZbxK1aG0LQqHhXS5CcbhcDXest7oyPO8bCw13CN zp6pUZp3W78tBlYRzoTmkyZL19NNx5ZtH44fidfEjJitybOLKWc43x35I6Qb99euaW1/ kY/uVaiMp5VgB2eW0OnGhAduAn1dWwIqbbN4XY2yjL93GWvnxmDt53owMvNA1TPlwt+r 533Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=dY0XUNgHzASnIMVElwutII+UyfJLhRCnUczDPlROdDk=; b=fcvuiztBCqhgPE7Rmq2r+vE8vZygSaRH4nwvA3tskVzvjdOT2HOX3HN01SVQn8CHb4 IWawDTmsiFYzaWQVCCExnu/4tuDPLORntgr/Vy75V4m8N/BI7Tk6x6iQO5KLsHYPdY8d hG+ilKyLCPaAKINPOXt53t8sOfG/2ZTWTvbP6dM/Yn0yC2LDdkI4Q3HJD7z+fIVm5BV/ 2mecYcXcGKokZtoMDDlorDFTWO8VC/bDqTS6moYmrqe0HZtljEWtW3D5ZiiI2I9GzFmR q/M+gSBrowIjtiGFO23i9mhUvLA9Xo2Rv0Jio3zm++E8FBEK2RmLWGpicTU41+WbIAuq zELg== X-Gm-Message-State: AKS2vOz0XCm0HYpoZMTkDP+lVENM7w5uO2atZK2PLNJ6Bj6Grd88dFlm 0flSq6jGdc29mm+h1w2Wze6H6NFNfw== X-Received: by 10.176.65.98 with SMTP id j89mr3145021uad.149.1498055589647; Wed, 21 Jun 2017 07:33:09 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Haohui Mai Date: Wed, 21 Jun 2017 14:32:59 +0000 Message-ID: Subject: Re: [DISCUSS] Table API / SQL features for Flink 1.4.0 To: dev@flink.apache.org Content-Type: multipart/alternative; boundary="94eb2c0b77aa468b2c0552793f5e" archived-at: Wed, 21 Jun 2017 14:33:21 -0000 --94eb2c0b77aa468b2c0552793f5e Content-Type: text/plain; charset="UTF-8" Hi, We are interested in building the simplest case of stream-table joins -- essentially calling stream.map(x => (x, table.get(x)). It solves the use cases of augmenting the streams with the information of the database. The operation itself can be batched for better performance. We are happy to contribute to the the scalar functions as well as we internally also share similar requirements. Fabian mentioned that the development of Table / SQL API was bottlenecked by committers, which shows that there are thriving developments happening in the space. I think it is a good problem to have. :-) I wonder, is it a good time to nominate new batches of committers and to keep the momentum of developments? Regards, Haohui On Fri, Jun 16, 2017 at 7:28 AM jincheng sun wrote: > Hi Fabian, > Thanks for bring up this discuss. > In order to enrich Flink's built-in scalar function, friendly user > experience, I recommend adding as much scalar functions as possible in > version 1.4 release. I have filed the JIRAs( > https://issues.apache.org/jira/browse/FLINK-6810), and try my best to work > on them. > > Of course, welcome anybody to add sub-tasks or take the JIRAs. > > Cheers, > SunJincheng > > 2017-06-16 16:07 GMT+08:00 Fabian Hueske : > > > Thanks for your response Shaoxuan, > > > > My "Table-table join with retraction" is probably the same as your > > "unbounded stream-stream join with retraction". > > Basically, a join between two dynamic tables with unique keys (either > > because of an upsert stream->table conversion or an unbounded > aggregation). > > > > Best, Fabian > > > > 2017-06-16 0:56 GMT+02:00 Shaoxuan Wang : > > > > > Nice timing, Fabian! > > > > > > Your checklist aligns our plans very well. Here are the things we are > > > working on & planning to contribute to release 1.4: > > > 1. DDL (with property waterMark config for source-table, and emit > config > > on > > > result-table) > > > 2. unbounded stream-stream joins (with retraction supported) > > > 3. backend state user interface for UDAGG > > > 4. UDOP (as oppose to UDF(scalars to scalar)/UDTF(scalar to > > > table)/UDAGG(table to scalar), this allows user to define a table to > > table > > > conversion business logic) > > > > > > Some of them already have PR/jira, while some are not. We will send out > > the > > > design doc for the missing ones very soon. Looking forward to the 1.4 > > > release. > > > > > > Btw, what is "Table-Table (with retraction)" you have mentioned in your > > > plan? > > > > > > Regards, > > > Shaoxuan > > > > > > > > > > > > On Thu, Jun 15, 2017 at 10:29 PM, Fabian Hueske > > wrote: > > > > > > > Hi everybody, > > > > > > > > I would like to start a discussion about the targeted feature set of > > the > > > > Table API / SQL for Flink 1.4.0. > > > > Flink 1.3.0 was released about 2 weeks ago and we have 2.5 months > (~11 > > > > weeks, until begin of September) left until the feature freeze for > > Flink > > > > 1.4.0. > > > > > > > > I think it makes sense to start with a collection of desired > features. > > > Once > > > > we have a list of requested features, we might want to prioritize and > > > maybe > > > > also assign responsibilities. > > > > > > > > When we prioritize, we should keep in mind that: > > > > - we want to have a consistent API. Larger features should be > developed > > > in > > > > a feature branch first. > > > > - the next months are typical time for vacations > > > > - we have been bottlenecked by committer resources in the last > release. > > > > > > > > I think the following features would be a nice addition to the > current > > > > state: > > > > > > > > - Conversion of a stream into an upsert table (with retraction, > > updating > > > to > > > > the last row per key) > > > > - Joins for streaming tables > > > > - Stream-Stream (time-range predicate) there is already a PR for > > > > processing time joins > > > > - Table-Table (with retraction) > > > > - Support for late arriving records in group window aggregations > > > > - Exposing a keyed result table as queryable state > > > > > > > > Which features are others looking for? > > > > > > > > Cheers, > > > > Fabian > > > > > > > > > > --94eb2c0b77aa468b2c0552793f5e--