tanelk commented on pull request #29810:
URL: https://github.com/apache/spark/pull/29810#issuecomment-696005840


   > > In EliminateSorts optimizer rule, there is a method 
isOrderIrrelevantAggs, that lists all aggregators that do not depend on their 
input row order. Collect, first and last are correctly not listed there.
   > 
   > hmm, it's pretty weird if we list `first/last` there. Removing sort will 
definitely change the query result, doesn't it?
   
   Sorry if I didn't word it correctly - these are not listed there.  I tried 
to exemplify the difference between deterministic and order irrelevant.


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

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to