xudong963 commented on pull request #1183: URL: https://github.com/apache/arrow-datafusion/pull/1183#issuecomment-954787474
A summary of what the PR will do. 1. Add a member variable such as `is_optimized` to LogicalPlan to avoid optimizing the logical plan twice. 2. Avoid optimizing on different query executions twice, such as https://github.com/apache/arrow-datafusion/pull/1183#issuecomment-954605915 About 1, I want to know if directly adding `is_optimized` to all logical plans is a good way? Do you have a more elegant idea? ```rust pub enum LogicalPlan { Projection { ... is_optimized: bool }, Filter { ... is_optimized: bool }, ... ``` @Dandandan @alamb @houqp Please help me check my thought, thanks! -- 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]
