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

Time interval for window aggregations in SQL is wrongly translated if specified with YEAR_MONTH resolution

    XMLWordPrintableJSON

Details

    Description

      If a time interval was specified with YEAR TO MONTH resolution like e.g.:

      SELECT * 
      FROM Mytable
      GROUP BY 
          TUMBLE(rowtime, INTERVAL '1-2' YEAR TO MONTH)
      

      it will be wrongly translated to 14 milliseconds window. We should allow for only DAY TO SECOND resolution.

      Attachments

        Issue Links

          Activity

            People

              dwysakowicz Dawid Wysakowicz
              dwysakowicz Dawid Wysakowicz
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: