avantgardnerio commented on PR #22626:
URL: https://github.com/apache/datafusion/pull/22626#issuecomment-4586716633

   @andygrove @2010YOUY01 
   
   Great feedback, thank you! I think both problems can probably be solved with 
per-context (`kill_on_overdraft()`) level memory tracking. Each context could 
get it's own balance, and we could adjust that balance by updating it using an 
AccountingMemoryTracker that updates the AccountingAllocator when the soft 
limit changes.
   
   I'll implement this and see how complicated it gets, and what the 
performance implications might be.


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to