xiedeyantu commented on PR #4322:
URL: https://github.com/apache/calcite/pull/4322#issuecomment-2825150839

   > I think it is a good design principle to have each rule be as simple as 
possible, and not do work that another rule can do. However, there is a 
balancing act in practice, because the complexity of the search process is 
exponential in the number of rules that can be applied at each step, so there 
may be performance benefits in having a rule perform optimizations that it 
_knows_ for sure are beneficial - rather than hoping the optimizer will guess 
what to do next.
   
   I agree with @mihaibudiu 's opinion, what do you think? @asolimando @NobiGo 


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