You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/03/03 01:46:45 UTC

[jira] [Commented] (FLINK-5954) Always assign names to the window in the Stream SQL API

    [ https://issues.apache.org/jira/browse/FLINK-5954?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15893551#comment-15893551 ] 

ASF GitHub Bot commented on FLINK-5954:
---------------------------------------

GitHub user haohui opened a pull request:

    https://github.com/apache/flink/pull/3461

    [FLINK-5954] Always assign names to the window in the Stream SQL API.

    Please see jira for more details. 

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/haohui/flink FLINK-5954

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/3461.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #3461
    
----
commit 93ace85d026959dce9332085eeb750fa9f50ce52
Author: Haohui Mai <wh...@apache.org>
Date:   2017-03-03T01:44:43Z

    [FLINK-5954] Always assign names to the window in the Stream SQL API.

----


> Always assign names to the window in the Stream SQL API
> -------------------------------------------------------
>
>                 Key: FLINK-5954
>                 URL: https://issues.apache.org/jira/browse/FLINK-5954
>             Project: Flink
>          Issue Type: Improvement
>            Reporter: Haohui Mai
>            Assignee: Haohui Mai
>
> CALCITE-1603 and CALCITE-1615 brings in supports for {{TUMBLE}}, {{HOP}}, {{SESSION}} grouped windows, as well as the corresponding auxiliary functions that allow uses to query the start and the end of the windows (e.g., {{TUMBLE_START()}} and {{TUMBLE_END()}} see http://calcite.apache.org/docs/stream.html for more details).
> The goal of this jira is to add support for these auxiliary functions in Flink. Flink already has runtime supports for them, as these functions are essential mapped to the {{WindowStart}} and {{WindowEnd}} classes.
> To implement this feature in transformation, the transformation needs to recognize these functions and map them to the {{WindowStart}} and {{WindowEnd}} classes.
> The problem is that both classes can only refer to the windows using alias. Therefore this jira proposes to assign a unique name for each window to enable the transformation.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)