msathis commented on a change in pull request #288: URL: https://github.com/apache/arrow-datafusion/pull/288#discussion_r630071639
########## File path: datafusion/src/optimizer/constant_folding.rs ########## @@ -200,6 +209,15 @@ impl<'a> ExprRewriter for ConstantRewriter<'a> { Expr::Not(inner) } } + Expr::ScalarFunction { Review comment: @alamb I have to solve the non-optimized plan case yet (PR description has subtasks). Can you please add `Do not merge` label till then? -- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org