icexelloss commented on PR #13214:
URL: https://github.com/apache/arrow/pull/13214#issuecomment-1134858396

   > registering Python UDFs to an extension registry instance that (1) is 
specific to the Python interpreter and (2) is linked to the default global one 
(so it can find both UDF and normal functions). This Python-specific registry 
would then be passed to be used by the execution engine. I think this way 
(only) the Python-specific registry would naturally get cleaned up on 
finalization of the Python interpreter.
   
   I think high level this makes sense as @westonpace previously mentioned in 
email discussion about an local/temporary registry for a specific substrait 
plan execution. However, I am not expert on this matter so curious to hear 
about how @westonpace and @vibhatha think.


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