alamb commented on PR #7337:
URL: 
https://github.com/apache/arrow-datafusion/pull/7337#issuecomment-1690352017

   > I'm trying to figure out how to do this query rewrite, do you remember any 
reference PR that did a query rewrite similar to this order by rewrite?
   
   Perhaps 
https://github.com/apache/arrow-datafusion/blob/main/datafusion/optimizer/src/rewrite_disjunctive_predicate.rs
 or 
https://github.com/apache/arrow-datafusion/blob/main/datafusion/optimizer/src/unwrap_cast_in_comparison.rs
 would serve as good inspirations
   
   > Though how to separate existing functions requires further discussion, I 
think it is necessary to build an interface to put a set of functions into a 
separate crate. Besides reducing binary size, it can also make the extension 
management for UDFs more organized and user friendly. Will think about this 
issue later and see if there is any good way to do it
   
   Thank you


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