neilconway opened a new issue, #22779:
URL: https://github.com/apache/datafusion/issues/22779

   ### Describe the bug
   
   A partial aggregate with no group by expression emits one row per output 
partition, even for input partitions that did not receive any rows. The stats 
code gets this incorrect, and claims that the partial agg outputs `Exact(0)` 
rows in this scenario. This is off by a factor of `partition_count`, which can 
lead to suboptimal planning decisions downstream.
   
   ### To Reproduce
   
   _No response_
   
   ### Expected behavior
   
   _No response_
   
   ### Additional context
   
   _No response_


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