alamb commented on PR #25403:
URL: https://github.com/apache/datafusion/pull/25403#issuecomment-5717692997
I verified this happens in both DF 55 and on main:
```sql
andrewlamb@Andrews-MacBook-Pro-3:~/Software/datafusion$ datafusion-cli
DataFusion CLI v55.1.0
> CREATE TABLE d (g INT, k INT, v INT) AS VALUES (1, 2, 6), (1, 1, 3), (2,
4, 12), (2, 3, 10);
SELECT g, avg(v ORDER BY k) FROM d GROUP BY g;
0 row(s) fetched.
Elapsed 0.034 seconds.
thread 'tokio-rt-worker' (17694786) panicked at
datafusion/functions-aggregate/src/average.rs:1101:9:
assertion `left == right` failed: single argument to update_batch
left: 2
right: 1
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Join Error
caused by
External error: task 41 panicked with message "assertion `left == right`
failed: single argument to update_batch\n left: 2\n right: 1"
>
\q
andrewlamb@Andrews-MacBook-Pro-3:~/Software/datafusion$
~/Software/datafusion-cli/datafusion-cli-55.0.0
DataFusion CLI v55.0.0
> CREATE TABLE d (g INT, k INT, v INT) AS VALUES (1, 2, 6), (1, 1, 3), (2,
4, 12), (2, 3, 10);
SELECT g, avg(v ORDER BY k) FROM d GROUP BY g;
0 row(s) fetched.
Elapsed 0.010 seconds.
```
--
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]