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

   > so it seems reasonable to me that we can also have LexOrdering for UDF. 
However, I'm not sure how can I have LexOrdering for AggregateUDFImpl without 
cyclic dependency.
   
   Maybe we can have the AggregateUDF declare its needed ordering in terms of 
`Expr`s and then translate to `LexOrdering` as part of physical planning
   
   Perhaps we can follow the model of 
   
   ```rust
       pub file_sort_order: Vec<Vec<Expr>>,
   ```
   
   In ListingOptions:  
https://docs.rs/datafusion/latest/datafusion/datasource/listing/struct.ListingOptions.html
   
   


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