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