You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We don't support raise_error or RaiseError yet. We have not seen any customers using it so there has been no push to implement it. Even then it would probably just be a copy of the CPU version as there is nothing that we can do on the GPU with it.
I was wrong and this is in fact supported by us, so we need to make corresponding changes. We might need to make some changes to the UDF transpiler because this was added to support that.
Describe the bug
Extend the raise_error() function to a two-argument version:
Examples
raise_error(str)
will raiseUSER_RAISED_EXCEPTION
spark.sql.legacy.raiseErrorWithoutErrorClass
(default: false) to revert to the old behavior for the single-parameter version.assert_true()
will also returnUSER_RAISED_EXCEPTION
.Additional context
https://issues.apache.org/jira/browse/SPARK-44838
apache/spark@9109d7037f4
The text was updated successfully, but these errors were encountered: