expr_applicable_for_cols

Function expr_applicable_for_cols 

Source
pub fn expr_applicable_for_cols(col_names: &[&str], expr: &Expr) -> bool
Expand description

Check whether the given expression can be resolved using only the columns col_names. This means that if this function returns true:

  • the table provider can filter the table partition values with this expression
  • the expression can be marked as TableProviderFilterPushDown::Exact once this filtering was performed