hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <>
Subject [jira] [Commented] (HIVE-5731) Use new GenericUDF instead of basic UDF for UDFDate* classes
Date Sun, 17 Nov 2013 03:59:22 GMT


Hive QA commented on HIVE-5731:

{color:green}Overall{color}: +1 all checks pass

Here are the results of testing the latest attachment:

{color:green}SUCCESS:{color} +1 4621 tests passed

Test results:
Console output:

Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase

This message is automatically generated.


> Use new GenericUDF instead of basic UDF for UDFDate* classes 
> -------------------------------------------------------------
>                 Key: HIVE-5731
>                 URL:
>             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, HIVE-5731.6.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<int>, array<array<int>> and so on (arbitrary levels of nesting).
4. It
>     can do short-circuit evaluations using DeferedObject."

This message was sent by Atlassian JIRA

View raw message