You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean R. Owen (Jira)" <ji...@apache.org> on 2021/09/29 13:32:00 UTC

[jira] [Resolved] (SPARK-36550) Propagation cause when UDF reflection fails

     [ https://issues.apache.org/jira/browse/SPARK-36550?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sean R. Owen resolved SPARK-36550.
----------------------------------
    Fix Version/s: 3.3.0
       Resolution: Fixed

Issue resolved by pull request 33796
[https://github.com/apache/spark/pull/33796]

> Propagation cause when UDF reflection fails
> -------------------------------------------
>
>                 Key: SPARK-36550
>                 URL: https://issues.apache.org/jira/browse/SPARK-36550
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.1.2
>            Reporter: dzcxzl
>            Assignee: dzcxzl
>            Priority: Trivial
>             Fix For: 3.3.0
>
>
> Now when UDF reflection fails, InvocationTargetException is thrown, but it is not a specific exception.
> {code:java}
> Error in query: No handler for Hive UDF 'XXX': java.lang.reflect.InvocationTargetException
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org