westonpace commented on PR #12590:
URL: https://github.com/apache/arrow/pull/12590#issuecomment-1109551814

   > There is a failing test case: 
https://github.com/apache/arrow/runs/6169636130?check_suite_focus=true#step:6:8758
   > 
   > Do you have an idea why this is failing?
   
   @vibhatha 
   
   ```
   def test_udf_context(random_with_udf_ctx_func_fixture):
       proxy_pool = pa.proxy_memory_pool(pa.default_memory_pool())
       pa.set_memory_pool(proxy_pool)
   ```
   
   This is dangerous.  Ideally, don't do this.  If you must do this, you need 
to ensure the old memory pool is restored.  `proxy_pool` goes out of scope at 
the end of this method.  The very next test to run (some parquet test) tries to 
use the default memory pool and :boom: 


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

Reply via email to