Allow UDFs that can generate multiple output tuples from a single input tuple
-----------------------------------------------------------------------------
Key: PIG-1867
URL: https://issues.apache.org/jira/browse/PIG-1867
Project: Pig
Issue Type: New Feature
Reporter: Mathias Herberts
Hive offers this kind of thing using UDTF (User Defined Table generating
Functions), it would be very useful for Pig to offer something similar, thus
allowing more complex processing.
One example of such use could be an n-gram generating function.
I guess EvalFunc could be adapted/morped so exec returns an Iterator<T> instead
of T.
In a first approach, the iterator scanning could be restricted to cases when
the UDF is used alone in a generate clause.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira