Hello Aljoscha <aljos...@apache.org>, Many thanks for the explanation. Referring to the flow from your response:
--------------------------------------------------------------- 1. Trigger fires 2. Evictor is called if it exists 3. Elements are evicted from window buffer if evictor returned number > 0 4. User-provided window function is called to emit window results ----------------------------------------------------------------- Just one clarification: If my Trigger acts as FIRE_AND_PURGE, when exactly does the *PURG*ing happen: between <1> and <2> above or between <4> and <1> above? My understanding is that it should happen between <4> and <1> because User-provided window function must be able to *see* the data to process it, *before* window buffer is emptied. -- Nirmalya -- Software Technologist http://www.linkedin.com/in/nirmalyasengupta "If you have built castles in the air, your work need not be lost. That is where they should be. Now put the foundation under them."