Function datafusion_expr::utils::add_filter
source · pub fn add_filter(
plan: LogicalPlan,
predicates: &[&Expr],
) -> Result<LogicalPlan>
Expand description
Returns a new LogicalPlan that filters the output of plan
with a
LogicalPlan::Filter with all predicates
ANDed.
§Example
Before:
plan
After:
Filter(predicate)
plan