findepi commented on PR #16681: URL: https://github.com/apache/datafusion/pull/16681#issuecomment-3072748613
"99%" of the cases are stateless[^1]. Would it be possible to provide default implementation that works great in the "99%" common case, but still works correctly in other cases? if that's not possible, and so the default behavior is inferior for the common case, it needs to be reimplemented in every function. Which means it's not really an optional method and so we should remove its default implementation. cc @alamb [^1]: the only field in most UDFs is Signature. It's there for convenience. Could be as well implemented as a static -- 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