-
Notifications
You must be signed in to change notification settings - Fork 245
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[BUG] udf compiler failed to translate UDF in spark-shell #5019
Labels
bug
Something isn't working
Comments
So it looks like this used to work up until 21.10. It broke in 21.12. Here's a 21.10 output (I also tried prior versions of the plugin and cuDF):
|
Filed the PR: #5030 that reverts a change that was put into 21.12 that was causing this. |
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Describe the bug
udf compiler throws exceptions when trying to compile a UDF in spark-shell, I've tried 3.3.0 and 3.2.0.
But the unit tests of udf compiler works well if I run e.g.
mvn test -DwildcardSuites=com.nvidia.spark.OpcodeSuite -Dbuildver=330
or I run the unit test directly in the IDEA IDE.
Steps/Code to reproduce bug
start a spark-shell with spark-rapids plugin enabled and udf compiler enabled, then run the following code:
The code above is the same code in https://github.com/NVIDIA/spark-rapids/blob/branch-22.04/udf-compiler/src/test/scala/com/nvidia/spark/OpcodeSuite.scala#L70-L77.
Expected behavior
The UDF compiler should work well in spark-shell
Environment details (please complete the following information)
the jars I'm using:
Additional context
I also tried to build a jar for the code and ran it but failed with the same error.
The text was updated successfully, but these errors were encountered: