Function deltalake::datafusion::logical_expr::logical_plan::builder::project

source ·
pub fn project(
    plan: LogicalPlan,
    expr: impl IntoIterator<Item = impl Into<Expr>>
) -> Result<LogicalPlan, DataFusionError>
Expand description

Create Projection

§Errors

This function errors under any of the following conditions:

  • Two or more expressions have the same name
  • An invalid expression is used (e.g. a sort expression)