[ 
https://issues.apache.org/jira/browse/HIVE-16048?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Liao, Xiaoge updated HIVE-16048:
--------------------------------
    Component/s:     (was: UDF)
                 Query Planning

> Hive UDF doesn't get the right evaluate method
> ----------------------------------------------
>
>                 Key: HIVE-16048
>                 URL: https://issues.apache.org/jira/browse/HIVE-16048
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Planning
>    Affects Versions: 1.1.1
>            Reporter: Liao, Xiaoge
>         Attachments: HIVE-16048.3.patch
>
>
> 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 {
>         return a + ":" + b;
>     }
>     public String evaluate(String a, String... b) throws ParseException {
>         return b[0] + ":" + a;
>     }
> }
> the udf may get the wrong result



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to