pub fn schema_has_all_expr_columns(schema: &Schema, expr: &Expr) -> bool {
    let mut predicate_columns = HashSet::new();
    expr_to_columns(expr, &mut predicate_columns).unwrap();

    predicate_columns
        .into_iter()
        .all(|col_name| schema.find_index_of(&col_name.name).is_some())
}
/// Returns true if all columns referred to in schema are present, false
/// otherwise
Returns true if all columns referred to in schema are present, false
otherwise
Returns true if all columns referred to in schema are present false otherwise
pub fn schema_has_all_expr_columns(schema: &Schema, expr: &Expr) -> bool {
    let mut predicate_columns = HashSet::new();
    expr_to_columns(expr, &mut predicate_columns).unwrap();
    predicate_columns
        .into_iter()
        .all(|col_name| schema.find_index_of(&col_name.name).is_some())
}
pub fn schema_has_all_expr_columns ( schema : & Schema , expr : & Expr ) -> bool { let mut predicate_columns = HashSet :: new ( ) ; expr_to_columns ( expr , & mut predicate_columns ) . unwrap ( ) ; predicate_columns . into_iter ( ) . all ( | col_name | schema . find_index_of ( & col_name . name ) . is_some ( ) ) }
Returns true if all columns referred to in schema are present, false
otherwise
Returns true if all columns referred to in schema are present false otherwise
schema
&Schema
expr
&Expr
schema
&Schema
expr
&Expr