mihaibudiu commented on PR #4322: URL: https://github.com/apache/calcite/pull/4322#issuecomment-2825046324
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. -- 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]
