Skip to main content

column_selection

Function column_selection 

Source
pub(crate) fn column_selection<'a>(
    selection: Option<&'a RowSelection>,
    expanded_selection: Option<&'a RowSelection>,
    cache_mask: Option<&ProjectionMask>,
    idx: usize,
) -> Option<&'a RowSelection>
Expand description

The selection that InMemoryRowGroup::fetch_ranges uses to choose the pages of column idx: expanded_selection (the selection expanded to batch boundaries) if cache_mask includes the column, else selection.