You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "sunjincheng (JIRA)" <ji...@apache.org> on 2017/04/26 23:13:04 UTC

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

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)