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 2018/06/05 08:16:00 UTC

[jira] [Comment Edited] (FLINK-8650) Add tests and documentation for WINDOW clause

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

Timo Walther edited comment on FLINK-8650 at 6/5/18 8:15 AM:
-------------------------------------------------------------

Thanks for working on this [~Sergey Nuyanzin]. I think we don't need multiple ITCases for testing the correctness. We can add one ITCase but add more tests to {{org.apache.flink.table.api.stream.sql.OverWindowTest}} to verify if the same plans are generated.


was (Author: twalthr):
Thanks for working on this [~Sergey Nuyanzin]. I think we don't need multiple ITCases for testing the correctness. We can one ITCase but add more tests to {{org.apache.flink.table.api.stream.sql.OverWindowTest}} to verify if the same plans are generated.

> Add tests and documentation for WINDOW clause
> ---------------------------------------------
>
>                 Key: FLINK-8650
>                 URL: https://issues.apache.org/jira/browse/FLINK-8650
>             Project: Flink
>          Issue Type: Improvement
>          Components: Table API &amp; SQL
>            Reporter: Timo Walther
>            Assignee: Sergey Nuyanzin
>            Priority: Major
>
> We support queries with a {{WINDOW}} clause like:
> {code}
> SELECT a, SUM(c) OVER w, MIN(c) OVER w FROM MyTable WINDOW w AS (PARTITION BY a ORDER BY proctime ROWS BETWEEN 4 PRECEDING AND CURRENT ROW)
> {code}
> But this is neither documented nor tested.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)