berkaysynnada commented on PR #13897:
URL: https://github.com/apache/datafusion/pull/13897#issuecomment-2562333365

   > I'm just worried we will miss some corner cases, since whether to maintain 
input order for AggregateExec is implementation dependent, so I think more 
tests are necessary. TopK aggregate is just an edge case example, I took a 
quick look: this path can be triggered if input is ordered, and its output will 
only guarantee to be ordered by first group key, which not seem correct
   
   Could you detail how only the first group key's ordering is maintained while 
others are invalidated? If that's the case, the output ordering calculation for 
AggregateExec might also expose some bugs.


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

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

Reply via email to