Expand description
Compile a windowed streaming SQL query into a WindowExecutionSpec.
Supports the canonical keyed windowed-aggregation shape:
SELECT key, AGG(col) AS out [, ...]
FROM TUMBLE(TABLE src, DESCRIPTOR(ts), <size>) -- or HOP / SESSION
GROUP BY key, window_start, window_endThe streaming engine uses the resulting WindowExecutionSpec to drive the
dataflow ContinuousWindowExecutor. The window operator computes the
aggregation itself, so the SELECT/GROUP BY is only mined for the grouping
key column and the aggregate list — the rest of the query shape is the
window TVF, which find_window_tvf already parses.
Structs§
- Streaming
Window Plan - A compiled windowed streaming plan: the operator spec plus the name of the source table the window reads from.
Functions§
- compile_
streaming_ window_ sql - Compile a windowed streaming SQL query into a
StreamingWindowPlan. - is_
windowed_ streaming_ sql - Returns
truewhensqlcontains a TUMBLE/HOP/SESSION window TVF.