lance::io::exec

Function project

Source
pub fn project(
    input: Arc<dyn ExecutionPlan>,
    projection: &Schema,
) -> Result<ProjectionExec>
Expand description

Make a DataFusion projection node from a schema.

The projection schema must be a subset of the input schema. This can be used to select a subset of fields, either at the top-level or within nested structs.