Thanks for the feedback. It would be helpful to have a short note on the web
page, as it was a stumblling block I hit trying to understand what was going
on.  I guess the stack trace with null values is another one of the bug?

Still great to have some debugging tool though. :)

Thanks Neil

-----Original Message-----
From: Dmitriy Ryaboy [mailto:[email protected]] 
Sent: 03 February 2010 15:03
To: [email protected]
Subject: Re: Illustrate with cross product error

Sadly, illustrate doesn't work with a few operators, DISTINCT and CROSS
among them.

On Wed, Feb 3, 2010 at 1:30 AM, Neil Blue <[email protected]> wrote:
> Hello,
>
> I have been trying to use ILLUSTRATE, but have found that it doesn't 
> seem to work when using a CROSS product:
>
> data1.txt:
> 1
> 2
> 3
> 4
>
> data2.txt:
> a
> b
> c
> D
>
> Script:
> A = LOAD 'data1.txt' AS (a:int);
> B = LOAD 'data2.txt' AS (b:chararray);
>
> C = CROSS A,B;
>
> DUMP C;
> ILLUSTRATE C;
>
> This outputs C fine:
> (1,a)
> (1,b)
> (1,c)
> (1,d)
> (2,a)
> (2,b)
> (2,c)
> (2,d)
> (3,a)
> (3,b)
> (3,c)
> (3,d)
> (4,a)
> (4,b)
> (4,c)
> (4,d)
>
> But ILLUSTRATE throws an error:
> 2010-02-03 09:10:01,878 [main] ERROR org.apache.pig.tools.grunt.Grunt 
> - ERROR 2999: Unexpected internal error. Unrecognized logical operator.
>
> I just wanted to check if I am doing something wrong here?
>
> Thanks
> Neil
>
> *********************************************
>
> The information contained in this message is likely to be 
> confidential.  It is intended only for the person named above.  Any 
> dissemination, distribution, copying, disclosure or use of this 
> message or its contents unless authorised by BioWisdom Ltd is strictly 
> prohibited. Any views or opinions expressed within this e-mail are 
> those of the author and do not necessarily represent those of 
> BioWisdom Ltd. If you have received this message in error, please 
> immediately notify us and delete it.  Thank you.  Registered Office: 
> BioWisdom Ltd, Harston Mill, Harston, Cambridge, CB22 7GG.  Registered 
> in England: (GB) 3861669.  VAT registered: (GB) 750899881.  Tel: +44 
> (0)1223 874800, Fax: +44 (0) 1223 874801, Internet:www.biowisdom.com
>
> *********************************************
>
>

********************************************* 

The information contained in this message is likely to be confidential.  It is 
intended only for the person named above.  Any dissemination, distribution, 
copying, disclosure or use of this message or its contents unless authorised by 
BioWisdom Ltd is strictly prohibited. Any views or opinions expressed within 
this e-mail are those of the author and do not necessarily represent those of 
BioWisdom Ltd. If you have received this message in error, please immediately 
notify us and delete it.  Thank you.  Registered Office: BioWisdom Ltd, Harston 
Mill, Harston, Cambridge, CB22 7GG.  Registered in England: (GB) 3861669.  VAT 
registered: (GB) 750899881.  Tel: +44 (0)1223 874800, Fax: +44 (0) 1223 874801, 
Internet:www.biowisdom.com 

*********************************************

Reply via email to