This topic describes the window functions, window types, and time attribute that Spark Streaming SQL supports.
- Tumbling window
- Sliding window
Spark SQL supports aggregation of data in a window by using the event time attribute.
Generally, the event time attribute indicates the time when a data record was created. It is provided in the schema.
For queries with time windows, a window column is auto-generated, which contains the window start and end time specified by window.start and window.end.