Github user clockfly commented on the issue:
https://github.com/apache/spark/pull/14850
@cloud-fan
There are two branches to execute an UDF.
1. Call `override def eval(input: InternalRow): Any` directly. For this
code branch, I don't think there is any barrier for an user to know it is an
UDF problem, as the ScalaUDF is in the stack trace.
2. Another branch is in codegen. This code branch is confusing, in my
opinion. Since every different code piece from different expression is fused
into one code block. When an exception is thrown, we don't know who owns that
code block.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]