RecordWindowConfigCreateInput
Record window configuration create input.
RecordWindowConfigCreateInputFields
Identifier for the index field used to configure the window.
Partition qualifying filter.
For incremental windows, this is useful when the datetime field of the window
differs from a table's partitioning column. For example, given a tumbling
window configured on created_at and a partition filter on _PARTITIONTIME
with a lookback of 3 days:
SELECT * FROM mytable
WHERE
-- tumbling window filter
created_at >= (CURRENT_TIMESTAMP - INTERVAL '1 DAY')
AND
-- partition filter
_PARTITIONTIME >= (CURRENT_TIMESTAMP - INTERVAL '3 DAYS')
For validators attached to this window, this configuration sets a threshold to let the system clean up segments on validators that may have become stale. If the last time data was processed on behalf of a segment exceeds this threshold, the segment is considered stale and is cleaned up. Note that the threshold is relative to the most recent segment processed. When left unset, the system never cleans up stale segments.