jonahgao commented on issue #11303:
URL: https://github.com/apache/datafusion/issues/11303#issuecomment-2212431032

   This feature was introduced by #5908. Spark also supports it, and its 
behavior seems to be consistent with MySQL. So I think we can follow 
[Spark](https://spark.apache.org/docs/latest/api/sql/index.html#count).
   
   > count(expr[, expr...]) - Returns the number of rows for which the supplied 
expression(s) are all non-null.
   > count(DISTINCT expr[, expr...]) - Returns the number of rows for which the 
supplied expression(s) are unique and non-null.
   
   We need to correct `count(distinct a, b)`.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to