eejbyfeldt opened a new issue, #12616: URL: https://github.com/apache/datafusion/issues/12616
### Describe the bug When using the sample variance and there is no values in a group we will do a `-1` on a 0 usize. This leads to wrong results in release mode and panic in debug. ### To Reproduce _No response_ ### Expected behavior _No response_ ### Additional context _No response_ -- 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