[
https://issues.apache.org/jira/browse/HIVE-45?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12655553#action_12655553
]
Zheng Shao commented on HIVE-45:
--------------------------------
I plan to add a new package: ql.udf.template for this.
CASE and IF will be implemented as a subclass of this UDFTemplate.
This will also allow functions with dynamic number of parameters.
> Hive: UDFTemplate 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
>
> 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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.