fn columns_are_from_scan(expr: &Expr, input: &LogicalPlan) -> Result<bool>
A projected column can hide division, a fallible cast or a volatile UDF. PushDownFilter may inline it below the WHERE that made evaluation safe.