#1184 Overlapping windows

v9.4
closed
Michael Kay
5
2012-10-08
2011-12-30
Michael Kay
No

In an XQuery 3.0 FLWOR expression using sliding windows, if the condition for ending a window is satisfied, but the window cannot be dispatched because there are other windows, not yet closed, which need to be despatched first becuase they started earlier, then the window that has now closed is not removed from the list of windows whose ending condition is tested against each item in the input sequence, meaning that if the ending conditions are satisfied again before the window is despatched, it is the last item that satisfies the ending conditions that forms the end of the window, not the first.

A patch is being placed in Subversion.

Discussion

  • Michael Kay
    Michael Kay
    2012-01-23

    Fixed in 9.4.0.2