zebsme commented on issue #15024:
URL: https://github.com/apache/datafusion/issues/15024#issuecomment-2708407584

   hi @alamb , I notice that DuckDB provides full expressions for aggregations 
while only index for group_by
   ```
   ┌─────────────┴─────────────┐
           HASH_GROUP_BY
   │    ────────────────────   │
   │          Groups:          │
                #0
                #1
   │                           │
   │        Aggregates:        │
         sum_no_overflow(#2)
   │          min(#3)          │
   │                           │
   │          ~0 Rows          │
   └─────────────┬─────────────┘
   ```
   So I keep the same style as that in DuckDB, following is the current output 
of Datafusion.
   ```
   ┌─────────────┴─────────────┐
   │       AggregateExec       │
   │    --------------------   │
   │           aggr0:          │
   │   sum(table2.bigint_col)  │
   │                           │
   │           aggr1:          │
   │    min(table2.date_col)   │
   │                           │
   │      group_by: @0 @1      │
   │                           │
   │           mode:           │
   │      FinalPartitioned     │
   └─────────────┬─────────────┘
   ```
   Would this formatting make sense? happy to adjust based on your suggestion :)


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