by b.word;
> Try to use, f = join d by d.size,e by e.countword;
>
> I think there is a mistake in, (b.word)
>
>
>
> -Original Message-
> From: manish dunani [mailto:manishd...@gmail.com]
> Sent: 12 August 2013 18:17
> To: user@pig.apache.org
> Subject:
words+counts of words getting failed.
grunt> describe d;
d: {group: chararray,size: long}
grunt> describe e;
e: {countword: long,group: chararray}
On Mon, Aug 12, 2013 at 2:41 PM, Serega Sheypak wrote:
> I suggest you to output "DESCRIBE" for "d" and "e"
f = join d by b.word,e by b.word;
1. d doesn't have b
2. e doesn't have b
I don't understand how you try to reference them in join. looks liek you
have to join by 'group'
I suggest you to use better namings, a, b, c, d are not evident names.
Looks like you have problem with schema
2013/8/12 mani
grunt> describe d;
d: {group: chararray,size: long}
grunt> describe e;
e: {countword: long,group: chararray}
On Mon, Aug 12, 2013 at 2:41 PM, Serega Sheypak wrote:
> I suggest you to output "DESCRIBE" for "d" and "e" relation.
>
>
> 2013/8/12 manish dunani
>
> > Hello Good afternoon ,
> >
> >
I suggest you to output "DESCRIBE" for "d" and "e" relation.
2013/8/12 manish dunani
> Hello Good afternoon ,
>
>
> My input file contains full of text words delimited by space.
>
> I want to do using Pig..I already did it with map and reduce.
> *I have to do:*
> #get the size of words #counts
Hello Good afternoon ,
My input file contains full of text words delimited by space.
I want to do using Pig..I already did it with map and reduce.
*I have to do:*
#get the size of words #counts for words of particular size.
Here are commands::
a = load '/user/manish/word/word.txt' as line;
b =