tshauck commented on PR #11229:
URL: https://github.com/apache/datafusion/pull/11229#issuecomment-2208093045

   Thanks, your original reply was a bit confusing, but I think that makes 
sense. Adding something new/generic was more than I had originally had in mind, 
but I'll take a look at adding something like you mention in 
`AggregateFunctionPlanner`.
   
   Here's what I meant w.r.t. duckdb...
   
   ```
   D EXPLAIN SELECT COUNT(*)
     ;
   
   ┌─────────────────────────────┐
   │┌───────────────────────────┐│
   ││       Physical Plan       ││
   │└───────────────────────────┘│
   └─────────────────────────────┘
   ┌───────────────────────────┐
   │    UNGROUPED_AGGREGATE    │
   │   ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─   │
   │        count_star()       │
   └─────────────┬─────────────┘                             
   ┌─────────────┴─────────────┐
   │         DUMMY_SCAN        │
   └───────────────────────────┘
   ```
   
   You're right on the dataframe you can do count with wildcard, but it doesn't 
seem as analogous to `COUNT()`.
   
   I'm traveling through the end of the weekend, but'll follow up when I've had 
a chance to try this out.


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