Jonathan Coveney created PIG-3074:
-------------------------------------
Summary: Should check that any UDF returns a Schema of only one
Field
Key: PIG-3074
URL: https://issues.apache.org/jira/browse/PIG-3074
Project: Pig
Issue Type: Bug
Affects Versions: 0.11, 0.12
Reporter: Jonathan Coveney
Assignee: Jonathan Coveney
Fix For: 0.12
Currently, it is "valid" for a UDF's outputSchema to return a Schema of more
than one field (ie an int,int,long). This causes weird error (different
treatment in the case of one value instead of multiple).
I will add a check where you can only have one field (multiple fields should be
contained in a Tuple).
This will potentially not be backwards compatible, but it is a bug that people
do that.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira