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

Unable to set negative offsets for TumblingEventTimeWindow

    XMLWordPrintableJSON

Details

    Description

      The following code given in documentation throws an IllegalArgumentException: TumblingEventTimeWindows parameters must satisfy 0 <= offset < size.

      > TumblingEventTimeWindows.of(Time.days(1), Time.hours(-8));

      By design, the offset could be negative to fit in different time zones.

      Attachments

        Activity

          People

            Paul Lin Paul Lin
            Paul Lin Paul Lin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 10m
                10m