Is your feature request related to a problem or challenge?
Allow downstream users to recover their concrete MemoryPool type from Arc, 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
Is your feature request related to a problem or challenge?
Allow downstream users to recover their concrete
MemoryPooltype from Arc, like fromRuntimeEnv::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_poolDescribe the solution you'd like
impl Any for MemoryPool
Describe alternatives you've considered
No response
Additional context
No response