[
https://issues.apache.org/jira/browse/PIG-2151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13150256#comment-13150256
]
Jonathan Coveney commented on PIG-2151:
---------------------------------------
Something to think about: you can have schema's will null or no name, but in
this, doing @OutputSchema("double") will fail. I guess that is a failing of
Utils.getSchemaFromString.
> Add annotation to specify output schema in Java UDFs
> ----------------------------------------------------
>
> Key: PIG-2151
> URL: https://issues.apache.org/jira/browse/PIG-2151
> Project: Pig
> Issue Type: Improvement
> Reporter: Dmitriy V. Ryaboy
> Assignee: Dmitriy V. Ryaboy
> Fix For: 0.11
>
> Attachments: PIG-2151.patch
>
>
> In Python udfs, the output schema of an eval func is specified via an
> @OutputSchema annotation.
> We should do the same for Java udfs instead of making people write the
> cumbersome outputSchema functions.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira