lewiszlw opened a new issue, #22952: URL: https://github.com/apache/datafusion/issues/22952
### Describe the bug We encountered several breaking changes for table function arguments. These changes break user-facing SQL. We have some table functions like `tbf(a='x', b='x')`. Last time someone added a simplifier to simplify argument expressions. This time someone added a change to coerce argument expressions https://github.com/apache/datafusion/pull/19915 . https://github.com/apache/datafusion/blob/d428760d709a375f3d997c84e9c4748a22584149/datafusion/core/src/execution/session_state.rs#L1966-L1999 It seems these changes could be moved into the table function implementation or a method of `TableFunctionArgs::simplified_args()`. We could pass the original argument expressions into the `TableFunctionImpl::call()` method and let users to choose whether to simplify args. ### To Reproduce _No response_ ### Expected behavior _No response_ ### 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]
