andygrove opened a new issue, #2599:
URL: https://github.com/apache/arrow-datafusion/issues/2599

   **Is your feature request related to a problem or challenge? Please describe 
what you are trying to do.**
   As a user of DataFusion for SQL query planning, I would like to be able to 
use the logical plan optimizer rules without depending on the full datafusion 
crate containing the execution engine.
   
   **Describe the solution you'd like**
   I think there are two choices here:
   
   1. Move the optimizer rules up to the `datafusion-expr` crate which contains 
the logical plans and expressions and already contains some of the expression 
rewriting logic that the optimizers depend on. This option would require us to 
make some changes to remove dependencies on the `physical-expr` crate as noted 
in https://github.com/apache/arrow-datafusion/issues/2535
   2. Create a new `datafusion-optimizer` crate. This is an easier step because 
we can have it depend on `datafusion-physical-expr` for now and fix that later.
   
   **Describe alternatives you've considered**
   None
   
   **Additional context**
   None
   


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