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

[jira] [Updated] (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 ]

angerszhu updated SPARK-32243:
------------------------------
    Description: 
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.

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