HaoYang670 commented on issue #4917:
URL: 
https://github.com/apache/arrow-datafusion/issues/4917#issuecomment-1385080638

   Hi @jackwener, I have one question about the `optimize_node` function:
   ```rust
       fn optimize_node(
           &self,
           rule: &Arc<dyn OptimizerRule + Send + Sync>,
           plan: &LogicalPlan,
           config: &dyn OptimizerConfig,
       ) -> Result<Option<LogicalPlan>> {
           // TODO: future feature: We can do Batch optimize
           rule.try_optimize(plan, config)
       }
   ```
   Does it only optimize the top level plan node or the whole plan tree?


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