[ https://issues.apache.org/jira/browse/PIG-3354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
pat chan updated PIG-3354: -------------------------- Attachment: PIG-3354.patch > 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 > Priority: Minor > 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