[ 
https://issues.apache.org/jira/browse/FLINK-6392?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

sunjincheng updated FLINK-6392:
-------------------------------
    Description: 
Currently, The window clause use case looks like as following:
{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.

  was:
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.


> 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: Sub-task
>          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 as following:
> {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)

Reply via email to