davidhewitt commented on issue #8910: URL: https://github.com/apache/datafusion/issues/8910#issuecomment-3158627681
While it won't solve all cases, I think there is a special case here where we can add `ScalarUDFImpl::simplify` implementation to `coalesce` which would discard all trailing arguments after the first non-nullable argument. (Even better, if the first argument is non-nullable then the coalesce could be completely optimized away?) -- 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