Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Pig >> mail # user >> group schema getting wrong fields?


+
Lauren Blau 2012-08-24, 18:28
Copy link to this message
-
Re: group schema getting wrong fields?
Can you post more of your script?

2012/8/24 Lauren Blau <[EMAIL PROTECTED]>

> I'm running pig 0.9.2 and seeing this:
>
> grunt> describe cxels;
> cxels: {messageId: chararray,celstart: int,celend: int,notcellabel:
> chararray,notcelstart: int,notcelend: int}
> grunt> gcxels = group cxels by (messageId,celstart,celend);
> grunt> describe gcxels;
> gcxels: {group: (messageId: chararray,notcelstart: int,notcelend:
> int),cxels: {(messageId: chararray,celstart: int,celend: int,notcellabel:
> chararray,notcelstart: int,notcelend: int)}}
>
>
> why does the schema for gcxels::group show notcelstart and notcelend when I
> gave it celstart,celend as the grouping fields?
> Is the fieldname not being matched correctly?
>
> Thanks,
> lauren
>
+
Lauren Blau 2012-08-24, 20:11
+
Lauren Blau 2012-08-24, 20:11
+
Lauren Blau 2012-08-24, 20:16
+
Jonathan Coveney 2012-08-27, 21:14