jackwener commented on issue #4917:
URL:
https://github.com/apache/arrow-datafusion/issues/4917#issuecomment-1385398346
> Does it only optimize the top level plan node or the whole plan tree? I
don't understand the difference between it and the `try_optimize`.
We can do batch optimize in one plannode
```rust
rules: Vec<rule>
for rule in rules {
rule.try_optimize(plan, config)
}
```
--
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]