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

   ### What changes were proposed in this pull request?
   
   This is a backport of https://github.com/apache/spark/pull/42784.
   
   Fixes Arrow-optimized Python UDF to delay wrapping the function with 
`fail_on_stopiteration`.
   
   Also removed unnecessary verification `verify_result_type`.
   
   ### Why are the changes needed?
   
   For Arrow-optimized Python UDF, `fail_on_stopiteration` can be applied to 
only the wrapped function to avoid unnecessary overhead.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   Added the related test.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   No.


-- 
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: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to