[ https://issues.apache.org/jira/browse/PIG-3384?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Cheolsoo Park updated PIG-3384: ------------------------------- Assignee: Danny D'Amours +1. I will commit it soon. > Missing negation in UDF doc sample code > --------------------------------------- > > Key: PIG-3384 > URL: https://issues.apache.org/jira/browse/PIG-3384 > Project: Pig > Issue Type: Bug > Components: documentation > Affects Versions: 0.11.1 > Reporter: Danny D'Amours > Assignee: Danny D'Amours > Priority: Trivial > Labels: documentation > Fix For: 0.11.2 > > Attachments: PIG-3384.patch > > > Code sample for UDF has source code for the TOKENIZE function but it is > missing a negation compared to the real souce code in the trunk. > if ((o instanceof String)) { > throw new IOException("Expected input to be chararray, but got " + > o.getClass().getName()); > } > should be > if (!(o instanceof String)) { > throw new IOException("Expected input to be chararray, but got " + > o.getClass().getName()); > } -- 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