rishabh1244 commented on PR #25740:
URL: https://github.com/apache/datafusion/pull/25740#issuecomment-5866510810

   ### Notes
   
   This implementation takes inspiration from the previous 
[`[#22996](https://github.com/apache/datafusion/pull/22996)`](https://github.com/apache/datafusion/pull/22996)
 implementation and its review discussion, particularly around handling the 
cases that were called out there.
   
   This PR currently covers:
   
   * `ORDER BY` within `map_agg`
   * `GROUP BY` usage
   * First-occurrence-wins semantics for duplicate keys
   * Tests covering the above behavior
   
   For ordered aggregation, duplicate keys are de-duplicated after applying the 
aggregate's `ORDER BY`, so the first occurrence in the resulting order is 
retained.


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


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

Reply via email to