zhangxinyao88 commented on issue #11028: URL: https://github.com/apache/arrow-rs/issues/11028#issuecomment-7073029985
I tried the #9842-style move locally. A custom provider in a separate crate can use `arrow_buffer::HeapSize`, including with Parquet's default features disabled. For the shared-cache case, two providers that each count the cache charge it twice. Counting provider-owned allocations in each provider and the shared cache once at its owner avoids that in the prototype. Could we use that accounting boundary for #11057? It would make the existing container implementations available while leaving the cache's budget with its owner. The caller would still need to deduplicate a provider Arc shared by multiple metadata objects when summing their estimates. -- 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]
