GitHub user zanmato1984 added a comment to the discussion: Memory Used for 
GrouBy or Join

It’s only supported in Arrow C++ today. You can pass a dedicated `MemoryPool` 
via `ExecContext` for the plan and query `bytes_allocated()` (and 
`max_memory()` for peak). This gives a plan‑level estimate because other 
operators also allocate from that pool. For hash‑table‑only memory, you’d need 
to route allocations for `SwissJoin` (and/or hash aggregate) to a separate 
pool, which currently requires finer‑grained plumbing or instrumentation.

GitHub link: 
https://github.com/apache/arrow/discussions/49469#discussioncomment-16064051

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to