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)

Reply via email to