Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3DBF7E133 for ; Fri, 22 Feb 2013 09:56:18 +0000 (UTC) Received: (qmail 33529 invoked by uid 500); 22 Feb 2013 09:56:17 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 33174 invoked by uid 500); 22 Feb 2013 09:56:16 -0000 Mailing-List: contact dev-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 dev@hive.apache.org Received: (qmail 33120 invoked by uid 500); 22 Feb 2013 09:56:14 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 33086 invoked by uid 99); 22 Feb 2013 09:56:14 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Feb 2013 09:56:14 +0000 Date: Fri, 22 Feb 2013 09:56:14 +0000 (UTC) From: "Hudson (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-4025) Add reflect UDF for member method invocation of column MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-4025?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13584127#comment-13584127 ] Hudson commented on HIVE-4025: ------------------------------ Integrated in hive-trunk-hadoop1 #97 (See [https://builds.apache.org/job/hive-trunk-hadoop1/97/]) HIVE-4025 Add reflect UDF for member method invocation of column (Navis via namit) (Revision 1448900) Result = ABORTED namit : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1448900 Files : * /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/FunctionRegistry.java * /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/AbstractGenericUDFReflect.java * /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFReflect.java * /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFReflect2.java * /hive/trunk/ql/src/test/queries/clientpositive/udf_reflect2.q * /hive/trunk/ql/src/test/results/clientpositive/show_functions.q.out * /hive/trunk/ql/src/test/results/clientpositive/udf_reflect2.q.out > Add reflect UDF for member method invocation of column > ------------------------------------------------------ > > Key: HIVE-4025 > URL: https://issues.apache.org/jira/browse/HIVE-4025 > Project: Hive > Issue Type: Improvement > Components: UDF > Reporter: Navis > Assignee: Navis > Priority: Trivial > Fix For: 0.11.0 > > Attachments: HIVE-4025.D8601.1.patch, HIVE-4025.D8601.2.patch > > > There are many useful non-static methods on type of primitive types. But current reflect UDF cannot invoke those. For example, > select reflect2(value, "replace", "val", "VALUE") from src; > which replaces 'val' part of value column with 'VALUE' -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira