I know the script is a bit pointless, but I was just testing and modifying the script bit by bit.
If I remove the limit in any case I get the same exception but with LOSort.
The problem, I think, is that the rule assumes there is only 1 sink in the nested block and that this sink is a LOGenerate.
|Field||Original Value||New Value|
|Fix Version/s||0.10 [ 12316246 ]|
|Attachment||PIG-2119-1.patch [ 12501122 ]|
|Assignee||Daniel Dai [ daijy ]|
|Attachment||PIG-2119-1.patch [ 12501123 ]|
|Affects Version/s||0.9.0 [ 12315191 ]|
|Affects Version/s||0.9.1 [ 12317343 ]|
|Status||Open [ 1 ]||Resolved [ 5 ]|
|Hadoop Flags||Reviewed [ 10343 ]|
|Fix Version/s||0.11 [ 12318878 ]|
|Resolution||Fixed [ 1 ]|
|Fix Version/s||0.9.2 [ 12318248 ]|
|Status||Resolved [ 5 ]||Closed [ 6 ]|