Docs incorreclty say SAMPLE can be used in a nested FOREACH and do not mention projections in nested foreach ------------------------------------------------------------------------------------------------------------
Key: PIG-1625 URL: https://issues.apache.org/jira/browse/PIG-1625 Project: Pig Issue Type: Bug Components: documentation Affects Versions: 0.7.0 Reporter: Alan Gates Assignee: Corinne Chandel Fix For: 0.8.0 Currently the docs in http://hadoop.apache.org/pig/docs/r0.7.0/piglatin_ref2.html#FOREACH say that SAMPLE can be used as an operator in nested foreach. It cannot. Also, they do not mention the ability to do projections inside nested foreach, such as the following: {code} A = load '/Users/gates/test/data/studenttab10'; B = group A all; C = foreach B { C1 = A.$0; C2 = distinct C1; generate C2; } dump C; {code} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.