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] [Assigned] (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 reassigned SPARK-32243:
-----------------------------------

    Assignee: angerszhu

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