[
https://issues.apache.org/jira/browse/HIVE-45?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zheng Shao updated HIVE-45:
---------------------------
Description:
GenericUDF are more powerful than UDF 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.
was:
We should allow users to define UDF template (in the sense of c++ template that
can take args of different types), and let UDF take complex objects.
This should be pretty simple given that we have the ObjectInspector which can
navigate through the internal structure of the object.
Summary: Hive: GenericUDF and support of complex object (was: Hive:
UDFTemplate and support of complex object)
> Hive: GenericUDF and support of complex object
> ----------------------------------------------
>
> Key: HIVE-45
> URL: https://issues.apache.org/jira/browse/HIVE-45
> Project: Hadoop Hive
> Issue Type: Bug
> Components: Query Processor
> Reporter: Zheng Shao
> Assignee: Zheng Shao
>
> GenericUDF are more powerful than UDF 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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.