andygrove opened a new issue, #13716: URL: https://github.com/apache/datafusion/issues/13716
### Describe the bug I am trying to upgrade the version of DataFusion that Comet uses. Comet currently relies on `ScalarUDFImpl.return_type` to get the return type of a scalar UDF. This now returns an internal error when called for `DatePartFunc`. Should we deprecate this function if it is no longer the correct approach for determining UDF return types? It looks like `return_type_from_exprs` should now be used instead? ### 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: github-unsubscr...@datafusion.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org