[jira] [Created] (FLINK-6392) Change the alias of Window from optional to essential.

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

[jira] [Created] (FLINK-6392) Change the alias of Window from optional to essential.

Shang Yuanchun (Jira)
sunjincheng created FLINK-6392:
----------------------------------

             Summary: Change the alias of Window from optional to essential.
                 Key: FLINK-6392
                 URL: https://issues.apache.org/jira/browse/FLINK-6392
             Project: Flink
          Issue Type: Improvement
          Components: Table API & SQL
    Affects Versions: 1.3.0
            Reporter: sunjincheng
            Assignee: sunjincheng
             Fix For: 1.3.0


Currently, The window clause use case looks like:
{code}
tab //Table('a,'b,'c)
   .window( Slide over 10.milli every 5.milli  as 'w)
   .groupBy('w,'a,'b) // WindowGroupedTable
   .select('a, 'b, 'c.sum, 'w.start, 'w.end)
{code}
As we see the alias of window is essential. But the current implementation of the TableAPI does not have the constraint for the alias,So we must refactoring the API definition using TYPE SYSTEM lead to constraint for the alias.



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