You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "StanZhai (JIRA)" <ji...@apache.org> on 2017/07/05 14:06:00 UTC
[jira] [Created] (SPARK-21318) The exception message thrown by
`lookupFunction` is ambiguous.
StanZhai created SPARK-21318:
--------------------------------
Summary: The exception message thrown by `lookupFunction` is ambiguous.
Key: SPARK-21318
URL: https://issues.apache.org/jira/browse/SPARK-21318
Project: Spark
Issue Type: Bug
Components: SQL
Affects Versions: 2.1.1, 2.1.0, 2.0.2, 2.0.1, 2.0.0
Reporter: StanZhai
Priority: Minor
The function actually exists, but the exception message is:
{code}
This function is neither a registered temporary function nor a permanent function registered in the database 'default'.
{code}
My UDF has already been registered in the current database. But it's failed to init during lookupFunction.
The exception message should be:
{code}
No handler for Hive UDF 'site.stanzhai.UDAFXXX': org.apache.hadoop.hive.ql.exec.UDFArgumentLengthException: Two arguments is expected
{code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org