pat chan created PIG-3354: ----------------------------- Summary: 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
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