Re: size of words+counts of words getting failed.

2013-08-12 Thread manish dunani
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:

RE: size of words+counts of words getting failed.

2013-08-12 Thread Bhavesh K Shah
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"

Re: size of words+counts of words getting failed.

2013-08-12 Thread Serega Sheypak
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

Re: size of words+counts of words getting failed.

2013-08-12 Thread manish dunani
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 , > > > >

Re: size of words+counts of words getting failed.

2013-08-12 Thread Serega Sheypak
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

size of words+counts of words getting failed.

2013-08-12 Thread 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 for words of particular size. Here are commands:: a = load '/user/manish/word/word.txt' as line; b =