[
https://issues.apache.org/jira/browse/PIG-3354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Dai resolved PIG-3354.
-----------------------------
Resolution: Fixed
Fix Version/s: 0.12
Assignee: pat chan
Hadoop Flags: Reviewed
Patch committed to 0.12. Thanks Pat!
> UDF example does not handle nulls
> ---------------------------------
>
> Key: PIG-3354
> URL: https://issues.apache.org/jira/browse/PIG-3354
> Project: Pig
> Issue Type: Bug
> Components: documentation
> Reporter: pat chan
> Assignee: pat chan
> Priority: Minor
> Fix For: 0.12
>
> Attachments: PIG-3354.patch
>
>
> This bug is causing people to contribute built-in UDFs that don't properly
> handle null.
> In the file: src/docs/src/documentation/content/xdocs/udf.xml
> 9 if (input == null || input.size() == 0)
> should be
> 9 if (input == null || input.size() == 0 || input.get(0) == null)
--
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