dtenedor commented on PR #44678:
URL: https://github.com/apache/spark/pull/44678#issuecomment-1900726776

   @nickstanishadb how would this be different from calling Python's 
`resource.getrusage` within the `analyze` method, and then adding the resulting 
memory number into a subclass of `AnalyzeResult` to be propagated to subsequent 
`__init__` and `eval`/`terminate` methods? 
https://github.com/apache/spark/blob/master/python/docs/source/user_guide/sql/python_udtf.rst


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