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

Raghotham Murthy commented on HIVE-655:
---------------------------------------

One option for the syntax would be:

{code}
  SELECT udtf(a,b,c) FROM r
{code}

'utdf' is the name of the user defined table function which needs to be 
registered.

Note that there shouldnt be any other expression in the SELECT clause (similar 
to TRANSFORM). One way to implement this would be to define a new 
TableFunctionOperator which takes one of UDTF or GenericUDTF. 

> Add support for user defined table generating functions
> -------------------------------------------------------
>
>                 Key: HIVE-655
>                 URL: https://issues.apache.org/jira/browse/HIVE-655
>             Project: Hadoop Hive
>          Issue Type: New Feature
>          Components: Query Processor
>            Reporter: Raghotham Murthy
>            Assignee: Raghotham Murthy
>
> Provide a way for users to add a table generating function, i.e., functions 
> that generate multiple rows from a single input row. Currently, the only way 
> to do it is via the TRANSFORM clause which requires streaming the data.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to