You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem or challenge?
At the moment it looks impossible to implement new MemoryManager outside of datafusion crate as it is impossible to retrieve MemoryConsumer. MemoryConsumer is needed to check if consumer can_spill
Describe the solution you'd like
A new method pub fn consumer(&self) -> &MemoryConsumer to be implemented in MemoryReservation exposing reference to the MemoryConsumer
Describe alternatives you've considered
I have considered exposing Arc<SharedRegistration> instead of MemoryConsumer but it does not have any usefull additional information
Is your feature request related to a problem or challenge?
At the moment it looks impossible to implement new
MemoryManager
outside of datafusion crate as it is impossible to retrieveMemoryConsumer
.MemoryConsumer
is needed to check if consumercan_spill
Describe the solution you'd like
A new method
pub fn consumer(&self) -> &MemoryConsumer
to be implemented inMemoryReservation
exposing reference to theMemoryConsumer
Describe alternatives you've considered
I have considered exposing
Arc<SharedRegistration>
instead ofMemoryConsumer
but it does not have any usefull additional informationAdditional context
Relates to #7858
The text was updated successfully, but these errors were encountered: