wolffcm commented on issue #3105:
URL:
https://github.com/apache/arrow-datafusion/issues/3105#issuecomment-1331123120
I can also reproduce this with `datafusion-cli`, which I would guess is the
same issue?
```sql
❯ create table cpu (host string, usage float) as select * from (values
('host0', 90.1), ('host1', 90.2));
0 rows in set. Query took 0.011 seconds.
❯ select host, median(usage) from cpu group by host;
thread 'tokio-runtime-worker' panicked at 'unexpected accumulator state in
hash aggregate: Internal("AggregateState is not a scalar aggregate")',
/Users/cwolff/workspace/github.com/apache/arrow-datafusion/datafusion/core/src/physical_plan/aggregates/hash.rs:517:34
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
ArrowError(ExternalError(Execution("Join Error: task 17 panicked")))
```
--
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]