tshauck commented on PR #11229: URL: https://github.com/apache/datafusion/pull/11229#issuecomment-2212962041
Hmm... ok, I think I'm going to go back to the original approach but augment it with a `count_star` function. This is similar to what duckdb does from what I can tell and seems simpler: https://github.com/duckdb/duckdb/blob/b760a3f8c049c51d79bbe1addef745661cbd30df/src/include/duckdb/function/aggregate/distributive_functions.hpp#L18-L28. I can add an aggregate function planner in a different PR. -- 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