hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zheng Shao (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HIVE-45) Hive: UDFTemplate and support of complex object
Date Thu, 11 Dec 2008 07:19:44 GMT

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

Zheng Shao commented on HIVE-45:

Some considerations for this design:

* UDFTemplate authors will have to understand the ObjectInspector stuff. Another way would
be to pass java Objects as parameters and function return values, and let the authors use
reflection. However that means we cannot pass Objects without a concrete Java class to these
template functions.
* I put the restriction that "If the ObjectInspectors of the parameters do not change, then
result.oi cannot change as well." because we expect the type of the result of a template function
call to remain the same if the parameter types are not changed.

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

View raw message