ozankabak commented on PR #9991:
URL: 
https://github.com/apache/arrow-datafusion/pull/9991#issuecomment-2053710366

   > For `ORDER BY`, there are two options:
   > 
   > 1. Keep the current behavior, that is, allow `SUM(ORDER BY ...)`. The 
rationale is:
   > 
   > * The DataFusion optimizer would remove the `ORDER BY` if the order 
doesn't matter.
   > * For float type, the order matters, so we need the `ORDER BY`
   > * Postgres allows the `SUM(ORDER BY ...)`.
   
   Yes, let's follow this approach.
   
   


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