[ 
https://issues.apache.org/jira/browse/SPARK-32243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17208788#comment-17208788
 ] 

Apache Spark commented on SPARK-32243:
--------------------------------------

User 'cloud-fan' has created a pull request for this issue:
https://github.com/apache/spark/pull/29955

> 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to