Skip to content

impl Any for MemoryPool #21802

Closed

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

Activity

  1. haohuaijin commented on Apr 23, 2026

    @haohuaijin
    ContributorAuthor

    take

  2. added a commit that references this issue on May 13, 2026
    fdaa326
  3. added a commit that references this issue on May 14, 2026
    300a05e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions