alamb edited a comment on pull request #1695:
URL: 
https://github.com/apache/arrow-datafusion/pull/1695#issuecomment-1024353939


   > If I read our code correctly. when executing a plan, we need to create 
RuntimeEnv where will create a DiskManager instance. So I can't understand if 
there will be so many DisManager instances?
   
   
   @xudong963  I think (non obviously) there are several more surprising places 
which create a DiskManager instance today -- for example 
https://github.com/apache/arrow-datafusion/blob/master/datafusion/src/physical_optimizer/pruning.rs#L132
 (indirectly by creating an ExecutionContext)


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