findepi commented on issue #11274:
URL: https://github.com/apache/datafusion/issues/11274#issuecomment-2211364784

   Just thinking more about this. SQL spec
   
   > If no row qualifies, then the result of COUNT is 0 (zero), and the result 
of any other aggregate function is the null value.
   
   and this is also about array_agg.
   
   So it might be that the `count` is the only aggregate function that really 
returns non-null values, and maybe we don't need to complicate UDAF API for 
this.


-- 
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

Reply via email to