hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-5306) Use new GenericUDF instead of basic UDF for UDFAbs class
Date Sun, 22 Sep 2013 03:27:53 GMT

    [ https://issues.apache.org/jira/browse/HIVE-5306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13773957#comment-13773957
] 

Hudson commented on HIVE-5306:
------------------------------

FAILURE: Integrated in Hive-trunk-hadoop1-ptest #178 (See [https://builds.apache.org/job/Hive-trunk-hadoop1-ptest/178/])
HIVE-5306 : Use new GenericUDF instead of basic UDF for UDFAbs class (Mohammad Kamrul Islam
via Ashutosh Chauhan) (hashutosh: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1525294)
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/FunctionRegistry.java
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/udf/UDFAbs.java
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFAbs.java
* /hive/trunk/ql/src/test/org/apache/hadoop/hive/ql/udf/TestGenericUDFAbs.java

                
> Use new GenericUDF instead of basic UDF for UDFAbs class
> --------------------------------------------------------
>
>                 Key: HIVE-5306
>                 URL: https://issues.apache.org/jira/browse/HIVE-5306
>             Project: Hive
>          Issue Type: Improvement
>          Components: UDF
>            Reporter: Mohammad Kamrul Islam
>            Assignee: Mohammad Kamrul Islam
>             Fix For: 0.13.0
>
>         Attachments: HIVE-5306.1.patch, HIVE-5306.2.patch, HIVE-5306.3.patch, HIVE-5306.4.patch,
HIVE-5306.5.patch, HIVE-5306.6.patch
>
>
> GenericUDF class is the latest  and recommended base class for any UDFs.
> This JIRA is to change the current UDFAbs class 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<int>, array<array<int>> and so on (arbitrary levels of nesting).
4. It
>  * can do short-circuit evaluations using DeferedObject."  

--
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

Mime
View raw message