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

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


Copy link to this message
-
group schema getting wrong fields?
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