In the pig9 branch in svn, running this gives me an error: a = load 'thing' as (x:int); b = group a by x; c = foreach b generate group as x, COUNT(a) as count; d = limit (order c by count DESC) 2000;
describe d; 2011-12-13 13:56:32,167 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1200: null On trunk, however, it doesn't give an error. Any idea what patch might be bridging that? Bug report here: https://issues.apache.org/jira/browse/PIG-2428
