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 7655210690 for ; Mon, 11 Nov 2013 21:03:18 +0000 (UTC) Received: (qmail 57133 invoked by uid 500); 11 Nov 2013 21:03:17 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 57081 invoked by uid 500); 11 Nov 2013 21:03:17 -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 57072 invoked by uid 500); 11 Nov 2013 21:03:17 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 57069 invoked by uid 99); 11 Nov 2013 21:03:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Nov 2013 21:03:17 +0000 Date: Mon, 11 Nov 2013 21:03:17 +0000 (UTC) From: "Ashutosh Chauhan (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-5731) Use new GenericUDF instead of basic UDF for UDFDate* classes 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-5731?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13819384#comment-13819384 ] Ashutosh Chauhan commented on HIVE-5731: ---------------------------------------- [~kamrul] Can you also refresh RB with latest patch? > Use new GenericUDF instead of basic UDF for UDFDate* classes > ------------------------------------------------------------- > > Key: HIVE-5731 > URL: https://issues.apache.org/jira/browse/HIVE-5731 > Project: Hive > Issue Type: Improvement > Reporter: Mohammad Kamrul Islam > Assignee: Mohammad Kamrul Islam > Attachments: HIVE-5731.1.patch, HIVE-5731.2.patch, HIVE-5731.3.patch, HIVE-5731.4.patch, HIVE-5731.5.patch > > > GenericUDF class is the latest and recommended base class for any UDFs. > This JIRA is to change the current UDFDate* classes extended from GenericUDF. > The general benefit of GenericUDF is described in comments as > "* The GenericUDF are superior to normal UDFs in the following ways: 1. It can > accept arguments of complex types, and return complex types. 2. It can accept > variable length of arguments. 3. It can accept an infinite number of function > signature - for example, it's easy to write a GenericUDF that accepts > array, array> and so on (arbitrary levels of nesting). 4. It > can do short-circuit evaluations using DeferedObject." -- This message was sent by Atlassian JIRA (v6.1#6144)