You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "JING ZHANG (Jira)" <ji...@apache.org> on 2021/08/26 12:32:00 UTC

[jira] [Created] (FLINK-24002) Support count window with the window TVF in planner

JING ZHANG created FLINK-24002:
----------------------------------

             Summary: Support count window with the window TVF in planner
                 Key: FLINK-24002
                 URL: https://issues.apache.org/jira/browse/FLINK-24002
             Project: Flink
          Issue Type: Sub-task
          Components: Table SQL / Planner
    Affects Versions: 1.15.0
            Reporter: JING ZHANG


For a long time, count window is supported in Table API, but not supported in SQL.

With the new window TVF syntax, we can also introduce a new window function for count window.

For example, the following TUMBLE_ROW assigns windows in 10 row-count interval. 
{panel}
{panel}
|{{SELECT}} {{*}}
{{FROM}} {{TABLE}}{{(}}
{{   }}{{TUMBLE_ROW(}}
{{     }}{{data => }}{{TABLE}} {{inputTable,}}
{{     }}{{timecol => DESCRIPTOR(timecol),}}
{{     }}{{size}} {{=> 10));}}|

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)