A window in Azure Stream Analytics refers to a block of time-stamped event data that enables users to perform various statistical operations on the event data.
Four types of windowing functions are available to partition and analyse a window in Azure Stream Analytics:
- Tumbling Window: The data stream is segmented into distinct fixed-length time segments in the tumbling window function.
- Hopping Window: In hopping windows, the data segments can overlap.
- Sliding Window: Unlike, Tumbling and Hopping window, aggregation occurs every time a new event occurs.
- Session Window: There is no fixed window size and has three parameters: timeout, max duration and partitioning key. The purpose of this window is to eliminate quiet periods in the data stream.