zhengruifeng opened a new pull request, #57397: URL: https://github.com/apache/spark/pull/57397
### What changes were proposed in this pull request? Replace the scalar pandas UDF mappings for NumPy `arccosh`, `arcsinh`, and `arctanh` on pandas-on-Spark objects with the native Spark SQL functions `acosh`, `asinh`, and `atanh`. Add end-to-end pandas-on-Spark coverage that compares each NumPy ufunc result with pandas. ### Why are the changes needed? These mappings originated in Koalas when it supported PySpark 2.4, before the native inverse-hyperbolic Spark SQL functions were available. Current Spark provides the native functions, including Spark Connect support, so this removes the Python worker boundary while preserving NumPy-compatible results. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? - Added end-to-end pandas-on-Spark coverage for `arccosh`, `arcsinh`, and `arctanh`. - Ran `git diff --check`. - Runtime tests were not run locally. ### Was this patch authored or co-authored using generative AI tooling? Generated-by: Codex (GPT-5) -- 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]
