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 1267A9A2D for ; Fri, 23 Dec 2011 00:23:53 +0000 (UTC) Received: (qmail 40943 invoked by uid 500); 23 Dec 2011 00:23:52 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 40910 invoked by uid 500); 23 Dec 2011 00:23:52 -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 40902 invoked by uid 500); 23 Dec 2011 00:23:52 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 40899 invoked by uid 99); 23 Dec 2011 00:23:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Dec 2011 00:23:52 +0000 X-ASF-Spam-Status: No, hits=-2002.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Dec 2011 00:23:51 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id F3130124A97 for ; Fri, 23 Dec 2011 00:23:30 +0000 (UTC) Date: Fri, 23 Dec 2011 00:23:30 +0000 (UTC) From: "Zhenxiao Luo (Updated) (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: <1929297197.41111.1324599810997.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <27439173.107191294059405746.JavaMail.jira@thor> Subject: [jira] [Updated] (HIVE-1877) Add java_method() as a synonym for the reflect() UDF 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-1877?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Zhenxiao Luo updated HIVE-1877: ------------------------------- Attachment: HIVE-1877.3.patch.txt Code Review Request for HIVE-1877 > Add java_method() as a synonym for the reflect() UDF > ---------------------------------------------------- > > Key: HIVE-1877 > URL: https://issues.apache.org/jira/browse/HIVE-1877 > Project: Hive > Issue Type: Improvement > Components: UDF > Affects Versions: 0.7.0 > Reporter: Carl Steinbach > Assignee: Zhenxiao Luo > Attachments: HIVE-1877.1.patch.txt, HIVE-1877.2.patch.txt, HIVE-1877.3.patch.txt > > > HIVE-471 added the reflect() UDF which allows people to invoke static Java methods from within HQL > queries. In my opinion the name is confusing since it describes how the UDF works instead of what > it does. I propose changing the name of (or providing a synonym for) the UDF to something like > 'invoke_method' or 'java_method', or something similar. I'm open to suggestions. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira