thisisnic commented on issue #36000:
URL: https://github.com/apache/arrow/issues/36000#issuecomment-7151699040

   I used an AI agent to check this against current releases, and I've reviewed 
the results.
   
   ----------------
   
   🤖 :
   
   This looks to have been fixed by #43557 (released in 18.0.0), which removed 
the extra `Py_INCREF` calls in `udf.cc` and added comments on the ones that 
remain.
   
   Registering a scalar UDF and calling it 111 times, the reference count of 
the Python function behaves like this:
   
   | pyarrow | After registering | After 1, +10, +100 calls |
   |---|---|---|
   | 17.0.0 | 5 | 6, 16, 116 |
   | 26.0.1 | 3 | 3, 3, 3 |
   
   So the count no longer grows with each call. Closing as fixed.
   


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