berkaysynnada commented on issue #15524: URL: https://github.com/apache/datafusion/issues/15524#issuecomment-2786265559
> Moreover, in my view, the optimization scenarios described above have very limited applicability. I'm uncertain whether such queries would occur in real-world scenarios. However, for Q29, the SUM optimization can provide significant performance improvements. Hi @suibianwanwank. Thank you for your kind and detailed explanation. As you've mentioned, the only applicable function seems to be SUM (and when the field is not nullable) in general, but, as being always, it is better to implement a generic approach as many other custom UDF's can utilize this optimization. -- 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