Hey hc,

It will be great if you can create a jira and upload a pig script
reproducing the issue. We should investigate if we can produce better
error messages so that users can debug their script faster in such
cases.

Ashutosh

On Thu, Sep 23, 2010 at 12:13, hc busy <hc.b...@gmail.com> wrote:
> Ok, after reading and rereading 2k worth of PigLatin, we've finally found
> the foul alias. The error is generated by the following pig latin:
>
> g = group table by (a,b);
> h = foreach g generate group, table.(*c*,d,f,*c*) as grp;
> -- note c is repeated.
>
> And if you work on this alias later on, it generates the following error.
>
> 2010-09-21 23:43:46,288 [main] ERROR org.apache.pig.tools.grunt.Grunt -
> ERROR 2160: Error during fixing projections. Projection map of new
> predecessor is null.
>
> On Tue, Sep 21, 2010 at 2:52 PM, hc busy <hc.b...@gmail.com> wrote:
>
>> Hi guys, I wanted to check if anybody has fixed this error and recall how
>> to fix it?
>>
>> 2010-09-21 14:43:46,288 [main] ERROR org.apache.pig.tools.grunt.Grunt -
>> ERROR 2160: Error during fixing projections. Projection map of new
>> predecessor is null.
>>
>>
>> I'm running a big pig file being developed by half a dozen people and I got
>> the short straw by being the last one checking in. Is there an obvious fix
>> to this problem or do I need to dig up a copy of pig source code?
>>
>> Thnx!!!
>>
>>
>>
>

Reply via email to