Jefffrey commented on issue #4874: URL: https://github.com/apache/arrow-datafusion/issues/4874#issuecomment-1401676081
This seems to be working as intended, since the subquery is incorrect: ```sql select id, max(id) max_id from users ``` If you specify a non-aggregate column in the project list then you also need a group by, like so: ```sql select id, max(id) max_id from users group by id ``` Though I'm not sure what your query is intended to do. -- 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]
