alamb commented on code in PR #9708:
URL: https://github.com/apache/arrow-datafusion/pull/9708#discussion_r1532080163
##########
datafusion/optimizer/src/optimizer.rs:
##########
@@ -279,10 +294,10 @@ impl Optimizer {
/// invoking observer function after each call
pub fn optimize<F>(
&self,
- plan: &LogicalPlan,
+ plan: LogicalPlan,
Review Comment:
rewriting the optimizer passes to take in owned `LogicalPlan` is the key idea
I haven't plumbed it completely through yet, but the approach is looking
promising
--
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]