I would like to bring attention to the project of unifying built in and user defined functions [1], and specifically a PR[2] that starts implementing that approach.
Please provide any feedback you have on the ticket or PR. Thank you, Andrew [1]: https://github.com/apache/arrow-datafusion/issues/8045 [2]: https://github.com/apache/arrow-datafusion/pull/8705