HyukjinKwon opened a new pull request #34028: URL: https://github.com/apache/spark/pull/34028
### What changes were proposed in this pull request? This PR adds the support of understanding `numpy.typing` package that's added from NumPy 1.21. ### Why are the changes needed? For user-friendly return type specification in type hints for function apply APIs in pandas API on Spark. ### Does this PR introduce _any_ user-facing change? Yes, this PR will enable users to specify return type as `numpy.typing.NDArray[...]` to internally specify pandas UDF's return type. For example, ```python TBD ``` ``` TBD ``` ### How was this patch tested? Unittest was added. I will add e2e test after https://github.com/apache/spark/pull/34007. -- 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]
