You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Wenchen Fan (Jira)" <ji...@apache.org> on 2020/10/06 13:10:00 UTC

[jira] [Resolved] (SPARK-32243) HiveSessionCatalog call super.makeFunctionExpression should show error message

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

Wenchen Fan resolved SPARK-32243.
---------------------------------
    Fix Version/s: 3.1.0
       Resolution: Fixed

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

> HiveSessionCatalog call super.makeFunctionExpression should show error message
> ------------------------------------------------------------------------------
>
>                 Key: SPARK-32243
>                 URL: https://issues.apache.org/jira/browse/SPARK-32243
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 3.0.0
>            Reporter: angerszhu
>            Assignee: angerszhu
>            Priority: Major
>             Fix For: 3.1.0
>
>
> When we create a UDAF function use class extended UserDefinedAggregetFunction,  when we call the function,  in support hive mode, in HiveSessionCatalog, it will call super.makeFunctionExpression, 
> but it will catch error  such as the function need 2 parameter and we only give 1, throw exception only show 
> {code:java}
> No handler for UDF/UDAF/UDTF xxxxxxxx
> {code}
> This is confused , we should show error thrown by super method too.



--
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