tshauck opened a new pull request, #11584: URL: https://github.com/apache/datafusion/pull/11584
## Which issue does this PR close? Closes #11583 11583 ## Rationale for this change Many math unary functions aren't unbounded, but because the macro doesn't include a way to modify this on a per function basis the trait default (of unbounded) is used. ## What changes are included in this PR? 1. Change the `make_math_unary_udf` macro to take a bounds function 2. Implement a function for math functions where the bounds are known a priori. ## Are these changes tested? Yes, see unittests. ## Are there any user-facing changes? No -- 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 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