Expand description
Window function UDFs (TUMBLE, HOP, SESSION, CUMULATE)
Window function UDFs for DataFusion integration
Provides scalar UDFs that compute window start timestamps for streaming window operations:
TumbleWindowStart—tumble(timestamp, interval)— fixed-size non-overlapping windowsHopWindowStart—hop(timestamp, slide, size)— fixed-size overlapping windowsSessionWindowStart—session(timestamp, gap)— pass-through for Ring 0 sessions
These UDFs allow DataFusion to execute GROUP BY TUMBLE(...) style queries
by computing the window start as a per-row scalar value.
Structs§
- Cumulate
Window Start - Computes the cumulate window epoch start for a given timestamp.
- HopWindow
Start - Computes the earliest hopping window start for a given timestamp.
- Session
Window Start - Pass-through UDF for session window compatibility.
- Tumble
Window Start - Computes the tumbling window start for a given timestamp.