datafusion_physical_plan::common

Function can_project

Source
pub fn can_project(
    schema: &SchemaRef,
    projection: Option<&Vec<usize>>,
) -> Result<()>
Expand description

Checks if the given projection is valid for the given schema.