Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-4557 Table API Stream Aggregations
  3. FLINK-6392

Change the alias of Window from optional to essential.

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.3.0
    • 1.3.0
    • Table SQL / API
    • None

    Description

      Currently, The window clause use case looks like as following:

      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)
      

      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.

      Attachments

        Issue Links

          Activity

            People

              sunjincheng121 sunjincheng
              sunjincheng121 sunjincheng
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: