Sergey created PIG-3423:
---------------------------

             Summary: Script is broken when new line is between GENERATE and 
FLATTEN
                 Key: PIG-3423
                 URL: https://issues.apache.org/jira/browse/PIG-3423
             Project: Pig
          Issue Type: Bug
          Components: parser
    Affects Versions: 0.11
         Environment: CDH 4.3
            Reporter: Sergey
            Priority: Critical


This script wont' work
{code}
in = LOAD 'in';

out = FOREACH in GENERATE
FLATTEN({$0, $1}); -- because of new line

dump out;
{code}

This script will work:
{code}
in = LOAD 'in';

out = FOREACH in GENERATE FLATTEN({$0, $1}); -- put GENERATE and flatten on one 
line

dump out;
{code}


--
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

Reply via email to