Details
-
Bug
-
Status: Patch Available
-
Major
-
Resolution: Unresolved
-
1.1.1
-
None
-
None
Description
Hive UDF doesn't get the right evaluate method if there is variable parameter in the method of evaluate.
For example:
public class TestUdf extends UDF {
public String evaluate(String a, String b) throws ParseException
public String evaluate(String a, String... b) throws ParseException
{ return b[0] + ":" + a; }}
the udf may get the wrong result