mustafasrepo opened a new issue, #9577:
URL: https://github.com/apache/arrow-datafusion/issues/9577

   ### Is your feature request related to a problem or challenge?
   
   _No response_
   
   ### Describe the solution you'd like
   
   According to following stackoverflow 
[discussion](https://stackoverflow.com/a/76403415/10554257). `Box`s can deep 
copy when called with `.clone()` method (according to `.clone()` implementation 
of the underlying type.). 
   
   For `Box<Expr>` this is the case. I think this usage might be the reason of 
some deep stack usages seen during the planning.
   
   See related issues: TODO: Add ISSUE.
   
   I think, replacing `Box<Expr>` usages with `Arc<Expr>` under the `enum Expr` 
would improve performance. I am not familiar with the implications of these two 
approaches in other places. I wonder what community thinks about this change. 
Would it be better, unnecessary, etc?
   
   
   ### Describe alternatives you've considered
   
   _No response_
   
   ### Additional context
   
   _No response_


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