[ https://issues.apache.org/jira/browse/HIVE-619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119383#comment-13119383 ]
jirapos...@reviews.apache.org commented on HIVE-619: ---------------------------------------------------- ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/2112/ ----------------------------------------------------------- (Updated 2011-10-03 16:22:41.376769) Review request for John Sichi. Changes ------- Added message when class exists but is not UDF. Added tests. Summary ------- Added clearer error message when the underlying function doesn not exist. This addresses bug HIVE-619. https://issues.apache.org/jira/browse/HIVE-619 Diffs (updated) ----- ql/src/test/queries/clientnegative/udf_function_does_not_implement_udf.q PRE-CREATION ql/src/test/results/clientnegative/udf_function_does_not_exist.q.out PRE-CREATION ql/src/test/results/clientnegative/udf_function_does_not_implement_udf.q.out PRE-CREATION ql/src/test/queries/clientnegative/udf_function_does_not_exist.q PRE-CREATION ql/src/java/org/apache/hadoop/hive/ql/exec/FunctionTask.java 5c6ea07 Diff: https://reviews.apache.org/r/2112/diff Testing ------- Thanks, Marek > Change the error messages to something like "Class xxxx not found" or "Class > xxxx does not implement UDF, GenericUDF, or UDAF" > ------------------------------------------------------------------------------------------------------------------------------- > > Key: HIVE-619 > URL: https://issues.apache.org/jira/browse/HIVE-619 > Project: Hive > Issue Type: Bug > Components: Query Processor > Reporter: Namit Jain > Assignee: Min Zhou > > While creating a (temporary) function, if the underlying class does not exist > - the current error message is very cryptic. > It should be something like "Class xxxx not found" or "Class xxxx does not > implement UDF, GenericUDF, or UDAF" -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira