UBarney opened a new issue, #15875: URL: https://github.com/apache/datafusion/issues/15875
### Describe the bug Executing the SQL query SELECT value, max(value) + min(value) FROM generate_series(1, 5) GROUP BY value ORDER BY avg(value); results in an error ### To Reproduce SELECT value, max(value) + min(value) FROM generate_series(1, 5) group by value order by avg(value); ### Expected behavior return result ### 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