alamb commented on issue #9637:
URL: 
https://github.com/apache/arrow-datafusion/issues/9637#issuecomment-2016891398

   > Should we change to box first, so we can easily modify plan without hack?
   
   I was exploring keeping the `Arc` initally for two reasons:
   1. It avoids breaking changes in downstream crates
   2. Until we fix the optimzier so it doens't do so much copying, switching to 
`Box` will only make the problem worse (as now all clones will do *deep* clones 
of all children.
   
   SO I was thinking we could start with the hacky solution that kept 
`Arc<LogicalPlan>` and then we could potentially switch to `Box<LogicalPlan>` 
afterwards.
   
   


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