Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MINOR][TESTS] Replace
getResource
with getWorkspaceFilePath
to e…
…nable `HiveUDFSuite` to run successfully in the IDE ### What changes were proposed in this pull request? The pr aims to replace `getResource` with `getWorkspaceFilePath` to enable `HiveUDFSuite#hive struct udf` to run successfully in the IDE. ### Why are the changes needed? - Before: <img width="1269" alt="image" src="https://github.com/apache/spark/assets/15246973/be0c770b-3381-4ca9-9485-728bf4d23943"> - After: <img width="871" alt="image" src="https://github.com/apache/spark/assets/15246973/ac1b0dad-9ed0-441f-ad69-bca826207a55"> ### Does this PR introduce _any_ user-facing change? No, only test. ### How was this patch tested? - Pass GA - Manually test. ### Was this patch authored or co-authored using generative AI tooling? No. Closes #47194 from panbingkun/minor_HiveUDFSuite. Authored-by: panbingkun <panbingkun@baidu.com> Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
- Loading branch information