haohuaijin opened a new issue, #21802:
URL: https://github.com/apache/datafusion/issues/21802

   ### Is your feature request related to a problem or challenge?
   
   Allow downstream users to recover their concrete `MemoryPool` type from 
Arc<dyn MemoryPool>, like from `RuntimeEnv::memory_pool`.
   
   for each query, we create a new memory pool, then after the query is done, 
we want know what is the peak memory usage for the query, so we need recover 
the memory pool from the  `ctx.runtime_env().memory_pool`
   
   ### Describe the solution you'd like
   
   impl Any for MemoryPool
   
   ### 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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to