zhengruifeng opened a new pull request, #40896:
URL: https://github.com/apache/spark/pull/40896

   ### What changes were proposed in this pull request?
   Support Barrier Python UDF, we could support it in general, but right now I 
want to narrow its usage scope because it is only used in Torch Distributor for 
now:
   
   - it is supported as a function attribute, without adding a user-facing API 
or Parameter;
   - it only works in `MapInPandas` and `MapInArrow`
   
   
   ### Why are the changes needed?
   Barrier should be an UDF attribute
   
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   
   ### How was this patch tested?
   existing UTs


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