[ https://issues.apache.org/jira/browse/FLINK-6392?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15986554#comment-15986554 ]
ASF GitHub Bot commented on FLINK-6392: --------------------------------------- Github user fhueske commented on the issue: https://github.com/apache/flink/pull/3786 Thanks for the PR @sunjincheng121 and all refactoring! Will change some class names and merge it. > 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) > .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)