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

[jira] [Commented] (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: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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org