alamb commented on issue #2837: URL: https://github.com/apache/arrow-datafusion/issues/2837#issuecomment-1179293003
In my mind, if we we always ran 'constant folding' on an `Expr` then checking for a constant should be a matter of calling `matches!(expr, Expr::Literal)` In other words, I had hoped that the `constant folding` pass was a general purpose mechanism to detect constants -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
