haohuaijin commented on code in PR #7909: URL: https://github.com/apache/arrow-datafusion/pull/7909#discussion_r1369565622
########## datafusion/optimizer/src/push_down_filter.rs: ########## @@ -668,16 +670,40 @@ impl OptimizerRule for PushDownFilter { (field.qualified_name(), expr) }) - .collect::<HashMap<_, _>>(); + .partition(|(_, value)| matches!(value, Expr::ScalarFunction(f) if f.fun.volatility() == Volatility::Volatile)); Review Comment: you are right, already fix, thanks! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org