project_with_validation

Function project_with_validation 

Source
fn project_with_validation(
    plan: LogicalPlan,
    expr: impl IntoIterator<Item = (impl Into<SelectExpr>, bool)>,
) -> Result<LogicalPlan>
Expand description

Create Projection. Similar to project except that the expressions passed in have a flag to indicate if that expression requires validation (normalize & columnize) (true) or not (false)

ยง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)