Grokbase Groups Pig user June 2009
FAQ
Thank you, Alan
George

2009/6/6 Alan Gates <gates@yahoo-inc.com>
A = load ...
B = load ...
C = cogroup A all, B all;
D = foreach C generate flatten($1), flatten($2);

Alan.


On Jun 4, 2009, at 9:42 PM, George Pang wrote:

Hi users,
With pig latin, If I want to do cross product, I think I can do 1) a
CROSS
b 2) a JOIN b , but may I also do this in a "COGROUP"'s style?

Thank you!

George

Search Discussions

Discussion Posts

Previous

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 3 of 3 | next ›
Discussion Overview
groupuser @
categoriespig, hadoop
postedJun 5, '09 at 4:43a
activeJun 6, '09 at 8:59p
posts3
users2
websitepig.apache.org

2 users in discussion

George Pang: 2 posts Alan Gates: 1 post

People

Translate

site design / logo © 2021 Grokbase