You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Timo Walther (JIRA)" <ji...@apache.org> on 2017/05/24 10:22:04 UTC

[jira] [Updated] (FLINK-6697) Add batch multi-window support

     [ https://issues.apache.org/jira/browse/FLINK-6697?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Timo Walther updated FLINK-6697:
--------------------------------
    Description: 
Multiple consecutive windows on batch are not tested yet and I think they are also not supported, because the syntax is not defined for batch yet.

The following should be supported:
{code}
val t = table
    .window(Tumble over 2.millis on 'rowtime as 'w)
    .groupBy('w)
    .select('w.rowtime as 'rowtime, 'int.count as 'int)
    .window(Tumble over 4.millis on 'rowtime as 'w2)
    .groupBy('w2)
    .select('w2.rowtime, 'w2.end, 'int.count)
{code}

  was:
Multiple consecutive windows on batch are not tested yet and I think they are also not supported yet, because the syntax is not defined for batch yet.

The following should be supported:
{code}
val t = table
    .window(Tumble over 2.millis on 'rowtime as 'w)
    .groupBy('w)
    .select('w.rowtime as 'rowtime, 'int.count as 'int)
    .window(Tumble over 4.millis on 'rowtime as 'w2)
    .groupBy('w2)
    .select('w2.rowtime, 'w2.end, 'int.count)
{code}


> Add batch multi-window support
> ------------------------------
>
>                 Key: FLINK-6697
>                 URL: https://issues.apache.org/jira/browse/FLINK-6697
>             Project: Flink
>          Issue Type: Improvement
>          Components: Table API & SQL
>    Affects Versions: 1.3.0
>            Reporter: Timo Walther
>
> Multiple consecutive windows on batch are not tested yet and I think they are also not supported, because the syntax is not defined for batch yet.
> The following should be supported:
> {code}
> val t = table
>     .window(Tumble over 2.millis on 'rowtime as 'w)
>     .groupBy('w)
>     .select('w.rowtime as 'rowtime, 'int.count as 'int)
>     .window(Tumble over 4.millis on 'rowtime as 'w2)
>     .groupBy('w2)
>     .select('w2.rowtime, 'w2.end, 'int.count)
> {code}



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