realno commented on issue #1972:
URL: 
https://github.com/apache/arrow-datafusion/issues/1972#issuecomment-1069744802


   I definitely agree the optimizer framework needs some attention. 
Specifically, each rule needs to handle tree traversal which is quite tedious 
and also less efficient due to the repeated full tree traversal. Also it is 
error prone, if not careful it may introduce dependency on the order of the 
rules in code. 
   
   I am leaning towards deciding which framework to go with asap for the 
following reasons: 1. we have limited rules for now so it is small effort to 
change it now. 2. simplifying rule implementation can encourage more people 
contributing in this area. 3. this may also help benchmarking and optimization 
work.
   
   I saw a few options were brought up, we can make a list for ones worth 
investigating.  


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