Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-46621][PYTHON] Address null from Exception.getMessage in Py4J …
…captured exception ### What changes were proposed in this pull request? This PR proposes to address null from `Exception.getMessage` in Py4J captured exception. It returns an empty string. ### Why are the changes needed? So whitelisted exceptions with an empty arguments are also covered. ### Does this PR introduce _any_ user-facing change? Virtually no. It only happens when whitelisted exceptions are created without any argument so `null` is located in `message`. ### How was this patch tested? Manually. ### Was this patch authored or co-authored using generative AI tooling? No. Closes #44623 from HyukjinKwon/SPARK-46621. Authored-by: Hyukjin Kwon <gurwls223@apache.org> Signed-off-by: yangjie01 <yangjie01@baidu.com>
- Loading branch information