Hi All, The document said "a window is created as soon as the first element that should belong to this window arrives, and the window is completely removed when the time (event or processing time) passes its end timestamp plus the user-specified allowed lateness (see Allowed Lateness).".
I am still confused. If the window contains only one element (which triggers the window creation), and no more elements come in during the window size (e.g. 1 minute), then when does the window function get invoked? after 1 minute? I mean, the window would finish either when any element indicates the watermark is larger than the window size, or, when the processing time (no matter for event-timed window or process-timed window) pass over the window size since the first element?