alamb commented on issue #1623:
URL: 
https://github.com/apache/arrow-datafusion/issues/1623#issuecomment-1036143690


   > This is a little amazing for me. Without count(*), datafusion will replace 
count distinct by firstly doing hash aggregate on stop_name (generate alias1) 
and then count directly.
   
   That is a cool optimization (it is in 
https://github.com/apache/arrow-datafusion/blob/master/datafusion/src/optimizer/single_distinct_to_groupby.rs)
  contributed by @ic4y


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


Reply via email to