alamb commented on issue #7198:
URL: 
https://github.com/apache/arrow-datafusion/issues/7198#issuecomment-1666044724

   I am not sure if we can get a general purpose optimization that also handles 
queries with different aggregates
   
   ```sql
   SELECT tag, field, max(time), min(other_field)
   FROM t
   GROUP BY tag
   ORDER BY max(time) DESC
   LIMIT 10
   ```
   
   Though maybe that is not so useful


-- 
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]

Reply via email to