pub fn project_with_alias(
    plan: LogicalPlan,
    expr: impl IntoIterator<Item = impl Into<Expr>>,
    alias: Option<String>
) -> Result<LogicalPlan>
Expand description

Project with optional alias

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)