Skip to content

impl Any for MemoryPool #21802

@haohuaijin

Description

@haohuaijin

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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request
No fields configured for Feature.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions