I see you're using pig 0.9? The latest code (pig 0.13) is better about preserving order when building the execution plan. See PIG-3902 (https://issues.apache.org/jira/browse/PIG-3902) You might try it without an exec on pig 0.13 if you can. Are you able to share (at least a skeleton of) your script?
On Jul 20, 2014, at 6:43 AM, Rodrigo Ferreira <[EMAIL PROTECTED]> wrote: