adriangb opened a new issue, #19418: URL: https://github.com/apache/datafusion/issues/19418
### Is your feature request related to a problem or challenge? I'm doing some rewrites where I want to handle `now()`, but if I run the query through the optimizer if evaluates it using the current time. ### Describe the solution you'd like I'd like to add a configuration to `OptimzierConfig` to disable these evaluations: `evaluate_stable_functions = false;` ### Describe alternatives you've considered Wrapping every stable function in a UDF that is pass through but modifies the signature to `Immutable`. This is complex and error prone (there's like a dozen methods in the UDF trait). ### Additional context _No response_ -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
