----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/68523/#review208033 -----------------------------------------------------------
Thanks for the patch. LGTM, just one question regarding the tests. Thanks, Peter ql/src/test/queries/clientnegative/create_unknown_permanent_udf.q Lines 1 (patched) <https://reviews.apache.org/r/68523/#comment291769> What is the difference between the create_function_nonexistent_class.q and this new test? Do we need both? - Peter Vary On aug. 28, 2018, 1:50 du, denys kuzmenko wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/68523/ > ----------------------------------------------------------- > > (Updated aug. 28, 2018, 1:50 du) > > > Review request for hive, Marta Kuczora, Peter Vary, and Adam Szita. > > > Bugs: HIVE-20466 > https://issues.apache.org/jira/browse/HIVE-20466 > > > Repository: hive-git > > > Description > ------- > > When a create function statement is submitted, it may fail with the following > error: > > Error while processing statement: FAILED: Execution Error, return code 1 from > org.apache.hadoop.hive.ql.exec.FunctionTask > > This is not a user-friendly error message. > > > Diffs > ----- > > ql/src/java/org/apache/hadoop/hive/ql/exec/FunctionRegistry.java 44591842bb > ql/src/java/org/apache/hadoop/hive/ql/exec/Registry.java 6f8a8f5504 > ql/src/test/queries/clientnegative/create_unknown_permanent_udf.q > PRE-CREATION > ql/src/test/results/clientnegative/create_function_nonexistent_class.q.out > 77467f66e3 > ql/src/test/results/clientnegative/create_unknown_permanent_udf.q.out > PRE-CREATION > > > Diff: https://reviews.apache.org/r/68523/diff/2/ > > > Testing > ------- > > added negative qtest to cover this scenario > > > Thanks, > > denys kuzmenko > >