Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 3ED8A200C4B for ; Mon, 6 Mar 2017 02:41:37 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 3D4ED160B7D; Mon, 6 Mar 2017 01:41:37 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 825F6160B6B for ; Mon, 6 Mar 2017 02:41:36 +0100 (CET) Received: (qmail 79639 invoked by uid 500); 6 Mar 2017 01:41:35 -0000 Mailing-List: contact issues-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list issues@hive.apache.org Received: (qmail 79630 invoked by uid 99); 6 Mar 2017 01:41:35 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Mar 2017 01:41:35 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 29F9F1A0013 for ; Mon, 6 Mar 2017 01:41:35 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -2.347 X-Spam-Level: X-Spam-Status: No, score=-2.347 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-2.999, SPF_NEUTRAL=0.652] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id D_CUFNO3vLFM for ; Mon, 6 Mar 2017 01:41:34 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id DCC265F1B3 for ; Mon, 6 Mar 2017 01:41:33 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 1A15AE002A for ; Mon, 6 Mar 2017 01:41:33 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id C3F8224162 for ; Mon, 6 Mar 2017 01:41:32 +0000 (UTC) Date: Mon, 6 Mar 2017 01:41:32 +0000 (UTC) From: "Liao, Xiaoge (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-16048) Hive UDF doesn't get the right evaluate method MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 06 Mar 2017 01:41:37 -0000 [ https://issues.apache.org/jira/browse/HIVE-16048?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Liao, Xiaoge updated HIVE-16048: -------------------------------- Status: Patch Available (was: Open) > 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)