peter-toth commented on issue #9637:
URL: 
https://github.com/apache/arrow-datafusion/issues/9637#issuecomment-2017460110

   > After playing around with this, I have become convinced what is really 
needed is a "TreeMutator" type API on TreeNode that lets us rewrite 
`LogicalNode`s in place -- if we had that API I think we can make the 
DataFusion Optimizer screaming fast
   
   I think a `LogicalPlan` tree is made of `Arc` links between the nodes 
currently. So I wonder if obtaining mutable references to a `LogicalPlan` 
node's children is possible at all without cloning the children first?
   


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