You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Jonathan Coveney (JIRA)" <ji...@apache.org> on 2013/02/18 16:53:14 UTC

[jira] [Resolved] (PIG-3074) Should check that any UDF returns a Schema of only one Field

     [ https://issues.apache.org/jira/browse/PIG-3074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Coveney resolved PIG-3074.
-----------------------------------

    Resolution: Duplicate

Closing this out as it is a duplicate of PIG-3082
                
> 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