[ https://issues.apache.org/jira/browse/HIVE-619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119790#comment-13119790 ]
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-04 00:19:33.044097) Review request for John Sichi. Changes ------- Updated output of failing test cases, removed redundant test case. 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/java/org/apache/hadoop/hive/ql/exec/FunctionTask.java 5c6ea07 ql/src/test/queries/clientnegative/udf_function_does_not_implement_udf.q PRE-CREATION ql/src/test/results/clientnegative/create_unknown_genericudf.q.out 423073f ql/src/test/results/clientnegative/create_unknown_udf_udaf.q.out 438f272 ql/src/test/results/clientnegative/udf_function_does_not_implement_udf.q.out PRE-CREATION 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 > Attachments: HIVE-619.2.patch.txt, HIVE-619.3.patch.txt > > > 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