Struct datafusion_physical_expr::window::WindowAggState
source · pub struct WindowAggState {
pub window_frame_range: Range<usize>,
pub last_calculated_index: usize,
pub offset_pruned_rows: usize,
pub out_col: ArrayRef,
pub n_row_result_missing: usize,
pub is_end: bool,
}
Fields§
§window_frame_range: Range<usize>
The range that we calculate the window function
last_calculated_index: usize
The index of the last row that its result is calculated inside the partition record batch buffer.
offset_pruned_rows: usize
The offset of the deleted row number
out_col: ArrayRef
Stores the results calculated by window frame
n_row_result_missing: usize
Keeps track of how many rows should be generated to be in sync with input record_batch.
is_end: bool
flag indicating whether we have received all data for this partition