[ https://issues.apache.org/jira/browse/PIG-3021?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13499616#comment-13499616 ]
Cheolsoo Park commented on PIG-3021: ------------------------------------ Hi Chang, I won't close this jira if you disagree. :-) We can definitely add an example to the SPLIT doc, and you're welcome to submit a patch for that if you like to. I will be happy to review/commit it. {quote} I can't post to the users mailing list. Could you please forward my comments to that list? {quote} You can subscribe u...@pig.apache.org. You're welcome to open a discussion on this matter on the mailing list. http://pig.apache.org/mailing_lists.html Thanks! > Split results missing records when there is null values in the column > comparison > -------------------------------------------------------------------------------- > > Key: PIG-3021 > URL: https://issues.apache.org/jira/browse/PIG-3021 > Project: Pig > Issue Type: Bug > Affects Versions: 0.10.0 > Reporter: Chang Luo > > Suppose a(x, y) > split a into b if x==y, c otherwise; > One will expect the union of b and c will be a. However, if x or y is null, > the record won't appear in either b or c. > To workaround this, I have to change to the following: > split a into b if x is not null and y is not null and x==y, c otherwise; -- 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