Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-21253

Support grouping set syntax for GroupWindowAggregate

    XMLWordPrintableJSON

Details

    Description

      Support grouping set syntax in WindowAggregate, like the following example.

       

      //代码占位符
      SELECT
          a,
          TUMBLE_START(rowtime, INTERVAL '15' MINUTE),
          TUMBLE_END(rowtime, INTERVAL '15' MINUTE),
          COUNT(1)
      FROM MyTable
          GROUP BY GROUPING SETS (`a`, ()), TUMBLE(rowtime, INTERVAL '15' MINUTE)
      

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jingzhang Jing Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: