2010YOUY01 opened a new issue, #11549: URL: https://github.com/apache/datafusion/issues/11549
### Describe the bug Reproducer in datafusion-cli ``` DataFusion CLI v40.0.0 > create table t3(v1 int); 0 row(s) fetched. Elapsed 0.065 seconds. > select * from t3 order by log(v1); thread 'main' panicked at /Users/yongting/Desktop/code/my_datafusion/arrow-datafusion/datafusion/functions/src/math/log.rs:85:42: index out of bounds: the len is 1 but the index is 1 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace ``` It is likely this bug is only related to log function implementation. Perhaps it could be a good first issue. ### 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: github-unsubscr...@datafusion.apache.org.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