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

TUMBLE TVF should throw helpful exception when specifying second interval parameter

    XMLWordPrintableJSON

Details

    Description

      Currently, the following query can run and no exception is thrown.

      However, the second interval parameter (i.e. the offset parameter) is not supported yet. We should throw a exception for this.

      select 
        date_format(window_end, 'yyyy-MM-dd') as date_str,
        date_format(window_end, 'HH:mm') as time_str,
        count(distinct user_id) as uv
      from table(tumble(table user_behavior, descriptor(ts), interval '10' minute, interval '1' day))
      group by window_start, window_end;
      

      Attachments

        Issue Links

          Activity

            People

              jark Jark Wu
              jark Jark Wu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: