[jira] [Created] (FLINK-6238) support OVER on batch SQL

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-6238) support OVER on batch SQL

Shang Yuanchun (Jira)
godfrey he created FLINK-6238:
---------------------------------

             Summary: support OVER on batch SQL
                 Key: FLINK-6238
                 URL: https://issues.apache.org/jira/browse/FLINK-6238
             Project: Flink
          Issue Type: New Feature
          Components: Table API & SQL
            Reporter: godfrey he
            Assignee: godfrey he


The syntax of the OVER clause is:

<function> OVER ( [PARTITION BY clause]
                         [ORDER BY clause]
                         [ROWS or RANGE clause] )

currently, there are many limits about OVER function:
1. ROWS or RANGE clause only supports ROWS now.
2.  the window frame only supports BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING and ROWS UNBOUNDED PRECEDING and CURRENT ROW now.
3. ORDER BY is required.
4. only one column is supported in PARTITION BY clause and ORDER BY clause.
5. support multiple OVER function but they must be in same window.



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