2010YOUY01 opened a new issue, #12011:
URL: https://github.com/apache/datafusion/issues/12011
### Describe the bug
See reproducer in datafusion-cli
```
DataFusion CLI v41.0.0
> select min(1,2);
thread 'main' panicked at
/Users/yongting/Desktop/code/my_datafusion/arrow-datafusion/datafusion/functions-aggregate/src/min_max.rs:71:5:
assertion `left == right` failed
left: 2
right: 1
```
```
DataFusion CLI v41.0.0
> select max(2,1);
thread 'main' panicked at
/Users/yongting/Desktop/code/my_datafusion/arrow-datafusion/datafusion/functions-aggregate/src/min_max.rs:71:5:
assertion `left == right` failed
left: 2
right: 1
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
```
### To Reproduce
_No response_
### Expected behavior
_No response_
### Additional context
Found by SQLancer https://github.com/apache/datafusion/issues/11030
--
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]