Module window_state

Source
Expand description

Structures used to hold window function state (for implementing WindowUDFs)

Structs§

PartitionBatchState
State for each unique partition determined according to PARTITION BY column(s)
WindowAggState
Holds the state of evaluating a window function
WindowFrameStateGroups
This structure encapsulates all the state information we require as we scan groups of data while processing window frames.
WindowFrameStateRange
This structure encapsulates all the state information we require as we scan ranges of data while processing RANGE frames. Attribute sort_options stores the column ordering specified by the ORDER BY clause. This information is used to calculate the range.

Enums§

WindowFrameContext
This object stores the window frame state for use in incremental calculations.