Skip to main content

local_empty_layouts

Function local_empty_layouts 

Source
fn local_empty_layouts(
    set_operations: &[SetOperation],
    prepared: &[(LogicalPlan, Arc<SeriesSchema>, Option<Arc<str>>, String, Vec<String>, bool, bool)],
) -> Vec<Option<usize>>
Expand description

The index of the real input each zero-match input is laid out by, in prepared order.

A set operation pairs its two sides’ fields by position, so an operand that reads no real input is laid out by the first real selector in the other operand, and that layout reaches every zero-match selector of the operand, nested set operations included. An empty input with no such operand above it has no entry here.