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

Edward Capriolo commented on HIVE-5731:
---------------------------------------

{quote}
GenericUDF class is the latest and recommended base class for any UDFs.
This JIRA is to change the current UDFDate* classes extended from GenericUDF.
{quote}

Had anyone done performance evaluation on the speed of a UDF vs a generic UDF. 
I understand the motivation in the vectorized case, but are users of the 
non-vectorized case getting less performance. If I knew the performance was 
negligible I would not care, but I have not seen any numbers and I am wondering 
if we have considered the implications of this.

> 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
>
>
> 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
(v6.1#6144)

Reply via email to