You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Liao, Xiaoge (JIRA)" <ji...@apache.org> on 2017/02/27 12:29:45 UTC
[jira] [Updated] (HIVE-16048) Hive UDF doesn't get the right
evaluate method
[ https://issues.apache.org/jira/browse/HIVE-16048?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Liao, Xiaoge updated HIVE-16048:
--------------------------------
Attachment: HIVE-16048.1.patch
> 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: UDF
> Affects Versions: 1.1.1
> Reporter: Liao, Xiaoge
> Attachments: HIVE-16048.1.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)