-Re: limit (order by relation) 100 broken in pig9?
Gianmarco De Francisci Mo... 2011-12-14, 13:57
I saw a related error while I was working on PIG-1926
It should not pop-up if you use limit with a constant, but you might want
On Tue, Dec 13, 2011 at 23:00, Jonathan Coveney <[EMAIL PROTECTED]> wrote:
> 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